update the BIOS makefile to use the defined paths
authorMing Wei <mwei@ti.com>
Fri, 29 Jul 2016 19:23:43 +0000 (14:23 -0500)
committerMing Wei <mwei@ti.com>
Fri, 29 Jul 2016 19:23:43 +0000 (14:23 -0500)
Signed-off-by: Ming Wei <mwei@ti.com>
file_demo_bios/am572x/src/sysbios/makefile
file_demo_bios/k2g/src/sysbios/makefile

index 07ba108e8772a747c239a8accc9090cdb0f656de..39c84f5ca189768a229bbd59a5706f0e359b37b3 100644 (file)
@@ -1,29 +1,29 @@
 
-XOPTS = -I"C:/ti/xdctools_3_32_00_06_core/packages/" -Dxdc_target_types__=C:/ti/bios_6_45_01_29/packages/ti/targets/elf/std.h -Dxdc_target_name__=C66
+XOPTS = -I"${XDC_INSTALL_PATH}/packages/" -Dxdc_target_types__=${BIOS_INSTALL_PATH}/packages/ti/targets/elf/std.h -Dxdc_target_name__=C66
 
-vpath % C:/ti/bios_6_45_01_29/packages/ti/sysbios/
-vpath %.c C:/ti/xdctools_3_32_00_06_core/packages/
+vpath % ${BIOS_INSTALL_PATH}/packages/ti/sysbios/
+vpath %.c ${XDC_INSTALL_PATH}/packages/
 
 CCOPTS    = -mv6600 --abi=eabi -q -mi10 -mo -pdr -pden -pds=238 -pds=880 -pds1110  --program_level_compile -o3 -g --optimize_with_debug  -Dti_sysbios_knl_Task_minimizeLatency__D=FALSE -Dti_sysbios_family_c64p_Exception_enableExternalMPC__D=FALSE -Dti_sysbios_family_c64p_Exception_enablePrint__D=TRUE -Dti_sysbios_knl_Clock_stopCheckNext__D=FALSE
 
-XDC_ROOT  = C:/ti/xdctools_3_32_00_06_core/packages/
+XDC_ROOT  = ${XDC_INSTALL_PATH}/packages/
 
-BIOS_ROOT = C:/ti/bios_6_45_01_29/packages/ti/sysbios/
+BIOS_ROOT = ${BIOS_INSTALL_PATH}/packages/ti/sysbios/
 
 BIOS_DEFS =  -Dti_sysbios_BIOS_swiEnabled__D=TRUE -Dti_sysbios_BIOS_taskEnabled__D=TRUE -Dti_sysbios_BIOS_clockEnabled__D=TRUE -Dti_sysbios_BIOS_runtimeCreatesEnabled__D=TRUE -Dti_sysbios_hal_Hwi_DISABLE_ALL_HOOKS -Dti_sysbios_knl_Swi_DISABLE_ALL_HOOKS -Dti_sysbios_BIOS_smpEnabled__D=FALSE -Dti_sysbios_Build_useHwiMacros -Dti_sysbios_knl_Swi_numPriorities__D=16 -Dti_sysbios_knl_Task_deleteTerminatedTasks__D=FALSE -Dti_sysbios_knl_Task_numPriorities__D=16 -Dti_sysbios_knl_Task_checkStackFlag__D=TRUE -Dti_sysbios_knl_Task_initStackFlag__D=TRUE -Dti_sysbios_knl_Task_DISABLE_ALL_HOOKS -Dti_sysbios_knl_Clock_TICK_SOURCE=ti_sysbios_knl_Clock_TickSource_TIMER -Dti_sysbios_knl_Clock_TICK_MODE=ti_sysbios_knl_Clock_TickMode_PERIODIC -Dti_sysbios_hal_Core_delegate_getId=ti_sysbios_hal_CoreNull_getId__E -Dti_sysbios_hal_Core_delegate_interruptCore=ti_sysbios_hal_CoreNull_interruptCore__E -Dti_sysbios_hal_Core_delegate_lock=ti_sysbios_hal_CoreNull_lock__E -Dti_sysbios_hal_Core_delegate_unlock=ti_sysbios_hal_CoreNull_unlock__E -Dti_sysbios_hal_Core_numCores__D=1 -Dti_sysbios_hal_CoreNull_numCores__D=1 -Dti_sysbios_utils_Load_taskEnabled__D=FALSE -Dti_sysbios_utils_Load_swiEnabled__D=FALSE -Dti_sysbios_utils_Load_hwiEnabled__D=FALSE -Dti_sysbios_family_c64p_Hwi_dispatcherSwiSupport__D=TRUE -Dti_sysbios_family_c64p_Hwi_dispatcherTaskSupport__D=TRUE -Dti_sysbios_family_c64p_Hwi_dispatcherAutoNestingSupport__D=TRUE -Dti_sysbios_family_c64p_Hwi_dispatcherIrpTrackingSupport__D=TRUE -Dti_sysbios_knl_Semaphore_supportsEvents__D=FALSE -Dti_sysbios_knl_Semaphore_supportsPriority__D=TRUE
 
