aboutsummaryrefslogtreecommitdiff
path: root/plat/rockchip
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2017-01-04 19:06:14 +0100
committerPatrick Georgi <pgeorgi@google.com>2017-01-04 19:06:14 +0100
commit742df4f614f25d25b97b502dea45eb23a92c04ac (patch)
tree826336997ea57177ff7cf8613ae7c7234c25e6cf /plat/rockchip
parentcef7b3ce8b26cd94e7e71ddeefc039451525b780 (diff)
downloadarm-trusted-firmware-742df4f614f25d25b97b502dea45eb23a92c04ac.tar.gz
rockchip: Build m0 firmware without standard libraries
Depending on the compiler used, it might try to link in libc even though it's not required. Stop it from doing that. Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'plat/rockchip')
-rw-r--r--plat/rockchip/rk3399/drivers/m0/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/rockchip/rk3399/drivers/m0/Makefile b/plat/rockchip/rk3399/drivers/m0/Makefile
index b8e3cd41..c9454fe6 100644
--- a/plat/rockchip/rk3399/drivers/m0/Makefile
+++ b/plat/rockchip/rk3399/drivers/m0/Makefile
@@ -59,7 +59,7 @@ ASFLAGS := -g -Wa,--gdwarf-2
ASFLAGS += -mcpu=$(ARCH) -mthumb -Wall -ffunction-sections -O3
CFLAGS += -mcpu=$(ARCH) -mthumb -Wall -ffunction-sections -O3
-LDFLAGS := -mcpu=$(ARCH) -mthumb -g -nostartfiles -O3
+LDFLAGS := -mcpu=$(ARCH) -mthumb -g -nostartfiles -nostdlib -O3
LDFLAGS += -Wl,--gc-sections -Wl,--build-id=none
# Cross tool