Commit 99319096 authored by Mauro Ribeiro's avatar Mauro Ribeiro

apply integration patch 001-enable-backports/0001-enable-backports-built-in.patch

Change-Id: I9fd89cd4db340a9a5cd4c9bbc9da2e363271a598
parent 5bdbed5b
......@@ -518,6 +518,7 @@ scripts: scripts_basic include/config/auto.conf include/config/tristate.conf \
$(Q)$(MAKE) $(build)=$(@)
# Objects we will link into vmlinux / subdirs we need to visit
backports-y := backports/
init-y := init/
drivers-y := drivers/ sound/ firmware/
net-y := net/
......@@ -739,13 +740,16 @@ core-y += kernel/ mm/ fs/ ipc/ security/ crypto/ block/
vmlinux-dirs := $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \
$(core-y) $(core-m) $(drivers-y) $(drivers-m) \
$(backports-y) $(backports-m) \
$(net-y) $(net-m) $(libs-y) $(libs-m)))
vmlinux-alldirs := $(sort $(vmlinux-dirs) $(patsubst %/,%,$(filter %/, \
$(init-n) $(init-) \
$(core-n) $(core-) $(drivers-n) $(drivers-) \
$(backports-n) $(backports-) \
$(net-n) $(net-) $(libs-n) $(libs-))))
backports-y := $(patsubst %/, %/built-in.o, $(backports-y))
init-y := $(patsubst %/, %/built-in.o, $(init-y))
core-y := $(patsubst %/, %/built-in.o, $(core-y))
drivers-y := $(patsubst %/, %/built-in.o, $(drivers-y))
......@@ -756,7 +760,7 @@ libs-y := $(libs-y1) $(libs-y2)
# Externally visible symbols (used by link-vmlinux.sh)
export KBUILD_VMLINUX_INIT := $(head-y) $(init-y)
export KBUILD_VMLINUX_MAIN := $(core-y) $(libs-y) $(drivers-y) $(net-y)
export KBUILD_VMLINUX_MAIN := $(core-y) $(libs-y) $(drivers-y) $(net-y) $(backports-y)
export KBUILD_LDS := arch/$(SRCARCH)/kernel/vmlinux.lds
export LDFLAGS_vmlinux
# used by scripts/pacmage/Makefile
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment