diff options
author | Oyvind Repvik <nail@nslu2-linux.org> | 2005-09-01 19:41:34 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-09-01 19:41:34 +0000 |
commit | c0fb1623f194f09d6c783bb112d7b27ee8f2c964 (patch) | |
tree | dc694ab732162432986ba1b7be0c2ee36a037680 | |
parent | 32e17c17bfda2f7a289b4d4d9058bec7903e4a19 (diff) | |
parent | 7bab9963f8c9484d712c729514593df6fbedebe8 (diff) |
merge of 29134267458b518b87fa720d106c0188db1b6131
and 55e352bed0a52f8ee40f1ab81b902297e574eb7c
-rw-r--r-- | packages/zd1211/zd1211_20050822.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/packages/zd1211/zd1211_20050822.bb b/packages/zd1211/zd1211_20050822.bb new file mode 100644 index 0000000000..3b01d8e317 --- /dev/null +++ b/packages/zd1211/zd1211_20050822.bb @@ -0,0 +1,31 @@ +DESCRIPTION = "Driver for zd1211 family of wireless USB Dongles" +PRIORITY = "optional" +SECTION = "kernel/modules" +MAINTAINER = "dyoung <dyoung8888@yahoo.com>" +LICENSE = "GPL" +PR = "r0" +DEPENDS = "wireless-tools" + +SRC_URI = "http://download.sourceforge.net/zd1211/sf_zd1211_${PV}_src.tar.gz" + +S = "${WORKDIR}/zd1211" + +inherit module + +#do_compile_prepend() { +# cp -f ${WORKDIR}/Makefile ${S}/ +#} + +do_compile () { + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CC LD CPP + oe_runmake 'KSRC=${STAGING_KERNEL_DIR}' \ + 'KDIR=${STAGING_KERNEL_DIR}' \ + 'CC="${KERNEL_CC}"' \ + 'LD="${KERNEL_LD}"' +} + +do_install() { + install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net + install -m 0644 ${S}/src/modules-${KERNEL_VERSION}/*${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net +} + |