From: Lei Yang <[email protected]>

A 802.1q vlan support program,which can be used by virt-test

Signed-off-by: Lei Yang <[email protected]>
---
 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

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to