diff options
author | John Klug <john.klug@multitech.com> | 2022-11-17 16:58:04 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2022-11-17 16:58:04 -0600 |
commit | 1e52890ac41318d28923787af35541a8f9ee0653 (patch) | |
tree | fee39d5e88cffb9b60358a4c38cea0c57dd81f3d /recipes-core | |
parent | 09cbb08cef135a98f0b55a68291773ae80d1c781 (diff) | |
download | meta-mlinux-1e52890ac41318d28923787af35541a8f9ee0653.tar.gz meta-mlinux-1e52890ac41318d28923787af35541a8f9ee0653.tar.bz2 meta-mlinux-1e52890ac41318d28923787af35541a8f9ee0653.zip |
Fix the feeds to include the no-arm-thumb directory
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/mlinux/mlinux-feed-configs.bb | 14 |
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 |