diff options
Diffstat (limited to 'meta/recipes-bsp/pcmciautils/pcmciautils.inc')
-rw-r--r-- | meta/recipes-bsp/pcmciautils/pcmciautils.inc | 33 |
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 @@ | |||
1 | DESCRIPTION = "Linux Kernel 2.6 Userland Utilities for the PCMCIA Subsystem" | ||
2 | HOMEPAGE = "http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html" | ||
3 | SECTION = "kernel/userland" | ||
4 | PRIORITY = "optional" | ||
5 | |||
6 | LICENSE = "GPLv2" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
8 | |||
9 | DEPENDS = "sysfsutils flex-native" | ||
10 | RDEPENDS_${PN} = "udev module-init-tools" | ||
11 | RCONFLICTS_${PN} += "pcmcia-cs" | ||
12 | |||
13 | SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/pcmcia/pcmciautils-${PV}.tar.bz2" | ||
14 | |||
15 | S = "${WORKDIR}/pcmciautils-${PV}" | ||
16 | |||
17 | export HOSTCC = "${BUILD_CC}" | ||
18 | export etcdir = "${sysconfdir}" | ||
19 | export sbindir = "${base_sbindir}" | ||
20 | export pcmciaconfdir = "${sysconfdir}/pcmcia" | ||
21 | export udevrulesdir = "${sysconfdir}/udev/rules.d" | ||
22 | export UDEV = "1" | ||
23 | LD = "${CC}" | ||
24 | CFLAGS =+ "-I${S}/src" | ||
25 | |||
26 | PARALLEL_MAKE = "" | ||
27 | EXTRA_OEMAKE = "-e 'STRIP=echo' 'LIB_OBJS=-lc -lsysfs' 'LEX=flex'" | ||
28 | |||
29 | do_install () { | ||
30 | oe_runmake 'DESTDIR=${D}' install | ||
31 | } | ||
32 | |||
33 | CONFFILES_${PN} += "${sysconfdir}/pcmcia/config.opts" | ||