Commit 742df4f6 authored by Patrick Georgi's avatar Patrick Georgi
Browse files

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: default avatarPatrick Georgi <pgeorgi@google.com>
parent cef7b3ce
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment