public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH v3 0/1] Add support to build binary version of DKMS kernel modules
@ 2021-04-30 14:02 Felix Moessbauer
  2021-04-30 14:02 ` [PATCH v3 1/1] " Felix Moessbauer
  2021-04-30 14:47 ` [PATCH v3 0/1] " Anton Mikanovich
  0 siblings, 2 replies; 5+ messages in thread
From: Felix Moessbauer @ 2021-04-30 14:02 UTC (permalink / raw)
  To: isar-users; +Cc: henning.schild, jan.kiszka, Felix Moessbauer

Hi,

this also fixes the build for i386.

Changes since v3:

- ensure that the module is build before packaging (fixes i386)
- add mapping between ISAR arch name and kernel (machine) arch 

Best regards,
Felix

Felix Moessbauer (1):
  Add support to build binary version of DKMS kernel modules

 meta-isar/conf/local.conf.sample              |  5 +-
 .../example-dkms-module.bb                    | 14 ++++
 meta/classes/dkms-module.bbclass              | 76 +++++++++++++++++++
 scripts/ci_build.sh                           |  1 +
 4 files changed, 95 insertions(+), 1 deletion(-)
 create mode 100644 meta-isar/recipes-kernel/example-dkms-module/example-dkms-module.bb
 create mode 100644 meta/classes/dkms-module.bbclass

-- 
2.20.1


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] Add support to build binary version of DKMS kernel modules
@ 2021-04-22 10:44 Anton Mikanovich
  2021-04-26 16:16 ` [PATCH v3 0/1] " Felix Moessbauer
  0 siblings, 1 reply; 5+ messages in thread
From: Anton Mikanovich @ 2021-04-22 10:44 UTC (permalink / raw)
  To: Felix Moessbauer, isar-users; +Cc: henning.schild, jan.kiszka

14.04.2021 11:36, Felix Moessbauer wrote:
> diff --git a/meta-isar/recipes-kernel/example-dkms-module/igb-uio_20.11.bb b/meta-isar/recipes-kernel/example-dkms-module/igb-uio_20.11.bb
> new file mode 100644
> index 0000000..abb9922
> --- /dev/null
> +++ b/meta-isar/recipes-kernel/example-dkms-module/igb-uio_20.11.bb
> @@ -0,0 +1,14 @@
> +# Example recipe for building the binary version of a DKMS module
> +#
> +# This software is a part of ISAR.
> +# Copyright (c) Siemens AG, 2018

Should it be 2021 maybe?

> +#
> +# SPDX-License-Identifier: MIT
> +
> +inherit dkms-module
> +
> +PN .= "-${KERNEL_NAME}"
> +
> +#package name (without -dkms. E.g "dpdk-kmods" for package "dpdk-kmods-dkms")
> +DKMS_PACKAGE_NAME = "dpdk-kmods"
> +AUTOLOAD += "igb_uio"

-- 
Anton Mikanovich
Promwad Ltd.
External service provider of ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn, Germany
+49 (89) 122 67 24-0
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov


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

end of thread, other threads:[~2021-04-30 17:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-30 14:02 [PATCH v3 0/1] Add support to build binary version of DKMS kernel modules Felix Moessbauer
2021-04-30 14:02 ` [PATCH v3 1/1] " Felix Moessbauer
2021-04-30 17:19   ` Henning Schild
2021-04-30 14:47 ` [PATCH v3 0/1] " Anton Mikanovich
  -- strict thread matches above, loose matches on Subject: below --
2021-04-22 10:44 [PATCH 1/1] " Anton Mikanovich
2021-04-26 16:16 ` [PATCH v3 0/1] " Felix Moessbauer

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