[oe-commits] Martin Dietze : wlan-ng: ARM-binary usbctl is only installed on ARM architectures
git version control
git at git.openembedded.org
Wed May 27 19:51:16 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 80e14557ae8dcf08b2b288fc95cbe531ddb7849c
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=80e14557ae8dcf08b2b288fc95cbe531ddb7849c
Author: Martin Dietze <martin at the-little-red-haired-girl.org>
Date: Sat May 23 13:26:19 2009 +0200
wlan-ng: ARM-binary usbctl is only installed on ARM architectures
---
recipes/wlan-ng/wlan-ng-utils.inc | 7 +++++--
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"
More information about the Openembedded-commits
mailing list