Skip to contentSkip to conversation

ltp-testsuite: don't include host headers

PATCH New Baruch Siach 2 participants 4 messages Sep 30, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ltp-testsuite: don't include host headers

$SYSROOT defaults to empty, so we must set it to our sysroot.

Fixes:
http://autobuild.buildroot.net/results/812/812986b00786972d4e7fbb0362460a0de8a70472/
http://autobuild.buildroot.net/results/4a3/4a3c7ea4eb08248f2aec45d8efc111087bc1327f/
http://autobuild.buildroot.net/results/8b6/8b6f7adb5546387c25f3a4c9d8e6f72f4b62b9a4/

and more.

---
 package/ltp-testsuite/ltp-testsuite.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/ltp-testsuite/ltp-testsuite.mk +2 -1
index 32038a03a917..b23cc05441dc 100644
@@ -35,6 +35,7 @@ endif
 LTP_TESTSUITE_CONF_ENV += \
 	CFLAGS="$(LTP_TESTSUITE_CFLAGS)" \
 	CPPFLAGS="$(LTP_TESTSUITE_CPPFLAGS)" \
-	LIBS="$(LTP_TESTSUITE_LIBS)"
+	LIBS="$(LTP_TESTSUITE_LIBS)" \
+	SYSROOT="$(STAGING_DIR)"
 
 $(eval $(autotools-package))
Signature · 1 line
2.5.3
#1 lore raw

PATCH 2/2 ltp-testsuite: don't link with libtirpc

Buildroot patches libtirpc to remove auth_des support. This breaks tirpc test build. Remove support for libtirpc for now.

Fixes:
http://autobuild.buildroot.net/results/301/3015eee7b1b6b240e7948b08954d273d28f44c32/

Cc Anders Roxell <[email protected]>
Cc Thomas De Schampheleire <[email protected]>
---
 package/ltp-testsuite/ltp-testsuite.mk | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
package/ltp-testsuite/ltp-testsuite.mk +1 -8
index b23cc05441dc..7fe42eb82ff9 100644
@@ -24,18 +24,11 @@ endif
 # support.
 LTP_TESTSUITE_CFLAGS = $(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CFLAGS))
 LTP_TESTSUITE_CPPFLAGS = $(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CPPFLAGS))
-LTP_TESTSUITE_LIBS =
-
-ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
-LTP_TESTSUITE_DEPENDENCIES += libtirpc host-pkgconf
-LTP_TESTSUITE_CFLAGS += "`$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc`"
-LTP_TESTSUITE_LIBS += "`$(PKG_CONFIG_HOST_BINARY) --libs libtirpc`"
-endif
 
 LTP_TESTSUITE_CONF_ENV += \
+	ac_cv_header_tirpc_netconfig_h=no \
 	CFLAGS="$(LTP_TESTSUITE_CFLAGS)" \
 	CPPFLAGS="$(LTP_TESTSUITE_CPPFLAGS)" \
-	LIBS="$(LTP_TESTSUITE_LIBS)" \
 	SYSROOT="$(STAGING_DIR)"
 
 $(eval $(autotools-package))
Signature · 1 line
2.5.3
#2 lore raw

PATCH 2/2 ltp-testsuite: don't link with libtirpc

Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> writes:

Buildroot patches libtirpc to remove auth_des support. This breaks tirpc test build. Remove support for libtirpc for now.

Fixes:
http://autobuild.buildroot.net/results/301/3015eee7b1b6b240e7948b08954d273d28f44c32/

Cc Anders Roxell <[email protected]>
Cc Thomas De Schampheleire <[email protected]>

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 1/2 ltp-testsuite: don't include host headers

In reply to Baruch Siach
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> writes:

$SYSROOT defaults to empty, so we must set it to our sysroot. Fixes:
http://autobuild.buildroot.net/results/812/812986b00786972d4e7fbb0362460a0de8a70472/
http://autobuild.buildroot.net/results/4a3/4a3c7ea4eb08248f2aec45d8efc111087bc1327f/
http://autobuild.buildroot.net/results/8b6/8b6f7adb5546387c25f3a4c9d8e6f72f4b62b9a4/

Quoted 4 lines

and more.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard