blob: dbefe3d1d3a1412ebb471ca832ea8f09eded61aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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"
|