summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/pcmciautils/pcmciautils.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-bsp/pcmciautils/pcmciautils.inc')
-rw-r--r--meta/recipes-bsp/pcmciautils/pcmciautils.inc33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-bsp/pcmciautils/pcmciautils.inc b/meta/recipes-bsp/pcmciautils/pcmciautils.inc
new file mode 100644
index 0000000..eafe820
--- /dev/null
+++ b/meta/recipes-bsp/pcmciautils/pcmciautils.inc
@@ -0,0 +1,33 @@
1SUMMARY = "Linux kernel userland utilities for the PCMCIA subsystem"
2HOMEPAGE = "http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html"
3SECTION = "kernel/userland"
4
5LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
7
8DEPENDS = "udev sysfsutils flex-native"
9RDEPENDS_${PN} = "udev module-init-tools"
10
11SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/pcmcia/pcmciautils-${PV}.tar.bz2"
12
13S = "${WORKDIR}/pcmciautils-${PV}"
14
15export HOSTCC = "${BUILD_CC}"
16export etcdir = "${sysconfdir}"
17export sbindir = "${base_sbindir}"
18export pcmciaconfdir = "${sysconfdir}/pcmcia"
19export udevdir = "`pkg-config --variable=udevdir udev`"
20export udevrulesdir = "`pkg-config --variable=udevdir udev`/rules.d"
21export UDEV = "1"
22LD = "${CC}"
23CFLAGS =+ "-I${S}/src"
24CFLAGS =+ "-DPCMCIAUTILS_VERSION=\\"${PV}\\""
25
26PARALLEL_MAKE = ""
27EXTRA_OEMAKE = "-e 'STRIP=echo' 'LIB_OBJS=-lc -lsysfs' 'LEX=flex'"
28
29do_install () {
30 oe_runmake 'DESTDIR=${D}' install
31}
32
33CONFFILES_${PN} += "${sysconfdir}/pcmcia/config.opts"