forked from luck/tmp_suning_uos_patched
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: Michal Simek <monstr@monstr.eu>
This commit is contained in:
parent
9bc974b927
commit
00708d421a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user