Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/rauc: needs kernel headers >= 3.0
@ 2018-08-24  8:02 Yann E. MORIN
  2018-08-24 11:49 ` Thomas Petazzoni
  0 siblings, 1 reply; 5+ messages in thread
From: Yann E. MORIN @ 2018-08-24  8:02 UTC (permalink / raw)
  To: buildroot

rauc includes <linux/mmc/ioctl.h> which was introduced only in
linux 3.0.

Also change order to have arch dependencies first.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Andrey Yurovsky <yurovsky@gmail.com>
---
 package/rauc/Config.in | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/package/rauc/Config.in b/package/rauc/Config.in
index 6433b827d3..864aa6b9c6 100644
--- a/package/rauc/Config.in
+++ b/package/rauc/Config.in
@@ -1,8 +1,9 @@
 config BR2_PACKAGE_RAUC
 	bool "rauc"
-	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	depends on BR2_USE_MMU # glib2
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
+	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_OPENSSL
 	select BR2_PACKAGE_DBUS # run-time dependency
@@ -32,6 +33,7 @@ config BR2_PACKAGE_RAUC_JSON
 
 endif
 
-comment "rauc needs a toolchain w/ wchar, threads"
-	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+comment "rauc needs a toolchain w/ wchar, threads, headers >= 3.0"
 	depends on BR2_USE_MMU
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS \
+		|| !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
-- 
2.14.1

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

end of thread, other threads:[~2018-08-24 15:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-24  8:02 [Buildroot] [PATCH] package/rauc: needs kernel headers >= 3.0 Yann E. MORIN
2018-08-24 11:49 ` Thomas Petazzoni
2018-08-24 12:01   ` Yann E. MORIN
2018-08-24 12:37     ` Thomas Petazzoni
2018-08-24 15:40       ` Yann E. MORIN

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