-BIOS_INC  = -I"C:/ti/bios_6_45_01_29/packages/"
+BIOS_INC  = -I"${BIOS_INSTALL_PATH}/packages/"
 
-TARGET_INC = -I"C:/ti/bios_6_45_01_29/packages/"
+TARGET_INC = -I"${BIOS_INSTALL_PATH}/packages/"
 
 INCS = $(BIOS_INC) $(TARGET_INC)  
 
-CC = C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/cl6x -c $(CCOPTS) -I C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/include
-ASM = C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/cl6x -c $(CCOPTS) -I C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/include
-AR = C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/ar6x rq
+CC = ${C6X_GEN_INSTALL_PATH}/bin/cl6x -c $(CCOPTS) -I ${C6X_GEN_INSTALL_PATH}/include
+ASM = ${C6X_GEN_INSTALL_PATH}/bin/cl6x -c $(CCOPTS) -I ${C6X_GEN_INSTALL_PATH}/include
+AR = ${C6X_GEN_INSTALL_PATH}/bin/ar6x rq
 
-DEL = C:/ti/xdctools_3_32_00_06_core/packages/../bin/rm -f
-CP = C:/ti/xdctools_3_32_00_06_core/packages/../bin/cp -f
+DEL = ${XDC_INSTALL_PATH}/packages/../bin/rm -f
+CP = ${XDC_INSTALL_PATH}/packages/../bin/cp -f
 
 define RM
        $(if $(wildcard $1),$(DEL) $1,:)
index 3ca21b54389039102c8b58eeab08391b82a5eff9..7132c972419099b67d0f0c1c8d7c6b24dc66e2bb 100644 (file)
@@ -1,29 +1,29 @@
 
-XOPTS = -I"C:/ti/xdctools_3_32_00_06_core/packages/" -Dxdc_target_types__=C:/ti/bios_6_45_01_29/packages/ti/targets/elf/std.h -Dxdc_target_name__=C66
+XOPTS = -I"${XDC_INSTALL_PATH}/packages/" -Dxdc_target_types__=${BIOS_INSTALL_PATH}/packages/ti/targets/elf/std.h -Dxdc_target_name__=C66
 
-vpath % C:/ti/bios_6_45_01_29/packages/ti/sysbios/
-vpath %.c C:/ti/xdctools_3_32_00_06_core/packages/
+vpath % ${BIOS_INSTALL_PATH}/packages/ti/sysbios/
+vpath %.c ${XDC_INSTALL_PATH}/packages/
 
 CCOPTS    = -mv6600 --abi=eabi -q -mi10 -mo -pdr -pden -pds=238 -pds=880 -pds1110  --program_level_compile -o3 -g --optimize_with_debug  -Dti_sysbios_knl_Task_minimizeLatency__D=FALSE -Dti_sysbios_family_c64p_Exception_enableExternalMPC__D=FALSE -Dti_sysbios_family_c64p_Exception_enablePrint__D=TRUE -Dti_sysbios_knl_Clock_stopCheckNext__D=FALSE
 
-XDC_ROOT  = C:/ti/xdctools_3_32_00_06_core/packages/
+XDC_ROOT  = ${XDC_INSTALL_PATH}/packages/
 
