提交 00708d42 编写于 作者: M Michal Simek

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: NMichal Simek <monstr@monstr.eu>
上级 9bc974b9
...@@ -8,7 +8,7 @@ obj-y += linked_dtb.o ...@@ -8,7 +8,7 @@ obj-y += linked_dtb.o
targets := linux.bin linux.bin.gz simpleImage.% 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 # Ensure system.dtb exists
$(obj)/linked_dtb.o: $(obj)/system.dtb $(obj)/linked_dtb.o: $(obj)/system.dtb
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册