summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes/wlan-ng/wlan-ng-utils.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/recipes/wlan-ng/wlan-ng-utils.inc b/recipes/wlan-ng/wlan-ng-utils.inc
index 3dd25d9d7f..736e12b942 100644
--- a/recipes/wlan-ng/wlan-ng-utils.inc
+++ b/recipes/wlan-ng/wlan-ng-utils.inc
@@ -10,11 +10,11 @@ DEPENDS = "virtual/kernel"
SRC_URI = "file://only-the-utils.patch;patch=1 \
file://wlan-ng.modutils \
file://wlan.agent \
- file://usbctl \
file://resume \
file://pre-up \
file://post-down \
file://config.in"
+SRC_URI_append_arm = " file://usbctl"
# yeah, it's kind of backwards, but otherwise the config step will fail
inherit module
@@ -59,11 +59,14 @@ do_install() {
install -m 0755 ${WORKDIR}/post-down ${D}${sysconfdir}/network/if-post-down.d/wlan-ng
install -d ${D}${sysconfdir}/apm/resume.d
install -m 0755 ${WORKDIR}/resume ${D}${sysconfdir}/apm/resume.d/wlan-ng
- install -m 0755 ${WORKDIR}/usbctl ${D}${base_sbindir}/usbctl
install -d ${D}${mandir}/man1
install -m 0644 ${S}/man/*.1 ${D}${mandir}/man1/
rm -rf ${D}/usr/local/man
}
+do_install_append_arm() {
+ install -m 0755 ${WORKDIR}/usbctl ${D}${base_sbindir}/usbctl
+}
+
FILES_${PN}-dbg += "/sbin/.debug"
FILES_${PN} = "/etc /sbin"