From 17f6ca326874ffaf254b3aed0da4690ea5ea16a2 Mon Sep 17 00:00:00 2001 From: Alexandre Bard Date: Fri, 15 Oct 2021 14:22:50 +0200 Subject: [PATCH] Move the kernel sharing variable into a common config file BugzID: 75223 --- conf/machine/include/netmodule-hardware.inc | 2 ++ conf/machine/include/ti33x.inc | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 conf/machine/include/netmodule-hardware.inc diff --git a/conf/machine/include/netmodule-hardware.inc b/conf/machine/include/netmodule-hardware.inc new file mode 100644 index 0000000..ccfb932 --- /dev/null +++ b/conf/machine/include/netmodule-hardware.inc @@ -0,0 +1,2 @@ +STAGING_KERNEL_DIR = "${TMPDIR}/work-shared/${TUNE_PKGARCH}/kernel-source" +STAGING_KERNEL_BUILDDIR = "${TMPDIR}/work-shared/${TUNE_PKGARCH}/kernel-build-artifacts" diff --git a/conf/machine/include/ti33x.inc b/conf/machine/include/ti33x.inc index dad248a..01eb35c 100644 --- a/conf/machine/include/ti33x.inc +++ b/conf/machine/include/ti33x.inc @@ -1,5 +1,6 @@ SOC_FAMILY = "ti33x" require conf/machine/include/soc-family.inc +require netmodule-hardware.inc DEFAULTTUNE ?= "cortexa8thf-neon" require conf/machine/include/tune-cortexa8.inc @@ -50,8 +51,6 @@ MACHINEOVERRIDES =. "${NM_TARGET}:" # We have one kernel for all TI machines KERNEL_IMAGETYPE = "zImage" KERNEL_DEFCONFIG = "am335x-netmodule_defconfig" -STAGING_KERNEL_DIR = "${TMPDIR}/work-shared/${TUNE_PKGARCH}/kernel-source" -STAGING_KERNEL_BUILDDIR = "${TMPDIR}/work-shared/${TUNE_PKGARCH}/kernel-build-artifacts" # We need to specify all devicetrees here in order to build them with the kernel HW16_DT = "am335x-nrhw16.dtb \