From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 0/11] pkg-kernel-module: new infra to ease building kernel modules (branch yem/kernel-modules)
Date: Sun, 7 Jun 2015 00:20:43 +0200 [thread overview]
Message-ID: <cover.1433628825.git.yann.morin.1998@free.fr> (raw)
Hello All!
This series introduces a new infrastructure to help writing packages
that build kernel modules.
Unlike other package infrastrucutre, this new kernel-module
infrastructure is not stand-alone, but is made as a complement to
existing infrastructures, so that packages can build both userland and
kernel modules.
A few packages (9) are converted to use that new infrastructure, and it
greatly simplifies most of them (even allowing us to drop some of our
patches).
Furthermore, as a side effect of converting it to this new inra, it also
fixes the sysdig package, which is cirrently broken because it tries to
build with the host kernel.
Unfortunately, not all packages that build kernel headers were
converted, becasue they use very custom (aka convoluted) Makefiles to
reinvent out-of-tree module building, and it is too much work to fix
them.
Regards,
Yann E. MORIN.
The following changes since commit de823a5bd3976ac9fcf039c57869ccf8e9fc0a45:
opkg: gpg support needs libgpg-error (2015-06-06 15:38:56 +0200)
are available in the git repository at:
git://git.busybox.net/~ymorin/git/buildroot yem/kernel-modules
for you to fetch changes up to e2ea306fbb76707d821144673bf6805cd2f3e532:
package/sysdig: use kernel-module helper (2015-06-07 00:04:03 +0200)
----------------------------------------------------------------
Yann E. MORIN (11):
package-infra: add helper to build kernel modules
docs/manual: add kernel-module
package/lttng-modules: use kernel-module helper
package/igh-ethercat: use kernel-module helper
package/ktap: use kernel-module helper
package/cryptodev-linux: use the kernel-module helper
package/ocf-linux: use kernel-module helper
package/on2-8170-modules: use kernel-module helper
package/owl-linux: use kernel-module helper
package/simicsfs: use kernel-module helper
package/sysdig: use kernel-module helper
docs/manual/adding-packages-kernel-module.txt | 120 +++++++++++++++++++++
docs/manual/adding-packages.txt | 2 +
package/Makefile.in | 1 +
package/cryptodev-linux/cryptodev-linux.mk | 13 +--
package/igh-ethercat/igh-ethercat.mk | 14 +--
package/ktap/ktap.mk | 7 +-
package/lttng-modules/lttng-modules.mk | 11 +-
package/ocf-linux/0001-modules-cross.patch | 42 --------
package/ocf-linux/ocf-linux.mk | 17 ++-
package/on2-8170-modules/on2-8170-modules.mk | 11 +-
.../0001-fix-CROSS_COMPILE-usage-in-Makefile.patch | 16 ---
...-3.3.x.patch => 0001-fix-for-linux-3.3.x.patch} | 0
package/owl-linux/owl-linux.mk | 11 +-
package/pkg-kernel-module.mk | 94 ++++++++++++++++
package/simicsfs/simicsfs.mk | 10 +-
package/sysdig/sysdig.mk | 22 +++-
16 files changed, 254 insertions(+), 137 deletions(-)
create mode 100644 docs/manual/adding-packages-kernel-module.txt
delete mode 100644 package/ocf-linux/0001-modules-cross.patch
delete mode 100644 package/owl-linux/0001-fix-CROSS_COMPILE-usage-in-Makefile.patch
rename package/owl-linux/{0002-fix-for-linux-3.3.x.patch => 0001-fix-for-linux-3.3.x.patch} (100%)
create mode 100644 package/pkg-kernel-module.mk
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next reply other threads:[~2015-06-06 22:20 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-06 22:20 Yann E. MORIN [this message]
2015-06-06 22:20 ` [Buildroot] [PATCH 01/11] package-infra: add helper to build kernel modules Yann E. MORIN
2015-06-07 3:22 ` Baruch Siach
2015-06-07 9:59 ` Yann E. MORIN
2015-06-08 12:49 ` rdkehn at yahoo.com
2015-06-08 21:09 ` Arnout Vandecappelle
2015-06-08 21:25 ` Yann E. MORIN
2015-06-08 21:33 ` Thomas Petazzoni
2015-06-08 21:35 ` Yann E. MORIN
2015-06-08 21:44 ` Yann E. MORIN
2015-06-08 21:52 ` Arnout Vandecappelle
2015-06-08 21:58 ` Yann E. MORIN
2015-06-08 21:59 ` Arnout Vandecappelle
2015-06-06 22:20 ` [Buildroot] [PATCH 02/11] docs/manual: add kernel-module Yann E. MORIN
2015-06-08 21:46 ` Arnout Vandecappelle
2015-06-08 22:02 ` Arnout Vandecappelle
2015-06-08 22:24 ` Yann E. MORIN
2015-06-06 22:20 ` [Buildroot] [PATCH 03/11] package/lttng-modules: use kernel-module helper Yann E. MORIN
2015-06-06 22:20 ` [Buildroot] [PATCH 04/11] package/igh-ethercat: " Yann E. MORIN
2015-06-06 22:20 ` [Buildroot] [PATCH 05/11] package/ktap: " Yann E. MORIN
2015-06-08 21:25 ` Thomas Petazzoni
2015-06-08 21:31 ` Yann E. MORIN
2015-06-08 21:34 ` Yann E. MORIN
2015-06-08 22:11 ` Thomas Petazzoni
2015-06-06 22:20 ` [Buildroot] [PATCH 06/11] package/cryptodev-linux: use the " Yann E. MORIN
2015-06-08 12:33 ` rdkehn at yahoo.com
2015-06-08 17:12 ` Yann E. MORIN
2015-06-08 18:55 ` rdkehn at yahoo.com
2015-06-06 22:20 ` [Buildroot] [PATCH 07/11] package/ocf-linux: use " Yann E. MORIN
2015-06-08 21:35 ` Yann E. MORIN
2015-06-06 22:20 ` [Buildroot] [PATCH 08/11] package/on2-8170-modules: " Yann E. MORIN
2015-06-06 22:20 ` [Buildroot] [PATCH 09/11] package/owl-linux: " Yann E. MORIN
2015-06-06 22:20 ` [Buildroot] [PATCH 10/11] package/simicsfs: " Yann E. MORIN
2015-06-06 22:20 ` [Buildroot] [PATCH 11/11] package/sysdig: " Yann E. MORIN
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=cover.1433628825.git.yann.morin.1998@free.fr \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox