[oe] [PATCH] vblade: Pass LDFLAGS to final link. Fixes GNU_HASH QA error.
Paul Menzel
paulepanter at users.sourceforge.net
Thu Jul 21 09:25:29 UTC 2011
Dear Mike,
thank you for your patch.
Am Donnerstag, den 21.07.2011, 08:36 +0100 schrieb Mike Stirling:
> From: Mike Stirling <mstirling at chipwrights.com>
>
> Signed-off-by: Mike Stirling <mstirling at chipwrights.com>
> ---
> 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
Could you please add a patch header [1]?
It would be great if you could send the patch (and the other one)
upstream [2] too or check if it has been fixed in vblade 20.
> @@ -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
I build tested this patch on `angstrom-2010.x` and `minimal{,-uclibc}`
for `MACHINE = "beagleboard"`.
Acked-by: Paul Menzel <paulepanter at users.sourceforge.net>
Thanks,
Paul
[1] http://openembedded.org/index.php/Commit_Patch_Message_Guidelines
[2] http://aoetools.sourceforge.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110721/39ba33b1/attachment-0002.sig>
More information about the Openembedded-devel
mailing list