Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 00708d42 authored by Michal Simek's avatar Michal Simek
Browse files

microblaze: Fix makefile to work with latest toolchain



When building with latest binutils, vmlinux includes
some sections which need to be stripped out when building
the binary image.

Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent 9bc974b9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ obj-y += linked_dtb.o

targets := linux.bin linux.bin.gz simpleImage.%

OBJCOPYFLAGS := -O binary
OBJCOPYFLAGS := -R .note -R .comment -R .note.gnu.build-id -O binary

# Ensure system.dtb exists
$(obj)/linked_dtb.o: $(obj)/system.dtb