All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Pedersen <thomas@adapt-ip.com>
To: backports <backports@vger.kernel.org>
Cc: Hauke Mehrtens <hauke@hauke-m.de>,
	Luis Chamberlain <mcgrof@kernel.org>,
	Thomas Pedersen <thomas@adapt-ip.com>
Subject: [PATCH v2 14/15] integration-patches: support 5.4 target kernel
Date: Fri, 13 May 2022 09:05:22 -0700	[thread overview]
Message-ID: <20220513160523.2944694-15-thomas@adapt-ip.com> (raw)
In-Reply-To: <20220513160523.2944694-1-thomas@adapt-ip.com>

Signed-off-by: Thomas Pedersen <thomas@adapt-ip.com>
---
 .../0001-enable-backports-built-in.patch      | 40 +++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 integration-patches/5.4/0001-enable-backports/0001-enable-backports-built-in.patch

diff --git a/integration-patches/5.4/0001-enable-backports/0001-enable-backports-built-in.patch b/integration-patches/5.4/0001-enable-backports/0001-enable-backports-built-in.patch
new file mode 100644
index 000000000000..f086e5412672
--- /dev/null
+++ b/integration-patches/5.4/0001-enable-backports/0001-enable-backports-built-in.patch
@@ -0,0 +1,40 @@
+diff --git a/Makefile b/Makefile
+index d4d36c61940b..ad559055bacf 100644
+--- a/Makefile
++++ b/Makefile
+@@ -616,6 +616,7 @@ endif
+ ifeq ($(KBUILD_EXTMOD),)
+ # Objects we will link into vmlinux / subdirs we need to visit
+ init-y		:= init/
++backports-y 	:= backports/
+ drivers-y	:= drivers/ sound/
+ drivers-$(CONFIG_SAMPLES) += samples/
+ drivers-$(CONFIG_KERNEL_HEADER_TEST) += include/
+@@ -1017,15 +1018,17 @@ core-y		+= kernel/ certs/ 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) $(virt-y)))
+ 
+ vmlinux-alldirs	:= $(sort $(vmlinux-dirs) Documentation \
+ 		     $(patsubst %/,%,$(filter %/, $(init-) $(core-) \
+-			$(drivers-) $(net-) $(libs-) $(virt-))))
++			$(drivers-) $(net-) $(libs-) $(virt-) $(backports))))
+ 
+ build-dirs	:= $(vmlinux-dirs)
+ clean-dirs	:= $(vmlinux-alldirs)
+ 
++backports-y	:= $(patsubst %/, %/built-in.a, $(backports-y))
+ init-y		:= $(patsubst %/, %/built-in.a, $(init-y))
+ core-y		:= $(patsubst %/, %/built-in.a, $(core-y))
+ drivers-y	:= $(patsubst %/, %/built-in.a, $(drivers-y))
+@@ -1036,7 +1039,7 @@ virt-y		:= $(patsubst %/, %/built-in.a, $(virt-y))
+ 
+ # Externally visible symbols (used by link-vmlinux.sh)
+ export KBUILD_VMLINUX_OBJS := $(head-y) $(init-y) $(core-y) $(libs-y2) \
+-			      $(drivers-y) $(net-y) $(virt-y)
++			      $(drivers-y) $(net-y) $(virt-y) $(backports-y)
+ export KBUILD_VMLINUX_LIBS := $(libs-y1)
+ export KBUILD_LDS          := arch/$(SRCARCH)/kernel/vmlinux.lds
+ export LDFLAGS_vmlinux
-- 
2.30.2

--
To unsubscribe from this list: send the line "unsubscribe backports" in

  parent reply	other threads:[~2022-05-13 16:06 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-13 16:05 [PATCH v2 00/15] Resurrect Integration Mode v2 Thomas Pedersen
2022-05-13 16:05 ` [PATCH v2 01/15] backport/kconf: remove our version of kconfig Thomas Pedersen
2022-05-13 16:05 ` [PATCH v2 02/15] Squashed 'backport/kconf/' content from commit 98bda615 Thomas Pedersen
2022-05-13 16:05 ` [PATCH v2 03/15] kconfig: fix backport syntax to work with linux-next next-20220204 Thomas Pedersen
2022-05-13 16:05 ` [PATCH v2 04/15] Makefile.subtrees: document how to update kconfig Thomas Pedersen
2022-05-13 16:05 ` [PATCH v2 05/15] backport: define BACKPORT_DIR for Kconfig.integrate Thomas Pedersen
2022-05-13 16:05 ` [PATCH v2 06/15] gentree: update kconfig source var to new kconfig format Thomas Pedersen
2022-05-13 16:05 ` [PATCH v2 07/15] gentree: try to make patch operation idempotent in case of --clean Thomas Pedersen
2022-05-13 16:05 ` [PATCH v2 08/15] gentree: do not prefix Kernel.local symbols Thomas Pedersen
2022-05-13 16:05 ` [PATCH v2 09/15] lib/bpversion: calculate Kconfig.versions for next major version Thomas Pedersen
2022-05-13 16:05 ` [PATCH v2 10/15] backport: expose BP_MODULES in package mode only Thomas Pedersen
2022-05-13 16:05 ` [PATCH v2 11/15] kconfig: fix select conversion for BPAUTO_ symbols in integration mode Thomas Pedersen
2022-05-13 16:05 ` [PATCH v2 12/15] integration-patches: refresh integration patch Thomas Pedersen
2022-05-13 16:05 ` [PATCH v2 13/15] integration-patches: make patches per target kernel version Thomas Pedersen
2022-05-13 16:05 ` Thomas Pedersen [this message]
2022-05-13 16:05 ` [PATCH v2 15/15] patches: fixup skb list patch Thomas Pedersen
2022-05-13 16:37 ` [PATCH v2 00/15] Resurrect Integration Mode v2 Luis Chamberlain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220513160523.2944694-15-thomas@adapt-ip.com \
    --to=thomas@adapt-ip.com \
    --cc=backports@vger.kernel.org \
    --cc=hauke@hauke-m.de \
    --cc=mcgrof@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.