From: Mike Stirling <[email protected]>

Signed-off-by: Mike Stirling <[email protected]>
---
 recipes/vblade/files/ldflags.patch |   12 ++++++++++++
 recipes/vblade/vblade_19.bb        |    5 +++--
 2 files changed, 15 insertions(+), 2 deletions(-)
 create mode 100644 recipes/vblade/files/ldflags.patch

diff --git a/recipes/vblade/files/ldflags.patch 
b/recipes/vblade/files/ldflags.patch
new file mode 100644
index 0000000..3350513
--- /dev/null
+++ b/recipes/vblade/files/ldflags.patch
@@ -0,0 +1,12 @@
+diff -urN vblade-19.orig/makefile vblade-19/makefile
+--- vblade-19.orig/makefile    2011-07-20 15:45:43.851538824 +0100
++++ vblade-19/makefile 2011-07-20 15:46:26.863358466 +0100
+@@ -11,7 +11,7 @@
+ O=aoe.o bpf.o ${PLATFORM}.o ata.o
+ 
+ vblade: $O
+-      ${CC} -o vblade $O
++      ${CC} ${LDFLAGS} -o vblade $O
+ 
+ aoe.o : aoe.c config.h dat.h fns.h makefile
+       ${CC} ${CFLAGS} -c $<
diff --git a/recipes/vblade/vblade_19.bb b/recipes/vblade/vblade_19.bb
index f100a46..7b3504a 100644
--- a/recipes/vblade/vblade_19.bb
+++ b/recipes/vblade/vblade_19.bb
@@ -1,10 +1,11 @@
 DESCRIPTION = "Virtual EtherDrive blade AoE target"
 SECTION = "console/network"
-PR = "r1"
+PR = "r2"
 LICENSE = "GPL"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/aoetools/${PN}-${PV}.tgz \
-          file://cross.patch"
+          file://cross.patch \
+          file://ldflags.patch"
 
 inherit autotools
 
-- 
1.7.0.4


Closed IPTV, the new safe and secure deterministic IP Video solution from 
Dedicated Micros, is now shipping through selected distributors.
- Come and see this award winning plug and play, IP Video innovation at one of 
our Roadshows around the UK visit: 
https://www.dedicatedmicros.com/europe/ClosedIPTVRoadshow2011
- Contact our Customer Services Team for more information regarding how to 
enter the world of safe and secure hybrid IP and analogue video surveillance 
systems.

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

Reply via email to