[yocto] [meta-chip][RFC PATCH 2/3] chip: Build sunxi-tools-native.
drew.moseley at mender.io
drew.moseley at mender.io
Fri Jun 16 14:15:39 PDT 2017
From: Drew Moseley <drew.moseley at mender.io>
Add LAYERDEPENDS on meta-sunxi and add the sunxi-tools-native
pacakage to EXTRA_IMAGEDEPENDS.
Signed-off-by: Drew Moseley <drew.moseley at mender.io>
---
conf/layer.conf | 3 +++
conf/machine/chip.conf | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/conf/layer.conf b/conf/layer.conf
index 5dad66e..3324908 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -8,3 +8,6 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
BBFILE_COLLECTIONS += "meta-chip"
BBFILE_PATTERN_meta-chip = "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-chip = "6"
+
+# Add this to get access to sunxi-tools recipe
+LAYERDEPENDS_meta-chip = "meta-sunxi"
\ No newline at end of file
diff --git a/conf/machine/chip.conf b/conf/machine/chip.conf
index 8f54067..ae166f9 100644
--- a/conf/machine/chip.conf
+++ b/conf/machine/chip.conf
@@ -5,7 +5,7 @@
MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
MACHINE_ESSENTIAL_EXTRA_RDEPENDS = " kernel-image kernel-devicetree"
-EXTRA_IMAGEDEPENDS += "u-boot"
+EXTRA_IMAGEDEPENDS += "u-boot sunxi-tools-native"
DEFAULTTUNE ?= "cortexa8t-neon"
include conf/machine/include/tune-cortexa8.inc
--
2.7.4
More information about the yocto
mailing list