Makefile (2ac5e38ea4203852d6e99edd3cf11f044b0a409f) Makefile (bafcc61d998c1ca18f556d92a0e95335ac68c7da)
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

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

74
75export MMU DTB
76
77all: linux.bin
78
79archclean:
80 $(Q)$(MAKE) $(clean)=$(boot)
81
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

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

74
75export MMU DTB
76
77all: linux.bin
78
79archclean:
80 $(Q)$(MAKE) $(clean)=$(boot)
81
82archheaders:
83 $(Q)$(MAKE) $(build)=arch/microblaze/kernel/syscalls all
84
82linux.bin linux.bin.gz linux.bin.ub: vmlinux
83 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
84
85simpleImage.%: vmlinux
86 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
87
88define archhelp
89 echo '* linux.bin - Create raw binary'
90 echo ' linux.bin.gz - Create compressed raw binary'
91 echo ' linux.bin.ub - Create U-Boot wrapped raw binary'
85linux.bin linux.bin.gz linux.bin.ub: vmlinux
86 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
87
88simpleImage.%: vmlinux
89 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
90
91define archhelp
92 echo '* linux.bin - Create raw binary'
93 echo ' linux.bin.gz - Create compressed raw binary'
94 echo ' linux.bin.ub - Create U-Boot wrapped raw binary'
92 echo ' simpleImage.<dt> - ELF image with $(arch)/boot/dts/<dt>.dts linked in'
93 echo ' - stripped elf with fdt blob'
94 echo ' simpleImage.<dt>.unstrip - full ELF image with fdt blob'
95 echo ' *_defconfig - Select default config from arch/microblaze/configs'
96 echo ''
95 echo ' simpleImage.<dt> - Create the following images with <dt>.dtb linked in'
96 echo ' simpleImage.<dt> : raw image'
97 echo ' simpleImage.<dt>.ub : raw image with U-Boot header'
98 echo ' simpleImage.<dt>.unstrip: ELF (identical to vmlinux)'
99 echo ' simpleImage.<dt>.strip : stripped ELF'
97 echo ' Targets with <dt> embed a device tree blob inside the image'
98 echo ' These targets support board with firmware that does not'
99 echo ' support passing a device tree directly. Replace <dt> with the'
100 echo ' name of a dts file from the arch/microblaze/boot/dts/ directory'
101 echo ' (minus the .dts extension).'
102endef
103
104MRPROPER_FILES += $(boot)/simpleImage.*
100 echo ' Targets with <dt> embed a device tree blob inside the image'
101 echo ' These targets support board with firmware that does not'
102 echo ' support passing a device tree directly. Replace <dt> with the'
103 echo ' name of a dts file from the arch/microblaze/boot/dts/ directory'
104 echo ' (minus the .dts extension).'
105endef
106
107MRPROPER_FILES += $(boot)/simpleImage.*