kernel-modules: Build them for architecture and not MACHINE

As for the kernel, we don't need to build them for every MACHINE and
will save some build time when building them only once per architecture.

BugzID: 80015
This commit is contained in:
Alexandre Bard 2022-06-09 12:04:04 +02:00
parent dae3c027be
commit 50916d798c
6 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,2 @@
# We are building one kernel for all machines with the same architecture
PACKAGE_ARCH = "${TUNE_PKGARCH}"

View File

@ -0,0 +1,2 @@
# We are building one kernel for all machines with the same architecture
PACKAGE_ARCH = "${TUNE_PKGARCH}"

View File

@ -5,6 +5,9 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425
inherit module inherit module
# We are building one kernel for all machines with the same architecture
PACKAGE_ARCH = "${TUNE_PKGARCH}"
PV = "1.0.0" PV = "1.0.0"
SRCREV ?= "1711171ae3bcc9f804d7973f4068cdd7cade78d0" SRCREV ?= "1711171ae3bcc9f804d7973f4068cdd7cade78d0"

View File

@ -9,6 +9,9 @@ inherit module
KERNEL_MODULE_AUTOLOAD += "broker" KERNEL_MODULE_AUTOLOAD += "broker"
# We are building one kernel for all machines with the same architecture
PACKAGE_ARCH = "${TUNE_PKGARCH}"
PV = "1.0.0" PV = "1.0.0"
SRCREV ?= "4950e67e4a94bde44f8cf7a8c3f0c8eed8d18ad9" SRCREV ?= "4950e67e4a94bde44f8cf7a8c3f0c8eed8d18ad9"

View File

@ -12,6 +12,9 @@ inherit module
KERNEL_MODULE_AUTOLOAD += "extmod" KERNEL_MODULE_AUTOLOAD += "extmod"
# We are building one kernel for all machines with the same architecture
PACKAGE_ARCH = "${TUNE_PKGARCH}"
PV = "1.0.0" PV = "1.0.0"
SRCREV ?= "916fb314511674363cf3a8f6d0bccc092cb00efc" SRCREV ?= "916fb314511674363cf3a8f6d0bccc092cb00efc"

View File

@ -12,6 +12,9 @@ inherit module
KERNEL_MODULE_AUTOLOAD += "sysstate" KERNEL_MODULE_AUTOLOAD += "sysstate"
# We are building one kernel for all machines with the same architecture
PACKAGE_ARCH = "${TUNE_PKGARCH}"
PV = "1.0.0" PV = "1.0.0"
SRCREV ?= "19a75e6acbb5541c905ecdfc63ddba1591a619bf" SRCREV ?= "19a75e6acbb5541c905ecdfc63ddba1591a619bf"