public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH v5 0/5] Provide infrastructure and examples for custom kernels and modules
@ 2018-02-14  9:13 Jan Kiszka
  2018-02-14  9:13 ` [PATCH v5 1/5] Make distro kernel replaceable Jan Kiszka
                   ` (6 more replies)
  0 siblings, 7 replies; 20+ messages in thread
From: Jan Kiszka @ 2018-02-14  9:13 UTC (permalink / raw)
  To: isar-users

This is now finally the promised patches to provide simple patterns for
building custom kernels for Isar images that replace the distro kernels.
It also provids the same pattern for custom out-of-tree kernel modules.

Changes in v5:
 - dropped merged patches
 - reworked kernel packages naming and selection mechanism to use
   flavor/arch rather them overwriting upstream names
 - fixed rebuilds of the kernel (.version was causing problems)
 - moved kernel build into script - and switched back to include pattern
 - provided note on origin of exemplary defconfig
 - add KERNEL_DEFCONFIG variable

Jan

Jan Kiszka (5):
  Make distro kernel replaceable
  Provide include for easy custom kernel builds
  Add custom kernel examples
  Provide include file for easy custom module builds
  Add exemplary kernel module

 meta-isar/conf/distro/debian-jessie.conf           |   4 +
 meta-isar/conf/distro/debian-stretch.conf          |   3 +
 meta-isar/conf/distro/debian-wheezy.conf           |   2 +
 meta-isar/conf/distro/raspbian-jessie.conf         |   1 +
 meta-isar/conf/local.conf.sample                   |   2 +-
 meta-isar/conf/multiconfig/qemuamd64-jessie.conf   |   2 +-
 meta-isar/conf/multiconfig/qemuamd64-stretch.conf  |   7 +-
 meta-isar/conf/multiconfig/qemuarm-jessie.conf     |   2 +-
 meta-isar/conf/multiconfig/qemuarm-stretch.conf    |   7 +-
 meta-isar/conf/multiconfig/qemuarm-wheezy.conf     |   2 +-
 meta-isar/conf/multiconfig/qemui386-jessie.conf    |   2 +-
 meta-isar/conf/multiconfig/qemui386-stretch.conf   |   7 +-
 meta-isar/conf/multiconfig/rpi-jessie.conf         |   3 +-
 meta-isar/recipes-core/images/isar-image-base.bb   |   2 +
 .../example-module/example-module.bb               |  12 +
 .../example-module/files/src/Makefile              |  18 ++
 .../example-module/files/src/example-module.c      |  19 ++
 .../recipes-kernel/linux/files/x86_64_defconfig    | 310 +++++++++++++++++++++
 meta-isar/recipes-kernel/linux/linux-cip_4.4.bb    |  19 ++
 .../recipes-kernel/linux/linux-mainline_4.14.18.bb |  17 ++
 .../linux-module/files/debian/changelog            |   5 +
 .../linux-module/files/debian/compat               |   1 +
 .../linux-module/files/debian/control              |  11 +
 .../recipes-kernel/linux-module/files/debian/rules |  15 +
 meta/recipes-kernel/linux-module/module.inc        |  24 ++
 meta/recipes-kernel/linux/files/build-kernel.sh    |  75 +++++
 meta/recipes-kernel/linux/linux-custom.inc         |  47 ++++
 meta/recipes-kernel/linux/linux-distro.bb          |  13 +
 28 files changed, 614 insertions(+), 18 deletions(-)
 create mode 100644 meta-isar/recipes-kernel/example-module/example-module.bb
 create mode 100644 meta-isar/recipes-kernel/example-module/files/src/Makefile
 create mode 100644 meta-isar/recipes-kernel/example-module/files/src/example-module.c
 create mode 100644 meta-isar/recipes-kernel/linux/files/x86_64_defconfig
 create mode 100644 meta-isar/recipes-kernel/linux/linux-cip_4.4.bb
 create mode 100644 meta-isar/recipes-kernel/linux/linux-mainline_4.14.18.bb
 create mode 100644 meta/recipes-kernel/linux-module/files/debian/changelog
 create mode 100644 meta/recipes-kernel/linux-module/files/debian/compat
 create mode 100644 meta/recipes-kernel/linux-module/files/debian/control
 create mode 100755 meta/recipes-kernel/linux-module/files/debian/rules
 create mode 100644 meta/recipes-kernel/linux-module/module.inc
 create mode 100644 meta/recipes-kernel/linux/files/build-kernel.sh
 create mode 100644 meta/recipes-kernel/linux/linux-custom.inc
 create mode 100644 meta/recipes-kernel/linux/linux-distro.bb

-- 
2.13.6


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2018-02-15 15:27 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-14  9:13 [PATCH v5 0/5] Provide infrastructure and examples for custom kernels and modules Jan Kiszka
2018-02-14  9:13 ` [PATCH v5 1/5] Make distro kernel replaceable Jan Kiszka
2018-02-14  9:13 ` [PATCH v5 2/5] Provide include for easy custom kernel builds Jan Kiszka
2018-02-14 19:35   ` [PATCH v6 " Jan Kiszka
2018-02-14  9:13 ` [PATCH v5 3/5] Add custom kernel examples Jan Kiszka
2018-02-14  9:13 ` [PATCH v5 4/5] Provide include file for easy custom module builds Jan Kiszka
2018-02-14  9:13 ` [PATCH v5 5/5] Add exemplary kernel module Jan Kiszka
2018-02-14 15:21   ` [PATCH v6 " Jan Kiszka
2018-02-15  7:15     ` Alexander Smirnov
2018-02-15  7:35       ` [PATCH v6 4/5] Provide include file for easy custom module builds Jan Kiszka
2018-02-15  7:54         ` Alexander Smirnov
2018-02-15  7:54           ` Jan Kiszka
2018-02-15  8:01             ` Alexander Smirnov
2018-02-15 11:24 ` [PATCH v5 0/5] Provide infrastructure and examples for custom kernels and modules Alexander Smirnov
2018-02-15 15:14   ` Jan Kiszka
2018-02-15 14:43 ` Alexander Smirnov
2018-02-15 15:00   ` Jan Kiszka
2018-02-15 15:04     ` Alexander Smirnov
2018-02-15 15:13       ` Jan Kiszka
2018-02-15 15:27         ` Alexander Smirnov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox