aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/hostap/hostap-daemon_git.bb
blob: b8aaa02b8de4602fab46d618857ac28aee2870af (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
DESCRIPTION = "User space daemon for extended IEEE 802.11 management"

require hostap-daemon-0.7.inc

PR = "r1"
SRCREV = "83fa07226debc2f7082b6ccd62dbb1cd47c30472"
PV = "0.7.3+0.8.0-rc"
PR_append = "gitr${SRCPV}"
FILESPATHPKG =. "hostap-daemon-git:"

DEFAULT_PREFERENCE = "-1"

S = "${WORKDIR}/git/hostapd"

SRC_URI = "git://w1.fi/srv/git/hostap.git;protocol=git \
	file://defconfig \
	file://init"

S = "${WORKDIR}/git/hostapd"

do_configure() {
	install -m 0644 ${WORKDIR}/defconfig ${S}/.config
	echo "CFLAGS += -I${STAGING_INCDIR}" >> .config
	echo "LIBS += -L${STAGING_LIBDIR}" >> .config
}