summaryrefslogtreecommitdiff
path: root/recipes-core
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2023-02-21 16:20:16 -0600
committerJohn Klug <john.klug@multitech.com>2023-02-21 16:20:16 -0600
commitc3a840e25bac4bca92af1a865d7d09c7489cde23 (patch)
tree5df7636bff3340b539a43ffb31279f41eddc2ee2 /recipes-core
parent9b0e664bada068459eca64e1a1d3b1432de7ea4b (diff)
downloadmeta-mlinux-c3a840e25bac4bca92af1a865d7d09c7489cde23.tar.gz
meta-mlinux-c3a840e25bac4bca92af1a865d7d09c7489cde23.tar.bz2
meta-mlinux-c3a840e25bac4bca92af1a865d7d09c7489cde23.zip
Add MACHINE_SOCARCH to the package list for armv7
Diffstat (limited to 'recipes-core')
-rw-r--r--recipes-core/mlinux/mlinux-feed-configs.bb13
1 files changed, 9 insertions, 4 deletions
diff --git a/recipes-core/mlinux/mlinux-feed-configs.bb b/recipes-core/mlinux/mlinux-feed-configs.bb
index 466572d..08895a0 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 = "r2"
+PR = "r3"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
@@ -15,15 +15,20 @@ do_compile() {
# For ARMV7 there is another feed path without thumb
case ${ARMPKGARCH} in
armv7*)
- EXTRA="${ARMPKGARCH}${ARMPKGSFX_EABI}${ARMPKGSFX_FPU}"
+ EXTRA="${ARMPKGARCH}${ARMPKGSFX_EABI}${ARMPKGSFX_FPU}"
+ EXTRA2="${MACHINE_SOCARCH}"
;;
*)
- EXTRA=""
- ;;
+ EXTRA=""
+ EXTRA2=""
+ ;;
esac
if [ -n "${EXTRA}" ] ; then
echo "src/gz ${DISTRO_FEED_PREFIX}-${EXTRA} ${DISTRO_FEED_URI}/${EXTRA}" >> ${S}/${sysconfdir}/opkg/${feed_file}
fi
+ if [ -n "${EXTRA2}" ] ; then
+ echo "src/gz ${DISTRO_FEED_PREFIX}-${EXTRA2} ${DISTRO_FEED_URI}/${EXTRA2}" >> ${S}/${sysconfdir}/opkg/${feed_file}
+ fi
}
do_install () {
install -d ${D}${sysconfdir}/opkg