diff options
Diffstat (limited to 'meta-oe/recipes-connectivity/hostapd/hostap-daemon_1.0.bb')
-rw-r--r-- | meta-oe/recipes-connectivity/hostapd/hostap-daemon_1.0.bb | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/meta-oe/recipes-connectivity/hostapd/hostap-daemon_1.0.bb b/meta-oe/recipes-connectivity/hostapd/hostap-daemon_1.0.bb index e62531f0b..c1cac1e3d 100644 --- a/meta-oe/recipes-connectivity/hostapd/hostap-daemon_1.0.bb +++ b/meta-oe/recipes-connectivity/hostapd/hostap-daemon_1.0.bb | |||
@@ -13,29 +13,29 @@ PR = "r0" | |||
13 | DEFAULT_PREFERENCE = "-1" | 13 | DEFAULT_PREFERENCE = "-1" |
14 | 14 | ||
15 | SRC_URI = " \ | 15 | SRC_URI = " \ |
16 | http://hostap.epitest.fi/releases/hostapd-${PV}.tar.gz \ | 16 | http://hostap.epitest.fi/releases/hostapd-${PV}.tar.gz \ |
17 | file://defconfig \ | 17 | file://defconfig \ |
18 | file://init \ | 18 | file://init \ |
19 | " | 19 | " |
20 | 20 | ||
21 | S = "${WORKDIR}/hostapd-${PV}/hostapd" | 21 | S = "${WORKDIR}/hostapd-${PV}/hostapd" |
22 | 22 | ||
23 | 23 | ||
24 | do_configure() { | 24 | do_configure() { |
25 | install -m 0644 ${WORKDIR}/defconfig ${S}/.config | 25 | install -m 0644 ${WORKDIR}/defconfig ${S}/.config |
26 | } | 26 | } |
27 | 27 | ||
28 | do_compile() { | 28 | do_compile() { |
29 | export CFLAGS="-MMD -O2 -Wall -g -I${STAGING_INCDIR}/libnl3" | 29 | export CFLAGS="-MMD -O2 -Wall -g -I${STAGING_INCDIR}/libnl3" |
30 | make | 30 | make |
31 | } | 31 | } |
32 | 32 | ||
33 | do_install() { | 33 | do_install() { |
34 | install -d ${D}${sbindir} ${D}${sysconfdir}/init.d | 34 | install -d ${D}${sbindir} ${D}${sysconfdir}/init.d |
35 | install -m 0644 ${S}/hostapd.conf ${D}${sysconfdir} | 35 | install -m 0644 ${S}/hostapd.conf ${D}${sysconfdir} |
36 | install -m 0755 ${S}/hostapd ${D}${sbindir} | 36 | install -m 0755 ${S}/hostapd ${D}${sbindir} |
37 | install -m 0755 ${S}/hostapd_cli ${D}${sbindir} | 37 | install -m 0755 ${S}/hostapd_cli ${D}${sbindir} |
38 | install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/hostapd | 38 | install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/hostapd |
39 | } | 39 | } |
40 | 40 | ||
41 | CONFFILES_${PN} += "${sysconfdir}/hostapd.conf" | 41 | CONFFILES_${PN} += "${sysconfdir}/hostapd.conf" |