Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] ltp-testsuite: build kernel modules when appropriate
@ 2016-03-24 14:02 Mason
  2016-03-24 21:25 ` Thomas Petazzoni
  0 siblings, 1 reply; 10+ messages in thread
From: Mason @ 2016-03-24 14:02 UTC (permalink / raw)
  To: buildroot

From: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>

When building a kernel, build LTP's test kernel modules also.

Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
---
 package/ltp-testsuite/ltp-testsuite.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/ltp-testsuite/ltp-testsuite.mk b/package/ltp-testsuite/ltp-testsuite.mk
index 8adfdef68d69..a435a60a2441 100644
--- a/package/ltp-testsuite/ltp-testsuite.mk
+++ b/package/ltp-testsuite/ltp-testsuite.mk
@@ -13,6 +13,13 @@ LTP_TESTSUITE_CONF_OPTS += \
 	--with-power-management-testsuite \
 	--with-realtime-testsuite
 
+ifeq ($(BR2_LINUX_KERNEL),y)
+LTP_TESTSUITE_DEPENDENCIES += linux
+LTP_TESTSUITE_CONF_OPTS += --with-linux-dir=$(LINUX_DIR)
+else
+LTP_TESTSUITE_CONF_OPTS += --without-modules
+endif
+
 # Needs libcap with file attrs which needs attr, so both required
 ifeq ($(BR2_PACKAGE_LIBCAP)$(BR2_PACKAGE_ATTR),yy)
 LTP_TESTSUITE_DEPENDENCIES += libcap
-- 
2.7.0

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-04-18 20:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-24 14:02 [Buildroot] [PATCH] ltp-testsuite: build kernel modules when appropriate Mason
2016-03-24 21:25 ` Thomas Petazzoni
2016-03-28 12:49   ` Mason
2016-03-29 19:12     ` Arnout Vandecappelle
2016-04-04 13:08       ` [Buildroot] [PATCH v2] " Mason
2016-04-05  9:23         ` Arnout Vandecappelle
2016-04-05 11:09           ` [Buildroot] [PATCH v3] " Mason
2016-04-14 19:29             ` Mason
2016-04-18 19:42             ` Thomas Petazzoni
2016-04-18 20:03               ` Mason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox