Makefile (de65d816aa44f9ddd79861ae21d75010cc1fd003) | Makefile (5f5e3236954af2ce855bc70b253e665392e93d1b) |
---|---|
1ifeq ($(CONFIG_MMU),y) 2UTS_SYSNAME = -DUTS_SYSNAME=\"Linux\" 3else 4UTS_SYSNAME = -DUTS_SYSNAME=\"uClinux\" 5endif 6 7# What CPU vesion are we building for, and crack it open 8# as major.minor.rev --- 55 unchanged lines hidden (view full) --- 64ifeq ($(CONFIG_MMU),) 65MMU := -nommu 66endif 67 68export MMU DTB 69 70all: linux.bin 71 | 1ifeq ($(CONFIG_MMU),y) 2UTS_SYSNAME = -DUTS_SYSNAME=\"Linux\" 3else 4UTS_SYSNAME = -DUTS_SYSNAME=\"uClinux\" 5endif 6 7# What CPU vesion are we building for, and crack it open 8# as major.minor.rev --- 55 unchanged lines hidden (view full) --- 64ifeq ($(CONFIG_MMU),) 65MMU := -nommu 66endif 67 68export MMU DTB 69 70all: linux.bin 71 |
72# With make 3.82 we cannot mix normal and wildcard targets 73BOOT_TARGETS1 = linux.bin linux.bin.gz 74BOOT_TARGETS2 = simpleImage.% 75 | |
76archclean: 77 $(Q)$(MAKE) $(clean)=$(boot) 78 | 72archclean: 73 $(Q)$(MAKE) $(clean)=$(boot) 74 |
79$(BOOT_TARGETS1): vmlinux | 75linux.bin linux.bin.gz: vmlinux |
80 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ | 76 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ |
81$(BOOT_TARGETS2): vmlinux | 77 78simpleImage.%: vmlinux |
82 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ 83 84define archhelp 85 echo '* linux.bin - Create raw binary' 86 echo ' linux.bin.gz - Create compressed raw binary' 87 echo ' simpleImage.<dt> - ELF image with $(arch)/boot/dts/<dt>.dts linked in' 88 echo ' - stripped elf with fdt blob' 89 echo ' simpleImage.<dt>.unstrip - full ELF image with fdt blob' 90 echo ' *_defconfig - Select default config from arch/microblaze/configs' 91 echo '' 92 echo ' Targets with <dt> embed a device tree blob inside the image' 93 echo ' These targets support board with firmware that does not' 94 echo ' support passing a device tree directly. Replace <dt> with the' 95 echo ' name of a dts file from the arch/microblaze/boot/dts/ directory' 96 echo ' (minus the .dts extension).' 97endef 98 99MRPROPER_FILES += $(boot)/simpleImage.* | 79 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ 80 81define archhelp 82 echo '* linux.bin - Create raw binary' 83 echo ' linux.bin.gz - Create compressed raw binary' 84 echo ' simpleImage.<dt> - ELF image with $(arch)/boot/dts/<dt>.dts linked in' 85 echo ' - stripped elf with fdt blob' 86 echo ' simpleImage.<dt>.unstrip - full ELF image with fdt blob' 87 echo ' *_defconfig - Select default config from arch/microblaze/configs' 88 echo '' 89 echo ' Targets with <dt> embed a device tree blob inside the image' 90 echo ' These targets support board with firmware that does not' 91 echo ' support passing a device tree directly. Replace <dt> with the' 92 echo ' name of a dts file from the arch/microblaze/boot/dts/ directory' 93 echo ' (minus the .dts extension).' 94endef 95 96MRPROPER_FILES += $(boot)/simpleImage.* |