diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
commit | c527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch) | |
tree | bb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/recipes-bsp/pcmciautils/pcmciautils.inc | |
download | poky-c527fd1f14c27855a37f2e8ac5346ce8d940ced2.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
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..eafe82045c --- /dev/null +++ b/meta/recipes-bsp/pcmciautils/pcmciautils.inc | |||
@@ -0,0 +1,33 @@ | |||
1 | SUMMARY = "Linux kernel userland utilities for the PCMCIA subsystem" | ||
2 | HOMEPAGE = "http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html" | ||
3 | SECTION = "kernel/userland" | ||
4 | |||
5 | LICENSE = "GPLv2" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
7 | |||
8 | DEPENDS = "udev sysfsutils flex-native" | ||
9 | RDEPENDS_${PN} = "udev module-init-tools" | ||
10 | |||
11 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/pcmcia/pcmciautils-${PV}.tar.bz2" | ||
12 | |||
13 | S = "${WORKDIR}/pcmciautils-${PV}" | ||
14 | |||
15 | export HOSTCC = "${BUILD_CC}" | ||
16 | export etcdir = "${sysconfdir}" | ||
17 | export sbindir = "${base_sbindir}" | ||
18 | export pcmciaconfdir = "${sysconfdir}/pcmcia" | ||
19 | export udevdir = "`pkg-config --variable=udevdir udev`" | ||
20 | export udevrulesdir = "`pkg-config --variable=udevdir udev`/rules.d" | ||
21 | export UDEV = "1" | ||
22 | LD = "${CC}" | ||
23 | CFLAGS =+ "-I${S}/src" | ||
24 | CFLAGS =+ "-DPCMCIAUTILS_VERSION=\\"${PV}\\"" | ||
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" | ||