diff options
-rw-r--r-- | meta-oe/recipes-connectivity/rfkill/rfkill_0.4.bb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/rfkill/rfkill_0.4.bb b/meta-oe/recipes-connectivity/rfkill/rfkill_0.4.bb index 561fdc7a9..430cf65bf 100644 --- a/meta-oe/recipes-connectivity/rfkill/rfkill_0.4.bb +++ b/meta-oe/recipes-connectivity/rfkill/rfkill_0.4.bb | |||
@@ -3,6 +3,7 @@ HOMEPAGE = "http://linuxwireless.org/en/users/Documentation/rfkill" | |||
3 | SECTION = "base" | 3 | SECTION = "base" |
4 | LICENSE = "BSD" | 4 | LICENSE = "BSD" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=c6036d0eb7edbfced28c4160e5d3fa94" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=c6036d0eb7edbfced28c4160e5d3fa94" |
6 | PR = "r1" | ||
6 | 7 | ||
7 | SRC_URI = "http://wireless.kernel.org/download/${PN}/${P}.tar.bz2 \ | 8 | SRC_URI = "http://wireless.kernel.org/download/${PN}/${P}.tar.bz2 \ |
8 | file://0001-rfkill-makefile-don-t-use-t-the-OE-install-wrapper-d.patch" | 9 | file://0001-rfkill-makefile-don-t-use-t-the-OE-install-wrapper-d.patch" |
@@ -16,3 +17,10 @@ do_compile() { | |||
16 | do_install() { | 17 | do_install() { |
17 | oe_runmake DESTDIR=${D} install | 18 | oe_runmake DESTDIR=${D} install |
18 | } | 19 | } |
20 | |||
21 | inherit update-alternatives | ||
22 | |||
23 | ALTERNATIVE_${PN} = "rfkill" | ||
24 | ALTERNATIVE_PRIORITY = "60" | ||
25 | ALTERNATIVE_LINK_NAME[rfkill] = "${sbindir}/rfkill" | ||
26 | |||