[oe] [meta-networking][PATCH:V3] vlan: Add vlan recipe
lei.yang at windriver.com
lei.yang at windriver.com
Thu Jun 27 09:51:59 UTC 2013
From: Lei Yang <lei.yang at windriver.com>
A 802.1q vlan support program,which can be used by virt-test
Signed-off-by: Lei Yang <lei.yang at windriver.com>
---
meta-networking/recipes-support/vlan/vlan_1.9.bb | 23 ++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
create mode 100755 meta-networking/recipes-support/vlan/vlan_1.9.bb
diff --git a/meta-networking/recipes-support/vlan/vlan_1.9.bb b/meta-networking/recipes-support/vlan/vlan_1.9.bb
new file mode 100755
index 0000000..dea3306
--- /dev/null
+++ b/meta-networking/recipes-support/vlan/vlan_1.9.bb
@@ -0,0 +1,23 @@
+SUMMARY = "802.1q vlan support program"
+HOMEPAGE = "http://www.candelatech.com/~greear/vlan.html"
+LICENSE = "GPLv2"
+SECTION = "console/network"
+
+SRC_URI = "http://www.candelatech.com/~greear/vlan/vlan.${PV}.tar.gz"
+SRC_URI[md5sum] = "5f0c6060b33956fb16e11a15467dd394"
+SRC_URI[sha256sum] = "3b8f0a1bf0d3642764e5f646e1f3bbc8b1eeec474a77392d9aeb4868842b4cca"
+LIC_FILES_CHKSUM = "file://macvlan_config.c;beginline=4;endline=62;md5=dc0660d77e4313e8ccdf256fbe436a63"
+
+S = "${WORKDIR}/${PN}"
+
+CCFLAGS = "-g -D_GNU_SOURCE -Wall -I${STAGING_INCDIR}"
+
+do_compile() {
+ ${CC} ${CCFLAGS} -c vconfig.c
+ ${CC} ${CCFLAGS} ${LDFLAGS} -o vconfig vconfig.o
+}
+
+do_install() {
+ install -d "${D}${sbindir}"
+ install -m 755 "${S}/vconfig" "${D}${sbindir}/vconfig"
+}
--
1.7.1
More information about the Openembedded-devel
mailing list