summaryrefslogtreecommitdiff
path: root/recipes-core/mlinux/mlinux-feed-configs.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/mlinux/mlinux-feed-configs.bb')
-rw-r--r--recipes-core/mlinux/mlinux-feed-configs.bb14
1 files changed, 13 insertions, 1 deletions
diff --git a/recipes-core/mlinux/mlinux-feed-configs.bb b/recipes-core/mlinux/mlinux-feed-configs.bb
index 4291f24..466572d 100644
--- a/recipes-core/mlinux/mlinux-feed-configs.bb
+++ b/recipes-core/mlinux/mlinux-feed-configs.bb
@@ -1,5 +1,5 @@
SUMMARY = "Configuration files for online package repositories aka feeds"
-PR = "r1"
+PR = "r2"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
@@ -12,6 +12,18 @@ do_compile() {
for feed in ${feeds}; do
echo "src/gz ${DISTRO_FEED_PREFIX}-${feed} ${DISTRO_FEED_URI}/${feed}" >> ${S}/${sysconfdir}/opkg/${feed_file}
done
+ # For ARMV7 there is another feed path without thumb
+ case ${ARMPKGARCH} in
+ armv7*)
+ EXTRA="${ARMPKGARCH}${ARMPKGSFX_EABI}${ARMPKGSFX_FPU}"
+ ;;
+ *)
+ EXTRA=""
+ ;;
+ esac
+ if [ -n "${EXTRA}" ] ; then
+ echo "src/gz ${DISTRO_FEED_PREFIX}-${EXTRA} ${DISTRO_FEED_URI}/${EXTRA}" >> ${S}/${sysconfdir}/opkg/${feed_file}
+ fi
}
do_install () {
install -d ${D}${sysconfdir}/opkg