-BIOS_ROOT = C:/ti/bios_6_45_01_29/packages/ti/sysbios/
+BIOS_ROOT = ${BIOS_INSTALL_PATH}/packages/ti/sysbios/
 
 BIOS_DEFS =  -Dti_sysbios_BIOS_swiEnabled__D=TRUE -Dti_sysbios_BIOS_taskEnabled__D=TRUE -Dti_sysbios_BIOS_clockEnabled__D=TRUE -Dti_sysbios_BIOS_runtimeCreatesEnabled__D=TRUE -Dti_sysbios_hal_Hwi_DISABLE_ALL_HOOKS -Dti_sysbios_knl_Swi_DISABLE_ALL_HOOKS -Dti_sysbios_BIOS_smpEnabled__D=FALSE -Dti_sysbios_Build_useHwiMacros -Dti_sysbios_knl_Swi_numPriorities__D=16 -Dti_sysbios_knl_Task_deleteTerminatedTasks__D=FALSE -Dti_sysbios_knl_Task_numPriorities__D=16 -Dti_sysbios_knl_Task_checkStackFlag__D=TRUE -Dti_sysbios_knl_Task_initStackFlag__D=TRUE -Dti_sysbios_knl_Task_DISABLE_ALL_HOOKS -Dti_sysbios_knl_Clock_TICK_SOURCE=ti_sysbios_knl_Clock_TickSource_TIMER -Dti_sysbios_knl_Clock_TICK_MODE=ti_sysbios_knl_Clock_TickMode_PERIODIC -Dti_sysbios_hal_Core_delegate_getId=ti_sysbios_hal_CoreNull_getId__E -Dti_sysbios_hal_Core_delegate_interruptCore=ti_sysbios_hal_CoreNull_interruptCore__E -Dti_sysbios_hal_Core_delegate_lock=ti_sysbios_hal_CoreNull_lock__E -Dti_sysbios_hal_Core_delegate_unlock=ti_sysbios_hal_CoreNull_unlock__E -Dti_sysbios_hal_Core_numCores__D=1 -Dti_sysbios_hal_CoreNull_numCores__D=1 -Dti_sysbios_utils_Load_taskEnabled__D=FALSE -Dti_sysbios_utils_Load_swiEnabled__D=FALSE -Dti_sysbios_utils_Load_hwiEnabled__D=FALSE -Dti_sysbios_family_c64p_Hwi_dispatcherSwiSupport__D=TRUE -Dti_sysbios_family_c64p_Hwi_dispatcherTaskSupport__D=TRUE -Dti_sysbios_family_c64p_Hwi_dispatcherAutoNestingSupport__D=TRUE -Dti_sysbios_family_c64p_Hwi_dispatcherIrpTrackingSupport__D=TRUE -Dti_sysbios_knl_Semaphore_supportsEvents__D=FALSE -Dti_sysbios_knl_Semaphore_supportsPriority__D=TRUE
 
-BIOS_INC  = -I"C:/ti/bios_6_45_01_29/packages/"
+BIOS_INC  = -I"${BIOS_INSTALL_PATH}/packages/"
 
-TARGET_INC = -I"C:/ti/bios_6_45_01_29/packages/"
+TARGET_INC = -I"${BIOS_INSTALL_PATH}/packages/"
 
 INCS = $(BIOS_INC) $(TARGET_INC)  
 
-CC = C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/cl6x -c $(CCOPTS) -I C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/include
-ASM = C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/cl6x -c $(CCOPTS) -I C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/include
-AR = C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/ar6x rq
+CC = ${C6X_GEN_INSTALL_PATH}/bin/cl6x -c $(CCOPTS) -I ${C6X_GEN_INSTALL_PATH}/include
+ASM = ${C6X_GEN_INSTALL_PATH}/bin/cl6x -c $(CCOPTS) -I ${C6X_GEN_INSTALL_PATH}/include
+AR = ${C6X_GEN_INSTALL_PATH}/bin/ar6x rq
 
-DEL = C:/ti/xdctools_3_32_00_06_core/packages/../bin/rm -f
-CP = C:/ti/xdctools_3_32_00_06_core/packages/../bin/cp -f
+DEL = ${XDC_INSTALL_PATH}/packages/../bin/rm -f
+CP = ${XDC_INSTALL_PATH}/packages/../bin/cp -f
 
 define RM
        $(if $(wildcard $1),$(DEL) $1,:)