diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2007-11-12 14:14:19 -0500 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2007-11-12 15:02:20 -0500 |
commit | d746d647f31bd3664f4a23985b78654129ffc1db (patch) | |
tree | 6caa461f889220551adb460e2f74b00d51c0e076 /arch/x86/Makefile_64 | |
parent | 2a113281f5cd2febbab21a93c8943f8d3eece4d3 (diff) |
x86: do not use $(ARCH) when not needed
For x86 ARCH may say i386 or x86_64 and soon x86.
Rely on CONFIG_X64_32 to select between 32/64 or just
hardcode the value as appropriate.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Diffstat (limited to 'arch/x86/Makefile_64')
-rw-r--r-- | arch/x86/Makefile_64 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/Makefile_64 b/arch/x86/Makefile_64 index 57e714a47af7..a804860022e6 100644 --- a/arch/x86/Makefile_64 +++ b/arch/x86/Makefile_64 | |||
@@ -127,7 +127,7 @@ archclean: | |||
127 | $(Q)$(MAKE) $(clean)=$(boot) | 127 | $(Q)$(MAKE) $(clean)=$(boot) |
128 | 128 | ||
129 | define archhelp | 129 | define archhelp |
130 | echo '* bzImage - Compressed kernel image (arch/$(ARCH)/boot/bzImage)' | 130 | echo '* bzImage - Compressed kernel image (arch/x86/boot/bzImage)' |
131 | echo ' install - Install kernel using' | 131 | echo ' install - Install kernel using' |
132 | echo ' (your) ~/bin/installkernel or' | 132 | echo ' (your) ~/bin/installkernel or' |
133 | echo ' (distribution) /sbin/installkernel or' | 133 | echo ' (distribution) /sbin/installkernel or' |
@@ -137,8 +137,8 @@ define archhelp | |||
137 | echo ' isoimage - Create a boot CD-ROM image' | 137 | echo ' isoimage - Create a boot CD-ROM image' |
138 | endef | 138 | endef |
139 | 139 | ||
140 | CLEAN_FILES += arch/$(ARCH)/boot/fdimage \ | 140 | CLEAN_FILES += arch/x86/boot/fdimage \ |
141 | arch/$(ARCH)/boot/image.iso \ | 141 | arch/x86/boot/image.iso \ |
142 | arch/$(ARCH)/boot/mtools.conf | 142 | arch/x86/boot/mtools.conf |
143 | 143 | ||
144 | 144 | ||