diff options
author | David Karlstrom <daka@thg.se> | 2005-07-22 12:42:13 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-07-22 12:42:13 +0000 |
commit | e79d569187ca920ba7b86daf5a1fc5c4e7c45d82 (patch) | |
tree | 28102c082ae13a64ceacf62efccd750d7cea4fb0 /packages | |
parent | 6d68b30b2e7e6fa9b1349578a3aa9725ed7882ca (diff) |
Fixed, no longer uses system includes from the build system
Diffstat (limited to 'packages')
-rw-r--r-- | packages/vlan/vlan_1.8.bb | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/packages/vlan/vlan_1.8.bb b/packages/vlan/vlan_1.8.bb index 01ae798240..44cc9fa06f 100644 --- a/packages/vlan/vlan_1.8.bb +++ b/packages/vlan/vlan_1.8.bb @@ -1,7 +1,7 @@ DESCRIPTION = "802.1q vlan support program" RRECOMMENDS = "kernel-module-8021q" MAINTAINER = "NSLU2 Linux <nslu2-linux@yahoogroups.com>" -PR = "r1" +PR = "r2" S = "${WORKDIR}/vlan/" @@ -10,6 +10,15 @@ SRC_URI = "http://scry.wanfear.com/~greear/vlan/vlan.1.8.tar.gz \ inherit base +CCFLAGS = "-g -D_GNU_SOURCE -Wall -I${STAGING_INCDIR}" +LDLIBS = "" + +do_compile() { + ${CC} ${CCFLAGS} -c vconfig.c + ${CC} ${CCFLAGS} ${LDFLAGS} -o vconfig vconfig.o ${LDLIBS} + ${STRIP} vconfig +} + do_install() { install -d "${D}/usr/sbin" install -m 755 "${S}/vconfig" "${D}/usr/sbin/vconfig" |