aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4635a64da36c..61e178ff0c1b 100644
--- a/Makefile
+++ b/Makefile
@@ -186,7 +186,8 @@ ARCH ?= $(SUBARCH)
186CROSS_COMPILE ?= 186CROSS_COMPILE ?=
187 187
188# Architecture as present in compile.h 188# Architecture as present in compile.h
189UTS_MACHINE := $(ARCH) 189UTS_MACHINE := $(ARCH)
190SRCARCH := $(ARCH)
190 191
191KCONFIG_CONFIG ?= .config 192KCONFIG_CONFIG ?= .config
192 193
@@ -322,7 +323,7 @@ KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null)
322KERNELVERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) 323KERNELVERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
323 324
324export VERSION PATCHLEVEL SUBLEVEL KERNELRELEASE KERNELVERSION 325export VERSION PATCHLEVEL SUBLEVEL KERNELRELEASE KERNELVERSION
325export ARCH CONFIG_SHELL HOSTCC HOSTCFLAGS CROSS_COMPILE AS LD CC 326export ARCH SRCARCH CONFIG_SHELL HOSTCC HOSTCFLAGS CROSS_COMPILE AS LD CC
326export CPP AR NM STRIP OBJCOPY OBJDUMP MAKE AWK GENKSYMS PERL UTS_MACHINE 327export CPP AR NM STRIP OBJCOPY OBJDUMP MAKE AWK GENKSYMS PERL UTS_MACHINE
327export HOSTCXX HOSTCXXFLAGS LDFLAGS_MODULE CHECK CHECKFLAGS 328export HOSTCXX HOSTCXXFLAGS LDFLAGS_MODULE CHECK CHECKFLAGS
328 329
@@ -609,7 +610,7 @@ libs-y := $(libs-y1) $(libs-y2)
609vmlinux-init := $(head-y) $(init-y) 610vmlinux-init := $(head-y) $(init-y)
610vmlinux-main := $(core-y) $(libs-y) $(drivers-y) $(net-y) 611vmlinux-main := $(core-y) $(libs-y) $(drivers-y) $(net-y)
611vmlinux-all := $(vmlinux-init) $(vmlinux-main) 612vmlinux-all := $(vmlinux-init) $(vmlinux-main)
612vmlinux-lds := arch/$(ARCH)/kernel/vmlinux.lds 613vmlinux-lds := arch/$(SRCARCH)/kernel/vmlinux.lds
613export KBUILD_VMLINUX_OBJS := $(vmlinux-all) 614export KBUILD_VMLINUX_OBJS := $(vmlinux-all)
614 615
615# Rule to link vmlinux - also used during CONFIG_KALLSYMS 616# Rule to link vmlinux - also used during CONFIG_KALLSYMS