From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [80.91.229.2] (helo=ciao.gmane.org) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1Lvwq5-0007sE-43 for openembedded-devel@openembedded.org; Mon, 20 Apr 2009 18:59:25 +0200 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Lvwlq-0005cs-ML for openembedded-devel@openembedded.org; Mon, 20 Apr 2009 16:55:02 +0000 Received: from s55917625.adsl.wanadoo.nl ([85.145.118.37]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Apr 2009 16:55:02 +0000 Received: from k.kooi by s55917625.adsl.wanadoo.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Apr 2009 16:55:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: openembedded-devel@openembedded.org From: Koen Kooi Date: Mon, 20 Apr 2009 18:33:55 +0200 Message-ID: References: <1240241104-21935-1-git-send-email-marcin@juszkiewicz.com.pl> <1240241104-21935-10-git-send-email-marcin@juszkiewicz.com.pl> Mime-Version: 1.0 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: s55917625.adsl.wanadoo.nl User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b4pre) Gecko/20090415 Shredder/3.0b3pre In-Reply-To: <1240241104-21935-10-git-send-email-marcin@juszkiewicz.com.pl> Sender: news Subject: Re: [STABLE][PATCH 1/1] hostap-utils-0.4.7: use LDFLAGS (fixes QA error) X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Apr 2009 16:59:25 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Acked-by: Koen Kooi On 20-04-09 17:25, Marcin Juszkiewicz wrote: > From: Jeremy Lainé > > --- > recipes/hostap/hostap-utils-0.4.7/ldflags.patch | 24 +++++++++++++++++++++++ > recipes/hostap/hostap-utils_0.4.7.bb | 24 ++++++++++++++++++++++- > 2 files changed, 47 insertions(+), 1 deletions(-) > create mode 100644 recipes/hostap/hostap-utils-0.4.7/ldflags.patch > > diff --git a/recipes/hostap/hostap-utils-0.4.7/ldflags.patch b/recipes/hostap/hostap-utils-0.4.7/ldflags.patch > new file mode 100644 > index 0000000..d2ca298 > --- /dev/null > +++ b/recipes/hostap/hostap-utils-0.4.7/ldflags.patch > @@ -0,0 +1,24 @@ > +diff -urN hostap-utils-0.4.7.orig/Makefile hostap-utils-0.4.7/Makefile > +--- hostap-utils-0.4.7.orig/Makefile 2005-01-01 06:42:51.000000000 +0000 > ++++ hostap-utils-0.4.7/Makefile 2009-04-08 08:36:46.000000000 +0000 > +@@ -14,17 +14,17 @@ > + hostap_crypt_conf: hostap_crypt_conf.c > + > + hostap_diag: hostap_diag.o util.o > +- $(CC) -o hostap_diag $(CFLAGS) hostap_diag.o util.o > ++ $(CC) -o hostap_diag $(CFLAGS) $(LDFLAGS) hostap_diag.o util.o > + > + hostap_diag.o: hostap_diag.c util.h > + > + util.o: util.c util.h > + > + hostap_io_debug: hostap_io_debug.c > +- $(CC) -o hostap_io_debug $(CFLAGS) hostap_io_debug.c > ++ $(CC) -o hostap_io_debug $(CFLAGS) $(LDFLAGS) hostap_io_debug.c > + > + hostap_rid: hostap_rid.o util.o > +- $(CC) -o hostap_rid $(CFLAGS) hostap_rid.o util.o > ++ $(CC) -o hostap_rid $(CFLAGS) $(LDFLAGS) hostap_rid.o util.o > + > + hostap_rid.o: hostap_rid.c util.h > + > diff --git a/recipes/hostap/hostap-utils_0.4.7.bb b/recipes/hostap/hostap-utils_0.4.7.bb > index 9fe362b..5635947 100644 > --- a/recipes/hostap/hostap-utils_0.4.7.bb > +++ b/recipes/hostap/hostap-utils_0.4.7.bb > @@ -1 +1,23 @@ > -require hostap-utils.inc > +DESCRIPTION = "User mode helpers for the hostap driver" > +HOMEPAGE = "http://hostap.epitest.fi" > +SECTION = "kernel/userland" > +PRIORITY = "optional" > +LICENSE = "GPL" > +PR = "r6" > + > +SRC_URI = "http://hostap.epitest.fi/releases/hostap-utils-${PV}.tar.gz \ > + file://hostap-fw-load.patch;patch=1 \ > + file://ldflags.patch;patch=1" > + > +S = "${WORKDIR}/hostap-utils-${PV}" > + > +BINARIES = "hostap_crypt_conf hostap_diag hostap_fw_load hostap_io_debug \ > + hostap_rid prism2_param prism2_srec split_combined_hex" > + > +do_install() { > + install -d ${D}${sbindir}/ > + for f in ${BINARIES} > + do > + install -m 0755 $f ${D}${sbindir}/ > + done > +}