summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Dietze <martin@the-little-red-haired-girl.org>2009-05-23 13:26:19 +0200
committermd <md@freiheit.com>2009-05-27 21:50:59 +0200
commit80e14557ae8dcf08b2b288fc95cbe531ddb7849c (patch)
treee1686d05104f89d55a2c9f59bba8d755cb40e1ad
parent782df95b7dd7413bbec639c41b2d9ceb4d71f1e7 (diff)
wlan-ng: ARM-binary usbctl is only installed on ARM architectures
-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"