]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/x86/Makefile
x86: kprobes change kprobe_handler flow
[mirror_ubuntu-bionic-kernel.git] / arch / x86 / Makefile
CommitLineData
74b469f2
SR
1# Unified Makefile for i386 and x86_64
2
2266cfd5 3# select defconfig based on actual architecture
d746d647
SR
4ifeq ($(ARCH),x86)
5 KBUILD_DEFCONFIG := i386_defconfig
6else
7 KBUILD_DEFCONFIG := $(ARCH)_defconfig
8endif
2266cfd5 9
d746d647 10# No need to remake these files
74b469f2
SR
11$(srctree)/arch/x86/Makefile%: ;
12
d746d647 13ifeq ($(CONFIG_X86_32),y)
8c6531f7 14 UTS_MACHINE := i386
74b469f2
SR
15 include $(srctree)/arch/x86/Makefile_32
16else
8c6531f7 17 UTS_MACHINE := x86_64
74b469f2
SR
18 include $(srctree)/arch/x86/Makefile_64
19endif