diff options
author | Roy Li <rongqing.li@windriver.com> | 2014-06-24 11:11:21 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2014-06-29 22:53:05 -0400 |
commit | 43da512cc3a5860c2e274225e73bc721d6d97918 (patch) | |
tree | a72b15308ab39d689bf628df6e6638791276332e /meta-networking/recipes-daemons | |
parent | e988ed754ba2d18d8f08903d0a034b64f169bd4a (diff) | |
download | meta-openembedded-43da512cc3a5860c2e274225e73bc721d6d97918.tar.gz |
tftp-hpa: fix a build failure
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>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-daemons')
-rw-r--r-- | meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb | 2 |
1 files changed, 2 insertions, 0 deletions
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 366a4e9d4..19517473f 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 | |||
32 | 32 | ||
33 | inherit autotools-brokensep update-rc.d update-alternatives | 33 | inherit autotools-brokensep update-rc.d update-alternatives |
34 | 34 | ||
35 | export AR = "${HOST_PREFIX}ar cq" | ||
36 | |||
35 | EXTRA_OECONF += "--disable-option-checking" | 37 | EXTRA_OECONF += "--disable-option-checking" |
36 | 38 | ||
37 | # configure.in has errors | 39 | # configure.in has errors |