summaryrefslogtreecommitdiffstats
diff options
authorMcgrof <anonymous.contributor@example.org>2013-07-16 09:51:24 +0000
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2024-10-04 15:47:32 -0400
commitbb39230ef3adb079beefb0f97de86508967b93cc (patch)
treec741310fd585649b05b2fe2721f525407872e98b
parent2d1fcef778fcdf504a98bfbcc6a324b29774d013 (diff)
downloadbackports-bb39230ef3adb079beefb0f97de86508967b93cc.tar.gz
Update Documentation/backports/hacking
-rw-r--r--wiki/Documentation_backports_hacking.mediawiki5
1 files changed, 4 insertions, 1 deletions
diff --git a/wiki/Documentation_backports_hacking.mediawiki b/wiki/Documentation_backports_hacking.mediawiki
index e0e37ea..2fb66f9 100644
--- a/wiki/Documentation_backports_hacking.mediawiki
+++ b/wiki/Documentation_backports_hacking.mediawiki
@@ -14,7 +14,6 @@ This is now in one repository [https://git.kernel.org/cgit/linux/kernel/git/mcgr
You can generate backports based on different trees depending on your needs. We are supporting build based on [https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/ linux-next.git], [https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/ linux.git] and [https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/ linux-stable.git]. You can also generate builds based on your own tree, but then you probably have to patch backports yourself to add support for that.
-
= Generate new release =
To generate a own backport release based on linux-next you need the following git trees:
@@ -43,6 +42,10 @@ When adding a new driver you first have to copy it to the resulting release by a
If this backported driver does not work on all supported kernel versions you have to specify it in the dependencies file.
You should also add a new defconfig for your driver to /backport/defconfigs/
+= Backporting a kernel feature =
+
+Features being backported should either be backported into a respective backports-3.x.c file under backports/compat/ and/or their respective header file under backport/backport-include/.
+
= Sending patches =
backports contributions follow the contribution model