From c3a840e25bac4bca92af1a865d7d09c7489cde23 Mon Sep 17 00:00:00 2001 From: John Klug Date: Tue, 21 Feb 2023 16:20:16 -0600 Subject: Add MACHINE_SOCARCH to the package list for armv7 --- recipes-core/mlinux/mlinux-feed-configs.bb | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'recipes-core/mlinux') 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 -- cgit v1.2.3