Makefile (29583dfcd2dd72c766422bd05c16f06c6b1fb356) | Makefile (083cad78042e9eb6d2d727ff561dc6eea36ac9a0) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2KBUILD_DEFCONFIG := mmu_defconfig 3 4UTS_SYSNAME = -DUTS_SYSNAME=\"Linux\" 5 6# What CPU version are we building for, and crack it open 7# as major.minor.rev 8CPU_VER := $(CONFIG_XILINX_MICROBLAZE0_HW_VER) --- 53 unchanged lines hidden (view full) --- 62archheaders: 63 $(Q)$(MAKE) $(build)=arch/microblaze/kernel/syscalls all 64 65PHONY += linux.bin linux.bin.gz linux.bin.ub 66linux.bin.ub linux.bin.gz: linux.bin 67linux.bin: vmlinux 68linux.bin linux.bin.gz linux.bin.ub: 69 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ | 1# SPDX-License-Identifier: GPL-2.0 2KBUILD_DEFCONFIG := mmu_defconfig 3 4UTS_SYSNAME = -DUTS_SYSNAME=\"Linux\" 5 6# What CPU version are we building for, and crack it open 7# as major.minor.rev 8CPU_VER := $(CONFIG_XILINX_MICROBLAZE0_HW_VER) --- 53 unchanged lines hidden (view full) --- 62archheaders: 63 $(Q)$(MAKE) $(build)=arch/microblaze/kernel/syscalls all 64 65PHONY += linux.bin linux.bin.gz linux.bin.ub 66linux.bin.ub linux.bin.gz: linux.bin 67linux.bin: vmlinux 68linux.bin linux.bin.gz linux.bin.ub: 69 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ |
70 @echo 'Kernel: $(boot)/$@ is ready' ' (#'`cat .version`')' | 70 @echo 'Kernel: $(boot)/$@ is ready' ' (#'$(or $(KBUILD_BUILD_VERSION),`cat .version`)')' |
71 72PHONY += simpleImage.$(DTB) 73simpleImage.$(DTB): vmlinux 74 $(Q)$(MAKE) $(build)=$(boot) $(addprefix $(boot)/$@., ub unstrip strip) | 71 72PHONY += simpleImage.$(DTB) 73simpleImage.$(DTB): vmlinux 74 $(Q)$(MAKE) $(build)=$(boot) $(addprefix $(boot)/$@., ub unstrip strip) |
75 @echo 'Kernel: $(boot)/$@ is ready' ' (#'`cat .version`')' | 75 @echo 'Kernel: $(boot)/$@ is ready' ' (#'$(or $(KBUILD_BUILD_VERSION),`cat .version`)')' |
76 77define archhelp 78 echo '* linux.bin - Create raw binary' 79 echo ' linux.bin.gz - Create compressed raw binary' 80 echo ' linux.bin.ub - Create U-Boot wrapped raw binary' 81 echo ' simpleImage.<dt> - Create the following images with <dt>.dtb linked in' 82 echo ' simpleImage.<dt> : raw image' 83 echo ' simpleImage.<dt>.ub : raw image with U-Boot header' 84 echo ' simpleImage.<dt>.unstrip: ELF (identical to vmlinux)' 85 echo ' simpleImage.<dt>.strip : stripped ELF' 86 echo ' Targets with <dt> embed a device tree blob inside the image' 87 echo ' These targets support board with firmware that does not' 88 echo ' support passing a device tree directly. Replace <dt> with the' 89 echo ' name of a dts file from the arch/microblaze/boot/dts/ directory' 90 echo ' (minus the .dts extension).' 91endef 92 93MRPROPER_FILES += $(boot)/simpleImage.* | 76 77define archhelp 78 echo '* linux.bin - Create raw binary' 79 echo ' linux.bin.gz - Create compressed raw binary' 80 echo ' linux.bin.ub - Create U-Boot wrapped raw binary' 81 echo ' simpleImage.<dt> - Create the following images with <dt>.dtb linked in' 82 echo ' simpleImage.<dt> : raw image' 83 echo ' simpleImage.<dt>.ub : raw image with U-Boot header' 84 echo ' simpleImage.<dt>.unstrip: ELF (identical to vmlinux)' 85 echo ' simpleImage.<dt>.strip : stripped ELF' 86 echo ' Targets with <dt> embed a device tree blob inside the image' 87 echo ' These targets support board with firmware that does not' 88 echo ' support passing a device tree directly. Replace <dt> with the' 89 echo ' name of a dts file from the arch/microblaze/boot/dts/ directory' 90 echo ' (minus the .dts extension).' 91endef 92 93MRPROPER_FILES += $(boot)/simpleImage.* |