forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/xtensa/Makefile
....@@ -80,28 +80,22 @@
8080 head-y := arch/xtensa/kernel/head.o
8181 core-y += arch/xtensa/kernel/ arch/xtensa/mm/
8282 core-y += $(buildvar) $(buildplf)
83
+core-y += arch/xtensa/boot/dts/
8384
8485 libs-y += arch/xtensa/lib/ $(LIBGCC)
8586 drivers-$(CONFIG_OPROFILE) += arch/xtensa/oprofile/
8687
87
-ifneq ($(CONFIG_BUILTIN_DTB),"")
88
-core-$(CONFIG_OF) += arch/xtensa/boot/dts/
89
-endif
90
-
9188 boot := arch/xtensa/boot
9289
93
-all Image zImage uImage: vmlinux
90
+all Image zImage uImage xipImage: vmlinux
9491 $(Q)$(MAKE) $(build)=$(boot) $@
9592
96
-%.dtb:
97
- $(Q)$(MAKE) $(build)=$(boot)/dts $(boot)/dts/$@
98
-
99
-dtbs: scripts
100
- $(Q)$(MAKE) $(build)=$(boot)/dts
93
+archheaders:
94
+ $(Q)$(MAKE) $(build)=arch/xtensa/kernel/syscalls all
10195
10296 define archhelp
10397 @echo '* Image - Kernel ELF image with reset vector'
10498 @echo '* zImage - Compressed kernel image (arch/xtensa/boot/images/zImage.*)'
10599 @echo '* uImage - U-Boot wrapped image'
106
- @echo ' dtbs - Build device tree blobs for enabled boards'
100
+ @echo ' xipImage - XIP image'
107101 endef