diff options
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/mlinux/mlinux-feed-configs.bb | 13 |
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 |