From 81a35d669a3e89d9dba1a093d9bd30fc04e27c06 Mon Sep 17 00:00:00 2001
From: Jo-Philipp Wich <jow@openwrt.org>
Date: Mon, 27 Jul 2015 23:45:15 +0000
Subject: sdk: provide explicit CONFIG_MODULES kconfig symbol

Extend the SDK Config.in file to explicitely declare a MODULES symbol with
the "option modules" flag set in order to prevent a kconfig segmentation fault
whenever a "depends m" dependency is encountered.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 46514
---
 target/sdk/files/Config.in | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'target')

diff --git a/target/sdk/files/Config.in b/target/sdk/files/Config.in
index 4a2f12e74f..6cb3fe8aef 100644
--- a/target/sdk/files/Config.in
+++ b/target/sdk/files/Config.in
@@ -1,2 +1,7 @@
+config MODULES
+	bool
+	default y
+	option modules
+
 source "Config-build.in"
 source "tmp/.config-package.in"
-- 
cgit v1.2.3