forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/microblaze/Makefile
....@@ -65,9 +65,7 @@
6565 # Are we making a simpleImage.<boardname> target? If so, crack out the boardname
6666 DTB:=$(subst simpleImage.,,$(filter simpleImage.%, $(MAKECMDGOALS)))
6767
68
-ifneq ($(DTB),)
69
- core-y += $(boot)/dts/
70
-endif
68
+core-y += $(boot)/dts/
7169
7270 # defines filename extension depending memory management type
7371 ifeq ($(CONFIG_MMU),)
....@@ -81,11 +79,18 @@
8179 archclean:
8280 $(Q)$(MAKE) $(clean)=$(boot)
8381
84
-linux.bin linux.bin.gz linux.bin.ub: vmlinux
82
+archheaders:
83
+ $(Q)$(MAKE) $(build)=arch/microblaze/kernel/syscalls all
84
+
85
+PHONY += linux.bin linux.bin.gz linux.bin.ub
86
+linux.bin.ub linux.bin.gz: linux.bin
87
+linux.bin: vmlinux
88
+linux.bin linux.bin.gz linux.bin.ub:
8589 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
8690 @echo 'Kernel: $(boot)/$@ is ready' ' (#'`cat .version`')'
8791
88
-simpleImage.%: vmlinux
92
+PHONY += simpleImage.$(DTB)
93
+simpleImage.$(DTB): vmlinux
8994 $(Q)$(MAKE) $(build)=$(boot) $(addprefix $(boot)/$@., ub unstrip strip)
9095 @echo 'Kernel: $(boot)/$@ is ready' ' (#'`cat .version`')'
9196