From: Stefan Agner <stefan.ag...@toradex.com> Several packages are only available in the non-thumb (ARM) feeds. E.g. tremor (libvorbisdec1) uses ARM_INSTRUCTION_SET = "arm" in its recipe, and therefor is built only for non-thumb architectures such as armv7ahf-vfp-neon.
This introduces TUNE_ARMPKGARCH which is TUNE_PKGARCH without the thumb part (ARMPKGSFX_THUMB). FEED_ARCHS can contain multiple architectures, and the feed configuration files are generated accordingly. --- conf/distro/include/angstrom.inc | 2 ++ recipes-angstrom/angstrom/angstrom-feed-configs.bb | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/conf/distro/include/angstrom.inc b/conf/distro/include/angstrom.inc index c5f9fab..0b5ea25 100644 --- a/conf/distro/include/angstrom.inc +++ b/conf/distro/include/angstrom.inc @@ -21,6 +21,8 @@ ONLINE_PACKAGE_MANAGEMENT = "full" #Alphabetically sorted FEED_ARCH ?= "${TUNE_PKGARCH}" +TUNE_ARMPKGARCH = "${ARMPKGARCH}${ARMPKGSFX_DSP}${ARMPKGSFX_EABI}${ARMPKGSFX_ENDIAN}${ARMPKGSFX_FPU}" +FEED_ARCHS ?= "${TUNE_PKGARCH} ${TUNE_ARMPKGARCH}" #blackfin machines FEED_ARCH_bfin = "blackfin" diff --git a/recipes-angstrom/angstrom/angstrom-feed-configs.bb b/recipes-angstrom/angstrom/angstrom-feed-configs.bb index 4b14b2a..e40057a 100644 --- a/recipes-angstrom/angstrom/angstrom-feed-configs.bb +++ b/recipes-angstrom/angstrom/angstrom-feed-configs.bb @@ -13,7 +13,10 @@ do_compile() { mkdir -p ${S}/${sysconfdir}/opkg for feed in base debug perl python gstreamer ; do - echo "src/gz ${feed} ${ANGSTROM_URI}/${FEED_BASEPATH}${FEED_ARCH}/${feed}" > ${S}/${sysconfdir}/opkg/${feed}-feed.conf + rm ${S}/${sysconfdir}/opkg/${feed}-feed.conf + for feed_arch in ${FEED_ARCHS} ; do + echo "src/gz ${feed}-${feed_arch} ${ANGSTROM_URI}/${FEED_BASEPATH}${feed_arch}/${feed}" >> ${S}/${sysconfdir}/opkg/${feed}-feed.conf + done done echo "src/gz ${MACHINE_ARCH} ${ANGSTROM_URI}/${FEED_BASEPATH}${FEED_ARCH}/machine/${MACHINE_ARCH}" > ${S}/${sysconfdir}/opkg/${MACHINE_ARCH}-feed.conf -- 1.9.3 _______________________________________________ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel