M7350/oe-core/meta/recipes-bsp/pcmciautils/pcmciautils.inc

33 lines
1001 B
PHP
Raw Normal View History

2024-09-09 08:57:42 +00:00
SUMMARY = "Linux kernel userland utilities for the PCMCIA subsystem"
HOMEPAGE = "https://www.kernel.org/pub/linux/utils/kernel/pcmcia/"
2024-09-09 08:52:07 +00:00
SECTION = "kernel/userland"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
2024-09-09 08:57:42 +00:00
DEPENDS = "udev sysfsutils flex-native"
2024-09-09 08:52:07 +00:00
RDEPENDS_${PN} = "udev module-init-tools"
2024-09-09 08:57:42 +00:00
SRC_URI = "http://mirror.linux.org.au/linux/utils/kernel/pcmcia/${BP}.tar.bz2"
2024-09-09 08:52:07 +00:00
S = "${WORKDIR}/pcmciautils-${PV}"
export HOSTCC = "${BUILD_CC}"
export etcdir = "${sysconfdir}"
export sbindir = "${base_sbindir}"
export pcmciaconfdir = "${sysconfdir}/pcmcia"
2024-09-09 08:57:42 +00:00
export udevdir = "`pkg-config --variable=udevdir udev`"
export udevrulesdir = "`pkg-config --variable=udevdir udev`/rules.d"
2024-09-09 08:52:07 +00:00
export UDEV = "1"
LD = "${CC}"
CFLAGS =+ "-I${S}/src"
2024-09-09 08:57:42 +00:00
CFLAGS =+ "-DPCMCIAUTILS_VERSION=\\"${PV}\\""
2024-09-09 08:52:07 +00:00
EXTRA_OEMAKE = "-e 'STRIP=echo' 'LIB_OBJS=-lc -lsysfs' 'LEX=flex'"
do_install () {
oe_runmake 'DESTDIR=${D}' install
}
CONFFILES_${PN} += "${sysconfdir}/pcmcia/config.opts"