diff options
author | Koen Kooi <koen@openembedded.org> | 2007-12-23 10:39:46 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-12-23 10:39:46 +0000 |
commit | a5ab4c1e92a80b977b53072b349e05ab0f097dd1 (patch) | |
tree | c93cf04d86827b31ee317cdf0a2796be2db80175 /packages/angstrom | |
parent | 9030208546561970a18f0eb4be401b4d837aa310 (diff) | |
parent | 20e5fbe217c05900868741ec16b09092eaf0830a (diff) |
propagate from branch 'org.openembedded.dev' (head d8bfa63aa913e7227790ba2d02253cfbecce61ab)
to branch 'org.openembedded.dev.avr32' (head bb1b18fc3fa0562c4c7bd85bb0d9617c62261f2e)
Diffstat (limited to 'packages/angstrom')
-rw-r--r-- | packages/angstrom/angstrom-feed-configs.bb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/angstrom/angstrom-feed-configs.bb b/packages/angstrom/angstrom-feed-configs.bb index 9d94747179..1415080fbd 100644 --- a/packages/angstrom/angstrom-feed-configs.bb +++ b/packages/angstrom/angstrom-feed-configs.bb @@ -1,11 +1,13 @@ DESCRIPTION = "Configuration files for online package repositories aka feeds" #PV = "${DISTRO_VERSION}" -PR = "r2" +PR = "r3" PACKAGE_ARCH = "${MACHINE_ARCH}" FEED_BASEPATH ?= "unstable/feed/" +IWMMXT_FEED = "${@base_contains('MACHINE_FEATURES', 'iwmmxt', 'iwmmxt', '',d)}" + do_compile() { mkdir -p ${S}/${sysconfdir}/ipkg for feed in base debug perl python gstreamer ; do @@ -14,6 +16,11 @@ do_compile() { echo "src/gz ${MACHINE_ARCH} ${ANGSTROM_URI}/${FEED_BASEPATH}${FEED_ARCH}/machine/${MACHINE_ARCH}" > ${S}/${sysconfdir}/ipkg/${MACHINE_ARCH}-feed.conf echo "src/gz no-arch ${ANGSTROM_URI}/${FEED_BASEPATH}/all" > ${S}/${sysconfdir}/ipkg/noarch-feed.conf + + # iwmmxt is a special case, add the iwmmxt feed for machine that have 'iwmmxt' in MACHINE_FEATURES + if [ "${IWMMXT_FEED}" = "iwmmxt" ] ; then + echo "src/gz iwmmxt ${ANGSTROM_URI}/${FEED_BASEPATH}iwmmxt/base" > ${S}/${sysconfdir}/ipkg/iwmmxt-feed.conf + fi } |