summaryrefslogtreecommitdiff
path: root/packages/freesmartphone
diff options
context:
space:
mode:
authorRobert Schuster <thebohemian@gmx.net>2008-07-28 12:15:52 +0000
committerRobert Schuster <thebohemian@gmx.net>2008-07-28 12:15:52 +0000
commit3f78c76c7d544013b051f30566e8a8d626b53da8 (patch)
treef8ddd1ba1fa4266495aa53f93a18f62ef4c93cc8 /packages/freesmartphone
parent77cd50b78f2b02ed5889faf126600586ea780230 (diff)
parentf13b1a3dcbcfbc9c696051920e51425ed44b269c (diff)
merge of '2fb25ef6fb3cb91ddaf8dd62069a538d6f50df58'
and 'c62ede010b1359ffbadc321f747e6f44d9a83dd5'
Diffstat (limited to 'packages/freesmartphone')
-rw-r--r--packages/freesmartphone/freesmartphone-feed-configs.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/freesmartphone/freesmartphone-feed-configs.bb b/packages/freesmartphone/freesmartphone-feed-configs.bb
new file mode 100644
index 0000000000..dbefe3d1d3
--- /dev/null
+++ b/packages/freesmartphone/freesmartphone-feed-configs.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "Configuration files for online package repositories aka feeds"
+PR = "r0"
+
+do_compile() {
+ mkdir -p ${S}/${sysconfdir}/opkg
+ for feed in all armv4t neo1973 ${MACHINE_ARCH}; do
+ echo "src/gz fso-${feed} ${FEED_URI}/${feed}" > ${S}/${sysconfdir}/opkg/${feed}-feed.conf
+ done
+}
+do_install () {
+ install -d ${D}${sysconfdir}/opkg
+ install -m 0644 ${S}/${sysconfdir}/opkg/* ${D}${sysconfdir}/opkg/
+}
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+CONFFILES_${PN} += "\
+ ${sysconfdir}/opkg/all-feed.conf \
+ ${sysconfdir}/opkg/armv4t-feed.conf \
+ ${sysconfdir}/opkg/neo1973-feed.conf \
+ ${sysconfdir}/opkg/${MACHINE_ARCH}-feed.conf \
+"
+
+FEED_URI = "http://buildhost.freesmartphone.org/~mickeyl/deploy-om-gta02/ipk"