aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Dietze <martin@the-little-red-haired-girl.org>2009-05-23 13:26:19 +0200
committerMartin Dietze <mdietze@gmail.com>2013-03-02 17:25:54 +0100
commitc3bb489c0054c61c00b3fd57e191c732a26dc8cf (patch)
treee1686d05104f89d55a2c9f59bba8d755cb40e1ad
parentcc361d473e92454b516999f16d57be4f7872e15e (diff)
downloadopenembedded-c3bb489c0054c61c00b3fd57e191c732a26dc8cf.zip
openembedded-c3bb489c0054c61c00b3fd57e191c732a26dc8cf.tar.gz
openembedded-c3bb489c0054c61c00b3fd57e191c732a26dc8cf.tar.bz2
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 3dd25d9..736e12b 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"