Makefile (d603c8e184d882cc3f55c599f4185bad956ee0a7) Makefile (1f57d5d85ba7f1f467173ff33f51d01a91f9aaf1)
1# Unified Makefile for i386 and x86_64
2
3# select defconfig based on actual architecture
4ifeq ($(ARCH),x86)
5 ifeq ($(shell uname -m),x86_64)
6 KBUILD_DEFCONFIG := x86_64_defconfig
7 else
8 KBUILD_DEFCONFIG := i386_defconfig

--- 167 unchanged lines hidden (view full) ---

176
177archscripts: scripts_basic
178 $(Q)$(MAKE) $(build)=arch/x86/tools relocs
179
180###
181# Syscall table generation
182
183archheaders:
1# Unified Makefile for i386 and x86_64
2
3# select defconfig based on actual architecture
4ifeq ($(ARCH),x86)
5 ifeq ($(shell uname -m),x86_64)
6 KBUILD_DEFCONFIG := x86_64_defconfig
7 else
8 KBUILD_DEFCONFIG := i386_defconfig

--- 167 unchanged lines hidden (view full) ---

176
177archscripts: scripts_basic
178 $(Q)$(MAKE) $(build)=arch/x86/tools relocs
179
180###
181# Syscall table generation
182
183archheaders:
184 $(Q)$(MAKE) $(build)=arch/x86/syscalls all
184 $(Q)$(MAKE) $(build)=arch/x86/entry/syscalls all
185
186archprepare:
187ifeq ($(CONFIG_KEXEC_FILE),y)
188 $(Q)$(MAKE) $(build)=arch/x86/purgatory arch/x86/purgatory/kexec-purgatory.c
189endif
190
191###
192# Kernel objects

--- 77 unchanged lines hidden ---
185
186archprepare:
187ifeq ($(CONFIG_KEXEC_FILE),y)
188 $(Q)$(MAKE) $(build)=arch/x86/purgatory arch/x86/purgatory/kexec-purgatory.c
189endif
190
191###
192# Kernel objects

--- 77 unchanged lines hidden ---