mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
unifdef: remove fork, package upstream
Instead of building specifiaclly for native a static fork of unifdef from 2007, simply package the latest tarball. (From OE-Core rev: f642a9753b33c2f35d502b6721601fc690f674ec) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ac638b7bd1
commit
fc0a068d47
File diff suppressed because it is too large
Load Diff
@@ -1,21 +0,0 @@
|
||||
SUMMARY = "Kernel header preprocessor"
|
||||
SECTION = "devel"
|
||||
LICENSE = "BSD-2-Clause"
|
||||
|
||||
PR = "r1"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/unifdef.c;endline=32;md5=1a33f5c39aa718a89058721df61979bd"
|
||||
|
||||
SRC_URI = "file://unifdef.c"
|
||||
|
||||
inherit native
|
||||
|
||||
do_compile() {
|
||||
${CC} ${CFLAGS} ${LDFLAGS} -o unifdef ${WORKDIR}/unifdef.c
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}
|
||||
install -m 0755 unifdef ${D}${bindir}
|
||||
}
|
||||
|
||||
15
meta/recipes-devtools/unifdef/unifdef_2.10.bb
Normal file
15
meta/recipes-devtools/unifdef/unifdef_2.10.bb
Normal file
@@ -0,0 +1,15 @@
|
||||
SUMMARY = "Selectively remove #ifdef statements from sources"
|
||||
SECTION = "devel"
|
||||
LICENSE = "BSD-2-Clause"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://unifdef.c;endline=32;md5=2cc23f0382a6f560f6a9ecf4e040c0da"
|
||||
|
||||
SRC_URI = "http://dotat.at/prog/${BPN}/${BP}.tar.xz"
|
||||
SRC_URI[md5sum] = "bb5d895e5ebbba5c5cc0c2771cf97ebe"
|
||||
SRC_URI[sha256sum] = "3b9b2b6b1952e9b9c1b9f734edec270689a35bdbf33ae66b50e19b2ed0d2df06"
|
||||
|
||||
do_install() {
|
||||
oe_runmake install DESTDIR=${D} prefix=${prefix}
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
Reference in New Issue
Block a user