hostap-utils: move common part to .inc
authorMarcin Juszkiewicz <hrw@openembedded.org>
Mon, 20 Mar 2006 19:19:33 +0000 (19:19 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Mon, 20 Mar 2006 19:19:33 +0000 (19:19 +0000)
packages/hostap/hostap-utils.inc [new file with mode: 0644]
packages/hostap/hostap-utils_0.3.7.bb
packages/hostap/hostap-utils_0.4.0.bb

diff --git a/packages/hostap/hostap-utils.inc b/packages/hostap/hostap-utils.inc
new file mode 100644 (file)
index 0000000..c5c5d5b
--- /dev/null
@@ -0,0 +1,24 @@
+DESCRIPTION = "User mode helpers for the hostap driver"
+HOMEPAGE = "http://hostap.epitest.fi"
+SECTION = "kernel/userland"
+PRIORITY = "optional"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+LICENSE = "GPL"
+RRECOMMENDS = "virtual/kernel-hostap"
+PR = "r3"
+
+SRC_URI = "http://hostap.epitest.fi/releases/hostap-utils-${PV}.tar.gz \
+          file://hostap-fw-load.patch;patch=1"
+S = "${WORKDIR}/hostap-utils-${PV}"
+
+BINARIES = "hostap_crypt_conf hostap_diag hostap_fw_load hostap_io_debug \
+           hostap_rid prism2_param prism2_srec split_combined_hex"
+
+do_install() {
+       install -d ${D}${sbindir}/
+       for f in ${BINARIES}
+       do
+               install -m 0755 $f ${D}${sbindir}/
+       done
+}
+
index c5c5d5b..ad06cd3 100644 (file)
@@ -1,24 +1,3 @@
-DESCRIPTION = "User mode helpers for the hostap driver"
-HOMEPAGE = "http://hostap.epitest.fi"
-SECTION = "kernel/userland"
-PRIORITY = "optional"
-MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
-LICENSE = "GPL"
-RRECOMMENDS = "virtual/kernel-hostap"
-PR = "r3"
-
-SRC_URI = "http://hostap.epitest.fi/releases/hostap-utils-${PV}.tar.gz \
-          file://hostap-fw-load.patch;patch=1"
-S = "${WORKDIR}/hostap-utils-${PV}"
-
-BINARIES = "hostap_crypt_conf hostap_diag hostap_fw_load hostap_io_debug \
-           hostap_rid prism2_param prism2_srec split_combined_hex"
-
-do_install() {
-       install -d ${D}${sbindir}/
-       for f in ${BINARIES}
-       do
-               install -m 0755 $f ${D}${sbindir}/
-       done
-}
+include hostap-utils.inc
 
+PR = "r3"
index c5c5d5b..ad06cd3 100644 (file)
@@ -1,24 +1,3 @@
-DESCRIPTION = "User mode helpers for the hostap driver"
-HOMEPAGE = "http://hostap.epitest.fi"
-SECTION = "kernel/userland"
-PRIORITY = "optional"
-MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
-LICENSE = "GPL"
-RRECOMMENDS = "virtual/kernel-hostap"
-PR = "r3"
-
-SRC_URI = "http://hostap.epitest.fi/releases/hostap-utils-${PV}.tar.gz \
-          file://hostap-fw-load.patch;patch=1"
-S = "${WORKDIR}/hostap-utils-${PV}"
-
-BINARIES = "hostap_crypt_conf hostap_diag hostap_fw_load hostap_io_debug \
-           hostap_rid prism2_param prism2_srec split_combined_hex"
-
-do_install() {
-       install -d ${D}${sbindir}/
-       for f in ${BINARIES}
-       do
-               install -m 0755 $f ${D}${sbindir}/
-       done
-}
+include hostap-utils.inc
 
+PR = "r3"