summaryrefslogtreecommitdiff
path: root/recipes/madwifi/madwifi-ng_r3878-20081204.bb
blob: f4bd6aae3c0c580e8b05ae98b750887302e1765b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Bitbake recipe for the madwifi-ng driver

# This recipe needs testing by other than ixp4xx distros before
# it can become the default:
DEFAULT_PREFERENCE = "-1"
DEFAULT_PREFERENCE_slugos = "1"

# Disable stripping of kernel modules, since this action strips too
# much out, and the resulting module won't load.
INHIBIT_PACKAGE_STRIP = "1"

require madwifi-ng_r.inc

SRCNAME = "madwifi-trunk"

# PR set after the include, to override what's set in the included file.
PR = "r1"

# It's not clear that we even need the wackelf patches any longer; certainly
# they are not required for ixp4xx builds.  This needs testing on pxa270.
WACKELF_SRC_URI_ixp4xx          = ""
WACKELF_SRC_URI_compulab-pxa270 = ""

# This works for EABI as well as the original OABI IXP4xx.
EXTRA_OEMAKE = "V=1 KERNELPATH=${STAGING_KERNEL_DIR} KERNELRELEASE=${KERNEL_VERSION} TOOLPREFIX=${TARGET_PREFIX}"

# We really must clear out LDFLAGS to get this to link.
do_compile() {
	unset LDFLAGS
	oe_runmake all
}