summaryrefslogtreecommitdiff
path: root/wireless-tools
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-08-05 08:54:07 +0000
committerPhil Blundell <philb@gnu.org>2004-08-05 08:54:07 +0000
commit58349c2113aea2a9083b2589bc6d2bfff5bd3d12 (patch)
treeda42059e8985f3a6a3ff94208d9c86ca721ea2c9 /wireless-tools
parentf045b89799906d92770a770ef4cf0a52620a04c2 (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into workhouse.nexus.co.uk:/home/pb/oe/oe-packages 2004/08/05 09:53:45+01:00 nexus.co.uk!pb don't inherit module to avoid spurious RDEPENDS BKrev: 4111f5afL34trcIri5OeBl_Bhz-XEQ
Diffstat (limited to 'wireless-tools')
-rw-r--r--wireless-tools/wireless-tools_26.oe11
1 files changed, 8 insertions, 3 deletions
diff --git a/wireless-tools/wireless-tools_26.oe b/wireless-tools/wireless-tools_26.oe
index 3912ad3baf..86867f044a 100644
--- a/wireless-tools/wireless-tools_26.oe
+++ b/wireless-tools/wireless-tools_26.oe
@@ -4,18 +4,23 @@ PRIORITY = "optional"
DEPENDS = "virtual/kernel"
MAINTAINER = "Michael Lauer <mickey@Vanille.de>"
LICENSE = "GPL"
-PR = "r3"
+PR = "r4"
SRC_URI = "http://pcmcia-cs.sourceforge.net/ftp/contrib/wireless_tools.${PV}.tar.gz \
file://man.patch;patch=1 \
file://wireless-tools.if-pre-up"
S = "${WORKDIR}/wireless_tools.${PV}"
-inherit module
+export KERNEL_SOURCE = ${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-source')}
+export KERNEL_VERSION = ${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-version')}
+KERNEL_CCSUFFIX = ${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-ccsuffix')}
+KERNEL_LDSUFFIX = ${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-ldsuffix')}
+KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc${KERNEL_CCSUFFIX}"
+KERNEL_LD = "${LD}${KERNEL_LDSUFFIX}"
do_compile() {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
- oe_runmake KERNEL_PATH=${KERNEL_PATH} KERNEL_SRC=${KERNEL_PATH} KERNEL_VERSION=${KERNEL_VERSION} BUILD_SHARED=y
+ oe_runmake KERNEL_SRC=${KERNEL_PATH} KERNEL_VERSION=${KERNEL_VERSION} BUILD_SHARED=y
}
do_install() {