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>
Showing
- Makefile 7 additions, 2 deletionsMakefile
- arch/x86/Makefile 7 additions, 3 deletionsarch/x86/Makefile
- arch/x86/Makefile_32 4 additions, 4 deletionsarch/x86/Makefile_32
- arch/x86/Makefile_64 4 additions, 4 deletionsarch/x86/Makefile_64
- arch/x86/boot/Makefile 3 additions, 3 deletionsarch/x86/boot/Makefile
- arch/x86/kernel/Makefile_32 2 additions, 1 deletionarch/x86/kernel/Makefile_32
- arch/x86/kernel/Makefile_64 2 additions, 0 deletionsarch/x86/kernel/Makefile_64
- arch/x86/vdso/Makefile 1 addition, 1 deletionarch/x86/vdso/Makefile
Loading
Please register or sign in to comment