diff options
author | Koen Kooi <koen@openembedded.org> | 2007-12-11 13:53:43 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-12-11 13:53:43 +0000 |
commit | 75f4776444c3f9166056946a305e0bb491168054 (patch) | |
tree | 00da5e76cdc37c70306c7ff6245b4e89cb8d8bc0 /packages | |
parent | 75273832778601f980417a99efcb02c5bb484f9e (diff) |
angstrom-feed-configs: add iwmmxt feeds for machine that have 'iwmmxt' as MACHINE_FEATURE
* Currently mplayer is the only iwmmxt package, since that's the only package for which people have *proven* iwmmxt improved performance
Diffstat (limited to 'packages')
-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 } |