mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
b3caf13a8e
* Clean INCLUDES to fix the host contamination errors:
In file included from /usr/src/linux/include/linux/posix_types.h:47:0,
from /usr/src/linux/include/linux/types.h:17,
from /usr/src/linux/include/linux/if.h:22,
from sethdlc.c:23:
/usr/src/linux/include/asm-generic/posix_types.h:91:3: \
error: conflicting types for '__kernel_fsid_t'
} __kernel_fsid_t;
^
.../tmp/sysroots/qemumips/usr/include/asm/posix_types.h:26:3: \
note: previous declaration of '__kernel_fsid_t' was here
} __kernel_fsid_t;
^
* Correct LIC_FILES_CHKSUM to checkout license infos from sethdl.c
instead of Makefile.
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
33 lines
911 B
BlitzBasic
33 lines
911 B
BlitzBasic
DESCRIPTION = "set Linux HDLC packet radio modem driver port information"
|
|
HOMEPAGE = "https://www.kernel.org/pub/linux/utils/net/hdlc"
|
|
LICENSE = "GPLv2 & GPLv2+ "
|
|
LIC_FILES_CHKSUM = "file://sethdlc.c;endline=10;md5=90f936879e9f8b755a138aeb348782eb"
|
|
|
|
|
|
SRC_URI = "https://www.kernel.org/pub/linux/utils/net/hdlc/${BPN}-1.18.tar.gz \
|
|
file://sethdlc-fix-host-contamination.patch \
|
|
"
|
|
SRC_URI[md5sum] = "9016878156a5eadb06c0bae71cc5c9ab"
|
|
SRC_URI[sha256sum] = "21b1e2e1cb0e288b0ec8fcfd9fed449914e0f8e6fc273706bd5b3d4f6ab6b04e"
|
|
|
|
|
|
S = "${WORKDIR}/${BPN}-1.18"
|
|
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
|
DEPENDS = "virtual/kernel"
|
|
|
|
EXTRA_OEMAKE="CROSS_COMPILE=${TARGET_PREFIX} CC='${CC} ${LDFLAGS}' \
|
|
KERNEL_DIR=${STAGING_KERNEL_DIR} "
|
|
|
|
do_compile_prepend () {
|
|
oe_runmake clean
|
|
}
|
|
|
|
|
|
do_install() {
|
|
install -d ${D}/${bindir}
|
|
install sethdlc ${D}/${bindir}/
|
|
}
|
|
|
|
FILES_${PN} += "${bindir}/sethdlc"
|