From 83ca010548bb987dfb1a0a135a5c697b94e6d87a Mon Sep 17 00:00:00 2001 From: Yuguo Zou Date: Tue, 5 Sep 2017 19:11:38 +0800 Subject: [PATCH] Resolve including directory issue in GCC linker script for Ameba Should not make assumption of specific directory when include .h from linker script --- .../TARGET_RTL8195A/device/TOOLCHAIN_GCC_ARM/rtl8195a.ld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/TARGET_Realtek/TARGET_AMEBA/TARGET_RTL8195A/device/TOOLCHAIN_GCC_ARM/rtl8195a.ld b/targets/TARGET_Realtek/TARGET_AMEBA/TARGET_RTL8195A/device/TOOLCHAIN_GCC_ARM/rtl8195a.ld index de7fb556de..4c05ef9641 100644 --- a/targets/TARGET_Realtek/TARGET_AMEBA/TARGET_RTL8195A/device/TOOLCHAIN_GCC_ARM/rtl8195a.ld +++ b/targets/TARGET_Realtek/TARGET_AMEBA/TARGET_RTL8195A/device/TOOLCHAIN_GCC_ARM/rtl8195a.ld @@ -14,7 +14,7 @@ * limitations under the License. */ -INCLUDE "mbed-os/targets/TARGET_Realtek/TARGET_AMEBA/TARGET_RTL8195A/device/TOOLCHAIN_GCC_ARM/rtl8195a_rom.h" +INCLUDE "rtl8195a_rom.h" /* DATA_RAM: We cannot put Code(.text) in DATA_RAM, this region is reserved for Image1(boot loader). But we can put .data/.bss of Image2 in this region */ MEMORY