diff options
author | Christian Cunningham <cc@localhost> | 2022-03-24 10:03:56 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-03-24 10:03:56 -0700 |
commit | bb6ddd5a82ab4f2afa253b6048a71504c64274bb (patch) | |
tree | 3b967cb2c851ea5fa7847ad14232ec201966da76 | |
parent | 22e4f3def524d787316b40f46e66ec0455d1ed52 (diff) |
Remove debug symbols from release build
-rw-r--r-- | Common.mk | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -80,6 +80,8 @@ endif default: clean build/kernel7.img build/kernel7.img: CFLAGS += -DRPI_BUILD +build/kernel7.img: CFLAGS := $(filter-out -g,$(CFLAGS)) +build/kernel7.img: AFLAGS := $(filter-out -g,$(AFLAGS)) build/kernel7.img: build/kernel.elf @mkdir -p $(@D) ${OBJCOPY} $< -O binary $@ |