arm makerules: updated to use BIOS runtime lib instead of toolchain's
authorIvan Pang <i-pang@ti.com>
Fri, 28 Oct 2016 21:29:13 +0000 (16:29 -0500)
committerIvan Pang <i-pang@ti.com>
Fri, 28 Oct 2016 21:29:13 +0000 (16:29 -0500)
Signed-off-by: Ivan Pang <i-pang@ti.com>
makerules/rules_GCC_a8.mk
makerules/rules_GCC_arm9.mk
makerules/rules_a15.mk

index 8407c5d6ab3874a9d0562c3ebaec0db29f0a1583..ffb9d35dd3434c34aa0d5dda636cc170bb3a4c4e 100644 (file)
@@ -120,7 +120,8 @@ _LNKFLAGS = $(LNKFLAGS_INTERNAL) $(LNKFLAGS_INTERNAL_COMMON) $(LNKFLAGS_INTERNAL
 \r
 # Path of the RTS library - normally doesn't change for a given tool-chain\r
 RTSLIB_PATH = \r
-LIB_PATHS += $(EXT_LIB_a8host) $(CODEGEN_PATH_A8_GCC)/arm-none-eabi/lib/fpu/libc.a $(CODEGEN_PATH_A8_GCC)/arm-none-eabi/lib/fpu/libm.a  $(CODEGEN_PATH_A8_GCC)/arm-none-eabi/lib/fpu/librdimon.a $(CODEGEN_PATH_A8_GCC)/arm-none-eabi/lib/fpu/libg.a\r
+BIOS_RUNTIME_PATH = $(bios_PATH)/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\r
+LIB_PATHS += $(BIOS_RUNTIME_PATH)/libc.a $(BIOS_RUNTIME_PATH)/libm.a $(BIOS_RUNTIME_PATH)/librdimon.a $(BIOS_RUNTIME_PATH)/libg.a\r
 \r
 LNK_LIBS = $(addprefix -l,$(LIB_PATHS))\r
 # Linker - to create executable file \r
index de5045cff31653bef1d97c76725a9adf171a2e5f..fa9eeb8c4b9b4bf144080ebf344ca9785595ce6e 100644 (file)
@@ -115,7 +115,8 @@ _LNKFLAGS = $(LNKFLAGS_INTERNAL) $(LNKFLAGS_INTERNAL_COMMON) $(LNKFLAGS_INTERNAL
 \r
 # Path of the RTS library - normally doesn't change for a given tool-chain\r
 RTSLIB_PATH = \r
-LIB_PATHS += $(EXT_LIB_arm9) $(CODEGEN_PATH_A9_GCC)/arm-none-eabi/lib/fpu/libc.a $(CODEGEN_PATH_A9_GCC)/arm-none-eabi/lib/fpu/libm.a  $(CODEGEN_PATH_A9_GCC)/arm-none-eabi/lib/fpu/librdimon.a $(CODEGEN_PATH_A9_GCC)/arm-none-eabi/lib/fpu/libg.a\r
+BIOS_RUNTIME_PATH = $(bios_PATH)/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\r
+LIB_PATHS += $(BIOS_RUNTIME_PATH)/libc.a $(BIOS_RUNTIME_PATH)/libm.a $(BIOS_RUNTIME_PATH)/librdimon.a $(BIOS_RUNTIME_PATH)/libg.a\r
 \r
 LNK_LIBS = $(addprefix -l,$(LIB_PATHS))\r
 # Linker - to create executable file \r
index 0630585af61b7395e4d14e021ee764df0031fa24..288473fd0b6d039c0ac3c840799c7c74ae321b52 100644 (file)
@@ -120,7 +120,8 @@ _LNKFLAGS = $(LNKFLAGS_INTERNAL) $(LNKFLAGS_INTERNAL_COMMON) $(LNKFLAGS_INTERNAL
 \r
 # Path of the RTS library - normally doesn't change for a given tool-chain\r
 RTSLIB_PATH =\r
-LIB_PATHS += $(EXT_LIB_a15host) $(CODEGEN_PATH_A15)/arm-none-eabi/lib/fpu/libc.a $(CODEGEN_PATH_A15)/arm-none-eabi/lib/fpu/libm.a  $(CODEGEN_PATH_A15)/arm-none-eabi/lib/fpu/librdimon.a $(CODEGEN_PATH_A15)/arm-none-eabi/lib/fpu/libg.a\r
+BIOS_RUNTIME_PATH = $(bios_PATH)/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu
+LIB_PATHS += $(BIOS_RUNTIME_PATH)/libc.a $(BIOS_RUNTIME_PATH)/libm.a $(BIOS_RUNTIME_PATH)/librdimon.a $(BIOS_RUNTIME_PATH)/libg.a
 \r
 \r
 LNK_LIBS = $(addprefix -l,$(LIB_PATHS))\r