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 0000000000..750a2cf60b
--- /dev/null
+++ b/meta/recipes-bsp/pcmciautils/pcmciautils.inc
@@ -0,0 +1,33 @@
1DESCRIPTION = "Linux Kernel 2.6 Userland Utilities for the PCMCIA Subsystem"
2HOMEPAGE = "http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html"
3SECTION = "kernel/userland"
4PRIORITY = "optional"
5
6LICENSE = "GPLv2"
7LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
8
9DEPENDS = "sysfsutils flex-native"
10RDEPENDS_${PN} = "udev module-init-tools"
11RCONFLICTS_${PN} += "pcmcia-cs"
12
13SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/pcmcia/pcmciautils-${PV}.tar.bz2"
14
15S = "${WORKDIR}/pcmciautils-${PV}"
16
17export HOSTCC = "${BUILD_CC}"
18export etcdir = "${sysconfdir}"
19export sbindir = "${base_sbindir}"
20export pcmciaconfdir = "${sysconfdir}/pcmcia"
21export udevrulesdir = "${sysconfdir}/udev/rules.d"
22export UDEV = "1"
23LD = "${CC}"
24CFLAGS =+ "-I${S}/src"
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"