summaryrefslogtreecommitdiffstats
path: root/arch/x86/Makefile
blob: 309597386a77c7811ea3bc594084d5deec6a5d9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Unified Makefile for i386 and x86_64

# select defconfig based on actual architecture
KBUILD_DEFCONFIG := $(ARCH)_defconfig

# # No need to remake these files
$(srctree)/arch/x86/Makefile%: ;

ifeq ($(ARCH),i386)
        include $(srctree)/arch/x86/Makefile_32
else
        include $(srctree)/arch/x86/Makefile_64
endif