diff options
author | Sam Ravnborg <sam@mars.(none)> | 2005-09-09 15:08:59 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@mars.(none)> | 2005-09-09 15:08:59 -0400 |
commit | e6ae744dd2eae8e00af328b11b1fe77cb0931136 (patch) | |
tree | 726e20fb0950b9a51f602b2b805d016e813ce38a /arch/arm/Makefile | |
parent | 0013a85454c281faaf064ccb576e373a2881aac8 (diff) |
kbuild: arm - use generic asm-offsets.h support
Delete obsoleted stuff from arch Makefile and rename
constants.h to asm-offsets.h
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'arch/arm/Makefile')
-rw-r--r-- | arch/arm/Makefile | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 67f1453ade05..e625ac66f49b 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -178,7 +178,7 @@ endif | |||
178 | prepare: maketools include/asm-arm/.arch | 178 | prepare: maketools include/asm-arm/.arch |
179 | 179 | ||
180 | .PHONY: maketools FORCE | 180 | .PHONY: maketools FORCE |
181 | maketools: include/asm-arm/constants.h include/linux/version.h FORCE | 181 | maketools: include/linux/version.h FORCE |
182 | $(Q)$(MAKE) $(build)=arch/arm/tools include/asm-arm/mach-types.h | 182 | $(Q)$(MAKE) $(build)=arch/arm/tools include/asm-arm/mach-types.h |
183 | 183 | ||
184 | # Convert bzImage to zImage | 184 | # Convert bzImage to zImage |
@@ -190,7 +190,7 @@ zImage Image xipImage bootpImage uImage: vmlinux | |||
190 | zinstall install: vmlinux | 190 | zinstall install: vmlinux |
191 | $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@ | 191 | $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@ |
192 | 192 | ||
193 | CLEAN_FILES += include/asm-arm/constants.h* include/asm-arm/mach-types.h \ | 193 | CLEAN_FILES += include/asm-arm/mach-types.h \ |
194 | include/asm-arm/arch include/asm-arm/.arch | 194 | include/asm-arm/arch include/asm-arm/.arch |
195 | 195 | ||
196 | # We use MRPROPER_FILES and CLEAN_FILES now | 196 | # We use MRPROPER_FILES and CLEAN_FILES now |
@@ -201,11 +201,6 @@ archclean: | |||
201 | bp:; $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/bootpImage | 201 | bp:; $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/bootpImage |
202 | i zi:; $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@ | 202 | i zi:; $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@ |
203 | 203 | ||
204 | arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \ | ||
205 | include/asm-arm/.arch | ||
206 | |||
207 | include/asm-$(ARCH)/constants.h: arch/$(ARCH)/kernel/asm-offsets.s | ||
208 | $(call filechk,gen-asm-offsets) | ||
209 | 204 | ||
210 | define archhelp | 205 | define archhelp |
211 | echo '* zImage - Compressed kernel image (arch/$(ARCH)/boot/zImage)' | 206 | echo '* zImage - Compressed kernel image (arch/$(ARCH)/boot/zImage)' |