Makefile (2e14f94cf4bc2f15ca5362e81ca3a987c79e3062) Makefile (4722a3e6b716d9d4594c3cf3856b03bbd24a59a8)
1# SPDX-License-Identifier: GPL-2.0
2KBUILD_DEFCONFIG := mmu_defconfig
3
4ifeq ($(CONFIG_MMU),y)
5UTS_SYSNAME = -DUTS_SYSNAME=\"Linux\"
6else
7UTS_SYSNAME = -DUTS_SYSNAME=\"uClinux\"
8endif

--- 73 unchanged lines hidden (view full) ---

82archheaders:
83 $(Q)$(MAKE) $(build)=arch/microblaze/kernel/syscalls all
84
85linux.bin linux.bin.gz linux.bin.ub: vmlinux
86 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
87 @echo 'Kernel: $(boot)/$@ is ready' ' (#'`cat .version`')'
88
89simpleImage.%: vmlinux
1# SPDX-License-Identifier: GPL-2.0
2KBUILD_DEFCONFIG := mmu_defconfig
3
4ifeq ($(CONFIG_MMU),y)
5UTS_SYSNAME = -DUTS_SYSNAME=\"Linux\"
6else
7UTS_SYSNAME = -DUTS_SYSNAME=\"uClinux\"
8endif

--- 73 unchanged lines hidden (view full) ---

82archheaders:
83 $(Q)$(MAKE) $(build)=arch/microblaze/kernel/syscalls all
84
85linux.bin linux.bin.gz linux.bin.ub: vmlinux
86 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
87 @echo 'Kernel: $(boot)/$@ is ready' ' (#'`cat .version`')'
88
89simpleImage.%: vmlinux
90 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
90 $(Q)$(MAKE) $(build)=$(boot) $(addprefix $(boot)/$@., ub unstrip strip)
91 @echo 'Kernel: $(boot)/$@ is ready' ' (#'`cat .version`')'
92
93define archhelp
94 echo '* linux.bin - Create raw binary'
95 echo ' linux.bin.gz - Create compressed raw binary'
96 echo ' linux.bin.ub - Create U-Boot wrapped raw binary'
97 echo ' simpleImage.<dt> - Create the following images with <dt>.dtb linked in'
98 echo ' simpleImage.<dt> : raw image'
99 echo ' simpleImage.<dt>.ub : raw image with U-Boot header'
100 echo ' simpleImage.<dt>.unstrip: ELF (identical to vmlinux)'
101 echo ' simpleImage.<dt>.strip : stripped ELF'
102 echo ' Targets with <dt> embed a device tree blob inside the image'
103 echo ' These targets support board with firmware that does not'
104 echo ' support passing a device tree directly. Replace <dt> with the'
105 echo ' name of a dts file from the arch/microblaze/boot/dts/ directory'
106 echo ' (minus the .dts extension).'
107endef
108
109MRPROPER_FILES += $(boot)/simpleImage.*
91 @echo 'Kernel: $(boot)/$@ is ready' ' (#'`cat .version`')'
92
93define archhelp
94 echo '* linux.bin - Create raw binary'
95 echo ' linux.bin.gz - Create compressed raw binary'
96 echo ' linux.bin.ub - Create U-Boot wrapped raw binary'
97 echo ' simpleImage.<dt> - Create the following images with <dt>.dtb linked in'
98 echo ' simpleImage.<dt> : raw image'
99 echo ' simpleImage.<dt>.ub : raw image with U-Boot header'
100 echo ' simpleImage.<dt>.unstrip: ELF (identical to vmlinux)'
101 echo ' simpleImage.<dt>.strip : stripped ELF'
102 echo ' Targets with <dt> embed a device tree blob inside the image'
103 echo ' These targets support board with firmware that does not'
104 echo ' support passing a device tree directly. Replace <dt> with the'
105 echo ' name of a dts file from the arch/microblaze/boot/dts/ directory'
106 echo ' (minus the .dts extension).'
107endef
108
109MRPROPER_FILES += $(boot)/simpleImage.*