# HG changeset patch # User Mychaela Falconia # Date 1532028199 0 # Node ID a9a7d531e6733718325ebae4e91d41c2a0e75e0b # Parent 19f5e71339493cb88563be97319204b24d7117d0 components: initial support for gcc diff -r 19f5e7133949 -r a9a7d531e673 components/abb --- a/components/abb Thu Jul 19 03:09:24 2018 +0000 +++ b/components/abb Thu Jul 19 19:23:19 2018 +0000 @@ -8,6 +8,7 @@ fi CFLAGS="-mn -mt -mw -me -pw2" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS="-DIDS=$IDS -DTOOL_CHOICE=0 -D_TMS470" # Includes diff -r 19f5e7133949 -r a9a7d531e673 components/aci --- a/components/aci Thu Jul 19 03:09:24 2018 +0000 +++ b/components/aci Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building the TCS3.2 version of aci.lib CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS= make_version aci diff -r 19f5e7133949 -r a9a7d531e673 components/aci_dti_mng --- a/components/aci_dti_mng Thu Jul 19 03:09:24 2018 +0000 +++ b/components/aci_dti_mng Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building the TCS3.2 version of aci_dti_mng.lib CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/aciext --- a/components/aciext Thu Jul 19 03:09:24 2018 +0000 +++ b/components/aciext Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building the TCS3.2 version of aciext.lib CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS= make_version aci_ext diff -r 19f5e7133949 -r a9a7d531e673 components/alr --- a/components/alr Thu Jul 19 03:09:24 2018 +0000 +++ b/components/alr Thu Jul 19 19:23:19 2018 +0000 @@ -2,6 +2,7 @@ # with our copy of TCS211 from Sotovik CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS= make_version alr diff -r 19f5e7133949 -r a9a7d531e673 components/atiext --- a/components/atiext Thu Jul 19 03:09:24 2018 +0000 +++ b/components/atiext Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building the TCS3.2 version of atiext.lib CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS= make_version ati_ext diff -r 19f5e7133949 -r a9a7d531e673 components/audio --- a/components/audio Thu Jul 19 03:09:24 2018 +0000 +++ b/components/audio Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building audio.lib CFLAGS="-mn -mt -mw -me -pw2" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" # Includes diff -r 19f5e7133949 -r a9a7d531e673 components/audio_bgd --- a/components/audio_bgd Thu Jul 19 03:09:24 2018 +0000 +++ b/components/audio_bgd Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building audio_bgd.lib CFLAGS="-mn -mt -mw -me -pw2" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" # Includes diff -r 19f5e7133949 -r a9a7d531e673 components/buzzer --- a/components/buzzer Thu Jul 19 03:09:24 2018 +0000 +++ b/components/buzzer Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building buzzer.lib CFLAGS="-mn -mt -o -x -mw -me -pw2" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" # Includes diff -r 19f5e7133949 -r a9a7d531e673 components/cc --- a/components/cc Thu Jul 19 03:09:24 2018 +0000 +++ b/components/cc Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building cc.lib from the TCS3.2 source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS= make_version cc diff -r 19f5e7133949 -r a9a7d531e673 components/ccd_na7_db --- a/components/ccd_na7_db Thu Jul 19 03:09:24 2018 +0000 +++ b/components/ccd_na7_db Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building ccd_na7_db.lib using TCS3.2 CCD source CFLAGS="-mw -x -pw2 -me -mt -o -g -mn" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/ccddata --- a/components/ccddata Thu Jul 19 03:09:24 2018 +0000 +++ b/components/ccddata Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building ccddata.lib using TCS3.2 CCD source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS="-D_TMS470 -DNEW_FRAME -DNEW_ENTITY -DCCDDATA_STATIC_DATA" # Includes diff -r 19f5e7133949 -r a9a7d531e673 components/cci --- a/components/cci Thu Jul 19 03:09:24 2018 +0000 +++ b/components/cci Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building cci.lib from the TCS3.2 source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/cci_ir --- a/components/cci_ir Thu Jul 19 03:09:24 2018 +0000 +++ b/components/cci_ir Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building cci_ir.lib from the TCS3.2 source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/cl --- a/components/cl Thu Jul 19 03:09:24 2018 +0000 +++ b/components/cl Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building cl.lib from the TCS3.2 source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/comlib --- a/components/comlib Thu Jul 19 03:09:24 2018 +0000 +++ b/components/comlib Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building comlib.lib CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/config_gprs_fl --- a/components/config_gprs_fl Thu Jul 19 03:09:24 2018 +0000 +++ b/components/config_gprs_fl Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building config_gprs_fl.lib for the TCS2/TCS3 hybrid configuration CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/config_gprs_ir --- a/components/config_gprs_ir Thu Jul 19 03:09:24 2018 +0000 +++ b/components/config_gprs_ir Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building config_gprs_ir.lib for the TCS2/TCS3 hybrid configuration CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/config_gsm_fl --- a/components/config_gsm_fl Thu Jul 19 03:09:24 2018 +0000 +++ b/components/config_gsm_fl Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building config_gsm_fl.lib CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/config_gsm_ir --- a/components/config_gsm_ir Thu Jul 19 03:09:24 2018 +0000 +++ b/components/config_gsm_ir Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building config_gsm_ir.lib CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/cst --- a/components/cst Thu Jul 19 03:09:24 2018 +0000 +++ b/components/cst Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building cst.lib CFLAGS="-mt -o -x -mw -me -pw2" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/dar --- a/components/dar Thu Jul 19 03:09:24 2018 +0000 +++ b/components/dar Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building dar.lib CFLAGS="-mn -mt -me -pw2" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" # Includes diff -r 19f5e7133949 -r a9a7d531e673 components/dar_gbl_var --- a/components/dar_gbl_var Thu Jul 19 03:09:24 2018 +0000 +++ b/components/dar_gbl_var Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building dar_gbl_var.lib CFLAGS="-mn -mt -me -pw2" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" # Includes diff -r 19f5e7133949 -r a9a7d531e673 components/dl --- a/components/dl Thu Jul 19 03:09:24 2018 +0000 +++ b/components/dl Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building dl.lib from the TCS3.2 source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS= make_version dl diff -r 19f5e7133949 -r a9a7d531e673 components/drivers_flash --- a/components/drivers_flash Thu Jul 19 03:09:24 2018 +0000 +++ b/components/drivers_flash Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building drivers_flash.lib CFLAGS="-me -pw2 -mn -x -mt -o2 -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" # Includes @@ -67,5 +68,6 @@ # niq32 CFLAGS="-me -pw2 -x -o -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork" c_file $SRCDIR/inth/niq32.c diff -r 19f5e7133949 -r a9a7d531e673 components/dti --- a/components/dti Thu Jul 19 03:09:24 2018 +0000 +++ b/components/dti Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building dti.lib from the TCS3.2 source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS= make_version dti diff -r 19f5e7133949 -r a9a7d531e673 components/etm --- a/components/etm Thu Jul 19 03:09:24 2018 +0000 +++ b/components/etm Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building etm.lib CFLAGS="-mn -mt -mw -me -pw2" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" # Includes diff -r 19f5e7133949 -r a9a7d531e673 components/fad --- a/components/fad Thu Jul 19 03:09:24 2018 +0000 +++ b/components/fad Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building fad.lib from the TCS3.2 source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS= make_version fad diff -r 19f5e7133949 -r a9a7d531e673 components/fchg --- a/components/fchg Thu Jul 19 03:09:24 2018 +0000 +++ b/components/fchg Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building FCHG SWE - an original FreeCalypso addition CFLAGS="-mn -mt -o -x -mw -me -pw2" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" # Includes diff -r 19f5e7133949 -r a9a7d531e673 components/ffs --- a/components/ffs Thu Jul 19 03:09:24 2018 +0000 +++ b/components/ffs Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building ffs.lib CFLAGS="-mn -mt -o -x -mw -me -pw2" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/ffs_drv --- a/components/ffs_drv Thu Jul 19 03:09:24 2018 +0000 +++ b/components/ffs_drv Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building ffs_drv.lib CFLAGS="-mn -mt -o -x -mw -me -pw2" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/ffs_pcm --- a/components/ffs_pcm Thu Jul 19 03:09:24 2018 +0000 +++ b/components/ffs_pcm Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building ffs_pcm.lib CFLAGS="-mn -mt -o -x -mw -me -pw2" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/frame_na7_db_fl --- a/components/frame_na7_db_fl Thu Jul 19 03:09:24 2018 +0000 +++ b/components/frame_na7_db_fl Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building frame_na7_db_fl.lib using the GPF source bits we got with TCS3.2 CFLAGS="-mw -x -pw2 -o3 -me -mt -g -mn" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/frame_na7_db_ir --- a/components/frame_na7_db_ir Thu Jul 19 03:09:24 2018 +0000 +++ b/components/frame_na7_db_ir Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building frame_na7_db_ir.lib using the GPF source bits we got with TCS3.2 CFLAGS="-mw -x -pw2 -o3 -me -mt -g -mn" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/gdi --- a/components/gdi Thu Jul 19 03:09:24 2018 +0000 +++ b/components/gdi Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building gdi.lib CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/gmm --- a/components/gmm Thu Jul 19 03:09:24 2018 +0000 +++ b/components/gmm Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building gmm.lib from the TCS3.2 source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/grlc --- a/components/grlc Thu Jul 19 03:09:24 2018 +0000 +++ b/components/grlc Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building grlc.lib from the TCS3.2 source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/grlc_ir --- a/components/grlc_ir Thu Jul 19 03:09:24 2018 +0000 +++ b/components/grlc_ir Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building grlc_ir.lib from the TCS3.2 source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/grr --- a/components/grr Thu Jul 19 03:09:24 2018 +0000 +++ b/components/grr Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building grr.lib from the TCS3.2 source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/kpd --- a/components/kpd Thu Jul 19 03:09:24 2018 +0000 +++ b/components/kpd Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building kpd.lib CFLAGS="-mn -mt -me -pw2" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" # Includes diff -r 19f5e7133949 -r a9a7d531e673 components/l1_custom_ext --- a/components/l1_custom_ext Thu Jul 19 03:09:24 2018 +0000 +++ b/components/l1_custom_ext Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building l1_custom_ext.lib CFLAGS="-g -me -pw2 -mt -o -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS="-DRV_TRACE_LEVEL_WARNING=2 -DTOOL_CHOICE=0 -D_TMS470" # Includes diff -r 19f5e7133949 -r a9a7d531e673 components/l1_custom_int --- a/components/l1_custom_int Thu Jul 19 03:09:24 2018 +0000 +++ b/components/l1_custom_int Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building l1_custom_int.lib CFLAGS="-g -me -pw2 -mt -o -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork" CPPFLAGS="-DRV_TRACE_LEVEL_WARNING=2 -DTOOL_CHOICE=0 -D_TMS470" # Includes diff -r 19f5e7133949 -r a9a7d531e673 components/l1_ext --- a/components/l1_ext Thu Jul 19 03:09:24 2018 +0000 +++ b/components/l1_ext Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building l1_ext.lib CFLAGS="-g -me -pw2 -mt -o -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS="-DRV_TRACE_LEVEL_WARNING=2 -DTOOL_CHOICE=0 -D_TMS470" # Includes diff -r 19f5e7133949 -r a9a7d531e673 components/l1_int --- a/components/l1_int Thu Jul 19 03:09:24 2018 +0000 +++ b/components/l1_int Thu Jul 19 19:23:19 2018 +0000 @@ -34,6 +34,7 @@ # Compilation CFLAGS="-g -me -pw2 -mt -o -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork" CPPFLAGS="-DRV_TRACE_LEVEL_WARNING=2 -DTOOL_CHOICE=0 -D_TMS470" # Includes diff -r 19f5e7133949 -r a9a7d531e673 components/l1_pei --- a/components/l1_pei Thu Jul 19 03:09:24 2018 +0000 +++ b/components/l1_pei Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building l1_pei.lib CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS= make_version l1 l1_pei diff -r 19f5e7133949 -r a9a7d531e673 components/l2r --- a/components/l2r Thu Jul 19 03:09:24 2018 +0000 +++ b/components/l2r Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building l2r.lib from the TCS3.2 source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS= make_version l2r diff -r 19f5e7133949 -r a9a7d531e673 components/llc --- a/components/llc Thu Jul 19 03:09:24 2018 +0000 +++ b/components/llc Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building llc.lib from the TCS3.2 source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/lls --- a/components/lls Thu Jul 19 03:09:24 2018 +0000 +++ b/components/lls Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building lls.lib CFLAGS="-mn -mt -mw -me -pw2" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" # Includes diff -r 19f5e7133949 -r a9a7d531e673 components/main --- a/components/main Thu Jul 19 03:09:24 2018 +0000 +++ b/components/main Thu Jul 19 19:23:19 2018 +0000 @@ -3,6 +3,7 @@ # C modules CFLAGS="-mn -mt -o -x -mw -me -pw2" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" if [ "$TARGET" = c139 -o "$TARGET" = c11x ] @@ -57,6 +58,11 @@ c_file $SRCDIR/main.c c_file $SRCDIR/sys_dummy.c +# mem_load.c and int.s are for the TMS470 version only + +if [ "$COMPILER" = tms470 ] +then + # Different CFLAGS for mem_load.c CFLAGS="-o -mw -me -pw2" @@ -79,3 +85,5 @@ ASMFLAGS="$ASMFLAGS -dWCP_PROF=0" asm_file $SRCDIR/int.s + +fi diff -r 19f5e7133949 -r a9a7d531e673 components/misc_na7_db_fl --- a/components/misc_na7_db_fl Thu Jul 19 03:09:24 2018 +0000 +++ b/components/misc_na7_db_fl Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building misc_na7_db_fl.lib using the GPF source bits we got with TCS211 CFLAGS="-mw -x -pw2 -o -me -mt -g -mn" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/misc_na7_db_ir --- a/components/misc_na7_db_ir Thu Jul 19 03:09:24 2018 +0000 +++ b/components/misc_na7_db_ir Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building misc_na7_db_ir.lib using the GPF source bits we got with TCS211 CFLAGS="-mw -x -pw2 -o -me -mt -g -mn" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/mm --- a/components/mm Thu Jul 19 03:09:24 2018 +0000 +++ b/components/mm Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building mm.lib from the TCS3.2 source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS= make_version mm diff -r 19f5e7133949 -r a9a7d531e673 components/nucleus_flash --- a/components/nucleus_flash Thu Jul 19 03:09:24 2018 +0000 +++ b/components/nucleus_flash Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # New Selenite component: compiling Nucleus from source (XIP) CFLAGS="-mn -me -mt -o -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS= SRCDIR=$SRC/nucleus diff -r 19f5e7133949 -r a9a7d531e673 components/nucleus_intram --- a/components/nucleus_intram Thu Jul 19 03:09:24 2018 +0000 +++ b/components/nucleus_intram Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # New Selenite component: compiling Nucleus from source (internal RAM) CFLAGS="-mn -me -mt -o -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork" CPPFLAGS= SRCDIR=$SRC/nucleus diff -r 19f5e7133949 -r a9a7d531e673 components/osx_na7_db --- a/components/osx_na7_db Thu Jul 19 03:09:24 2018 +0000 +++ b/components/osx_na7_db Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building osx_na7_db.lib from our reconstructed osx.c source CFLAGS="-mw -x -pw2 -o -me -mt -g -mn" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/power --- a/components/power Thu Jul 19 03:09:24 2018 +0000 +++ b/components/power Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building power.lib CFLAGS="-mn -mt -o -x -mw -me -pw2" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470 -DMMI=$MMI" if [ "$MMI" = 0 ] diff -r 19f5e7133949 -r a9a7d531e673 components/ppp --- a/components/ppp Thu Jul 19 03:09:24 2018 +0000 +++ b/components/ppp Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building ppp.lib from the TCS3.2 source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/ppp_ir --- a/components/ppp_ir Thu Jul 19 03:09:24 2018 +0000 +++ b/components/ppp_ir Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building ppp_ir.lib from the TCS3.2 source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/ra --- a/components/ra Thu Jul 19 03:09:24 2018 +0000 +++ b/components/ra Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building ra.lib from the TCS3.2 source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS= make_version ra diff -r 19f5e7133949 -r a9a7d531e673 components/riviera_core_flash --- a/components/riviera_core_flash Thu Jul 19 03:09:24 2018 +0000 +++ b/components/riviera_core_flash Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building riviera_core_flash.lib CFLAGS="-mn -mt -me -pw2" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" # Includes diff -r 19f5e7133949 -r a9a7d531e673 components/riviera_cust_flash --- a/components/riviera_cust_flash Thu Jul 19 03:09:24 2018 +0000 +++ b/components/riviera_cust_flash Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building riviera_cust_flash.lib CFLAGS="-mn -mt -me -pw2" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" if [ "$MMI" = 0 ] diff -r 19f5e7133949 -r a9a7d531e673 components/rlp --- a/components/rlp Thu Jul 19 03:09:24 2018 +0000 +++ b/components/rlp Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building rlp.lib from the TCS3.2 source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS= make_version rlp diff -r 19f5e7133949 -r a9a7d531e673 components/rr --- a/components/rr Thu Jul 19 03:09:24 2018 +0000 +++ b/components/rr Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building rr.lib from the TCS3.2 source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS= make_version rr diff -r 19f5e7133949 -r a9a7d531e673 components/rtc_drv --- a/components/rtc_drv Thu Jul 19 03:09:24 2018 +0000 +++ b/components/rtc_drv Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building rtc_drv.lib CFLAGS="-mn -mt -me -pw2" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" # Includes diff -r 19f5e7133949 -r a9a7d531e673 components/sim_b_lib --- a/components/sim_b_lib Thu Jul 19 03:09:24 2018 +0000 +++ b/components/sim_b_lib Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building sim_b_lib.lib from the TCS3.2 source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS= make_version sim diff -r 19f5e7133949 -r a9a7d531e673 components/sim_drv --- a/components/sim_drv Thu Jul 19 03:09:24 2018 +0000 +++ b/components/sim_drv Thu Jul 19 19:23:19 2018 +0000 @@ -5,6 +5,7 @@ # CFLAGS and CPPFLAGS for sim.c CFLAGS="-mn -mt -o -x -mw -me -pw2" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" # Includes @@ -49,6 +50,7 @@ # CFLAGS and CPPFLAGS for sim32.c CFLAGS="-o -x -mw -me -pw2" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork" CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" # Includes diff -r 19f5e7133949 -r a9a7d531e673 components/sm --- a/components/sm Thu Jul 19 03:09:24 2018 +0000 +++ b/components/sm Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building sm.lib from the TCS3.2 source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/sms --- a/components/sms Thu Jul 19 03:09:24 2018 +0000 +++ b/components/sms Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building sms.lib from the TCS3.2 source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS= make_version sms diff -r 19f5e7133949 -r a9a7d531e673 components/sndcp --- a/components/sndcp Thu Jul 19 03:09:24 2018 +0000 +++ b/components/sndcp Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building sndcp.lib from the TCS3.2 source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/spi_drv --- a/components/spi_drv Thu Jul 19 03:09:24 2018 +0000 +++ b/components/spi_drv Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building spi_drv.lib CFLAGS="-mn -mt -mw -me -pw2" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" # Includes diff -r 19f5e7133949 -r a9a7d531e673 components/ss --- a/components/ss Thu Jul 19 03:09:24 2018 +0000 +++ b/components/ss Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building ss.lib from the TCS3.2 source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS= make_version ss diff -r 19f5e7133949 -r a9a7d531e673 components/t30 --- a/components/t30 Thu Jul 19 03:09:24 2018 +0000 +++ b/components/t30 Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building t30.lib from the TCS3.2 source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS= make_version t30 diff -r 19f5e7133949 -r a9a7d531e673 components/tif_na7_db_fl --- a/components/tif_na7_db_fl Thu Jul 19 03:09:24 2018 +0000 +++ b/components/tif_na7_db_fl Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building tif_na7_db_fl.lib using the GPF source bits we got with TCS211 CFLAGS="-mw -x -pw2 -o -me -mt -g -mn" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/tif_na7_db_ir --- a/components/tif_na7_db_ir Thu Jul 19 03:09:24 2018 +0000 +++ b/components/tif_na7_db_ir Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building tif_na7_db_ir.lib using the GPF source bits we got with TCS211 CFLAGS="-mw -x -pw2 -o -me -mt -g -mn" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/tpudrv --- a/components/tpudrv Thu Jul 19 03:09:24 2018 +0000 +++ b/components/tpudrv Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building tpudrv.lib CFLAGS="-g -me -pw2 -mt -o2 -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork" CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" # Includes diff -r 19f5e7133949 -r a9a7d531e673 components/uart_b_lib --- a/components/uart_b_lib Thu Jul 19 03:09:24 2018 +0000 +++ b/components/uart_b_lib Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building uart_b_lib.lib from the TCS3.2 source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" # Defines diff -r 19f5e7133949 -r a9a7d531e673 components/uart_drv --- a/components/uart_drv Thu Jul 19 03:09:24 2018 +0000 +++ b/components/uart_drv Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building uart_drv.lib CFLAGS="-mn -mt -o -x -mw -me -pw2" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" if [ "$SERIAL_DYNAMIC_SWITCH" = 1 ] diff -r 19f5e7133949 -r a9a7d531e673 components/upm --- a/components/upm Thu Jul 19 03:09:24 2018 +0000 +++ b/components/upm Thu Jul 19 19:23:19 2018 +0000 @@ -1,6 +1,7 @@ # Building upm.lib from the TCS3.2 source CFLAGS="-me -mt -o -pw2 -x -mw" +CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" # Defines