Makefile (4e07dba7cb8c9c76a52d0e32b69f13bb583a9674) Makefile (b843e4ec01991a386a9e0e9030703524446e03da)
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
72BOOT_TARGETS = linux.bin linux.bin.gz simpleImage.%
72# With make 3.82 we cannot mix normal and wildcard targets
73BOOT_TARGETS1 = linux.bin linux.bin.gz
74BOOT_TARGETS2 = simpleImage.%
73
74archclean:
75 $(Q)$(MAKE) $(clean)=$(boot)
76
75
76archclean:
77 $(Q)$(MAKE) $(clean)=$(boot)
78
77$(BOOT_TARGETS): vmlinux
79$(BOOT_TARGETS1): vmlinux
78 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
80 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
81$(BOOT_TARGETS2): vmlinux
82 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
79
80define archhelp
81 echo '* linux.bin - Create raw binary'
82 echo ' linux.bin.gz - Create compressed raw binary'
83 echo ' simpleImage.<dt> - ELF image with $(arch)/boot/dts/<dt>.dts linked in'
84 echo ' - stripped elf with fdt blob'
85 echo ' simpleImage.<dt>.unstrip - full ELF image with fdt blob'
86 echo ' *_defconfig - Select default config from arch/microblaze/configs'
87 echo ''
88 echo ' Targets with <dt> embed a device tree blob inside the image'
89 echo ' These targets support board with firmware that does not'
90 echo ' support passing a device tree directly. Replace <dt> with the'
91 echo ' name of a dts file from the arch/microblaze/boot/dts/ directory'
92 echo ' (minus the .dts extension).'
93endef
94
95MRPROPER_FILES += $(boot)/simpleImage.*
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.*