From 63479cadd8521e43880b8d32288e1b4854f378f5 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Thu, 5 Aug 2004 10:18:40 +0000 Subject: Merge 2004/08/05 12:17:33+02:00 uni-frankfurt.de!mickey use the wireless.h from the kernel instead of always the most recent one from glibc BKrev: 41120980xkPBj21Kss2h6OS6jchywg --- wireless-tools/wireless-tools_26.oe | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'wireless-tools') diff --git a/wireless-tools/wireless-tools_26.oe b/wireless-tools/wireless-tools_26.oe index 86867f044a..73e5a14a19 100644 --- a/wireless-tools/wireless-tools_26.oe +++ b/wireless-tools/wireless-tools_26.oe @@ -7,8 +7,8 @@ LICENSE = "GPL" 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" + file://man.patch;patch=1 \ + file://wireless-tools.if-pre-up" S = "${WORKDIR}/wireless_tools.${PV}" export KERNEL_SOURCE = ${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-source')} @@ -18,6 +18,11 @@ KERNEL_LDSUFFIX = ${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-ld KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc${KERNEL_CCSUFFIX}" KERNEL_LD = "${LD}${KERNEL_LDSUFFIX}" +do_configure() { + rm -rf wireless.h + ln -s ${STAGING_KERNEL_DIR}/include/linux/wireless.h wireless.h +} + do_compile() { unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS oe_runmake KERNEL_SRC=${KERNEL_PATH} KERNEL_VERSION=${KERNEL_VERSION} BUILD_SHARED=y -- cgit v1.2.3