Makefile (71c2ff150f34904f693c654ee8c55c996629abb7) | Makefile (841326332bcb13ae4e6cd456350bf566a402b45e) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2# Unified Makefile for i386 and x86_64 3 4# select defconfig based on actual architecture 5ifeq ($(ARCH),x86) 6 ifeq ($(shell uname -m | sed -e 's/i.86/i386/'),i386) 7 KBUILD_DEFCONFIG := i386_defconfig 8 else --- 255 unchanged lines hidden (view full) --- 264 265### 266# Syscall table generation 267 268archheaders: 269 $(Q)$(MAKE) $(build)=arch/x86/entry/syscalls all 270 271### | 1# SPDX-License-Identifier: GPL-2.0 2# Unified Makefile for i386 and x86_64 3 4# select defconfig based on actual architecture 5ifeq ($(ARCH),x86) 6 ifeq ($(shell uname -m | sed -e 's/i.86/i386/'),i386) 7 KBUILD_DEFCONFIG := i386_defconfig 8 else --- 255 unchanged lines hidden (view full) --- 264 265### 266# Syscall table generation 267 268archheaders: 269 $(Q)$(MAKE) $(build)=arch/x86/entry/syscalls all 270 271### |
272# <asm/cpufeaturemasks.h> header generation 273 274cpufeaturemasks.hdr := arch/x86/include/generated/asm/cpufeaturemasks.h 275cpufeaturemasks.awk := $(srctree)/arch/x86/tools/cpufeaturemasks.awk 276cpufeatures_hdr := $(srctree)/arch/x86/include/asm/cpufeatures.h 277targets += $(cpufeaturemasks.hdr) 278quiet_cmd_gen_featuremasks = GEN $@ 279 cmd_gen_featuremasks = $(AWK) -f $(cpufeaturemasks.awk) $(cpufeatures_hdr) $(KCONFIG_CONFIG) > $@ 280 281$(cpufeaturemasks.hdr): $(cpufeaturemasks.awk) $(cpufeatures_hdr) $(KCONFIG_CONFIG) FORCE 282 $(shell mkdir -p $(dir $@)) 283 $(call if_changed,gen_featuremasks) 284archprepare: $(cpufeaturemasks.hdr) 285 286### |
|
272# Kernel objects 273 274libs-y += arch/x86/lib/ 275 276# drivers-y are linked after core-y 277drivers-$(CONFIG_MATH_EMULATION) += arch/x86/math-emu/ 278drivers-$(CONFIG_PCI) += arch/x86/pci/ 279 --- 81 unchanged lines hidden --- | 287# Kernel objects 288 289libs-y += arch/x86/lib/ 290 291# drivers-y are linked after core-y 292drivers-$(CONFIG_MATH_EMULATION) += arch/x86/math-emu/ 293drivers-$(CONFIG_PCI) += arch/x86/pci/ 294 --- 81 unchanged lines hidden --- |