* [PATCH][meta-networking] tftp-hpa: fix a build failure
@ 2014-06-24 3:11 rongqing.li
2014-06-30 3:33 ` Joe MacDonald
0 siblings, 1 reply; 2+ messages in thread
From: rongqing.li @ 2014-06-24 3:11 UTC (permalink / raw)
To: openembedded-devel
From: Roy Li <rongqing.li@windriver.com>
AR is defined as "ar cq" in MCONFIG.in, then "cq" is no longer needed in
Makefile of common and libs subdir.
#grep AR MCONFIG.in
AR = ar cq
#
#grep AR common/Makefile
$(AR) $(LIB) $(OBJS)
#
But MCONFIG maybe not able to be generated by MCONFIG.in, common/Makefile
allows this condition [Note the - before include]
#grep MCONFIG common/Makefile
-include ../MCONFIG
#
then AR from building environment is used, but it not included the parameter
"cq", and lead to below error, so add the "cq" to AR to fix this issue.
i586-wrs-linux-ar libcommon.a tftpsubs.
i586-wrs-linux-ar: two different operation options specified
Signed-off-by: Roy Li <rongqing.li@windriver.com>
---
meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb b/meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb
index 366a4e9..1951747 100644
--- a/meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb
+++ b/meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb
@@ -32,6 +32,8 @@ SRC_URI[sha256sum] = "0a9f88d4c1c02687b4853b02ab5dd8779d4de4ffdb9b2e5c9332841304
inherit autotools-brokensep update-rc.d update-alternatives
+export AR = "${HOST_PREFIX}ar cq"
+
EXTRA_OECONF += "--disable-option-checking"
# configure.in has errors
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH][meta-networking] tftp-hpa: fix a build failure
2014-06-24 3:11 [PATCH][meta-networking] tftp-hpa: fix a build failure rongqing.li
@ 2014-06-30 3:33 ` Joe MacDonald
0 siblings, 0 replies; 2+ messages in thread
From: Joe MacDonald @ 2014-06-30 3:33 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1700 bytes --]
Merged, thanks.
-J.
[[oe] [PATCH][meta-networking] tftp-hpa: fix a build failure] On 14.06.24 (Tue 11:11) rongqing.li@windriver.com wrote:
> From: Roy Li <rongqing.li@windriver.com>
>
> AR is defined as "ar cq" in MCONFIG.in, then "cq" is no longer needed in
> Makefile of common and libs subdir.
> #grep AR MCONFIG.in
> AR = ar cq
> #
>
> #grep AR common/Makefile
> $(AR) $(LIB) $(OBJS)
> #
> But MCONFIG maybe not able to be generated by MCONFIG.in, common/Makefile
> allows this condition [Note the - before include]
> #grep MCONFIG common/Makefile
> -include ../MCONFIG
> #
> then AR from building environment is used, but it not included the parameter
> "cq", and lead to below error, so add the "cq" to AR to fix this issue.
> i586-wrs-linux-ar libcommon.a tftpsubs.
> i586-wrs-linux-ar: two different operation options specified
>
> Signed-off-by: Roy Li <rongqing.li@windriver.com>
> ---
> meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb b/meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb
> index 366a4e9..1951747 100644
> --- a/meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb
> +++ b/meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb
> @@ -32,6 +32,8 @@ SRC_URI[sha256sum] = "0a9f88d4c1c02687b4853b02ab5dd8779d4de4ffdb9b2e5c9332841304
>
> inherit autotools-brokensep update-rc.d update-alternatives
>
> +export AR = "${HOST_PREFIX}ar cq"
> +
> EXTRA_OECONF += "--disable-option-checking"
>
> # configure.in has errors
> --
> 1.7.10.4
>
--
-Joe MacDonald.
:wq
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-30 3:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-24 3:11 [PATCH][meta-networking] tftp-hpa: fix a build failure rongqing.li
2014-06-30 3:33 ` Joe MacDonald
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox