mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-05 05:04:44 +02:00

Some of them were introduced by mass-removal of S = WORKDIR/git assignments; rather than try to fix up (or redo) just these, I've run this sed command over the whole tree: sed -i -z -E 's/([ \t\f\v\r]*\n){3,}/\n\n/g' `find . -name *.bb -o -name *.inc` The rationale is that more than one empty line is wasting vertical screen space, and does nothing for readability. (From OE-Core rev: cedc4ff7c9bcfb22a20e43e47f9759f4007a4f1a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
34 lines
781 B
BlitzBasic
34 lines
781 B
BlitzBasic
SUMMARY = "Architecture-dependent configuration for opkg"
|
|
HOMEPAGE = "https://git.yoctoproject.org/opkg/"
|
|
LICENSE = "MIT"
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
|
|
|
S = "${UNPACKDIR}"
|
|
|
|
do_compile() {
|
|
mkdir -p ${S}/${sysconfdir}/opkg/
|
|
|
|
archconf=${S}/${sysconfdir}/opkg/arch.conf
|
|
|
|
rm -f $archconf
|
|
ipkgarchs="${ALL_MULTILIB_PACKAGE_ARCHS}"
|
|
priority=1
|
|
for arch in $ipkgarchs; do
|
|
echo "arch $arch $priority" >> $archconf
|
|
priority=$(expr $priority + 5)
|
|
done
|
|
}
|
|
|
|
do_install () {
|
|
install -d ${D}${sysconfdir}/opkg
|
|
install -m 0644 ${S}/${sysconfdir}/opkg/* ${D}${sysconfdir}/opkg/
|
|
}
|
|
|
|
FILES:${PN} = "${sysconfdir}/opkg/ "
|
|
|
|
CONFFILES:${PN} += "${sysconfdir}/opkg/arch.conf"
|
|
|
|
RREPLACES:${PN} = "opkg-config-base"
|
|
RCONFLICTS:${PN} = "opkg-config-base"
|
|
RPROVIDES:${PN} = "opkg-config-base"
|