From a34c4b6ec6d8fefaadb07ef285c4918397c7e50a Mon Sep 17 00:00:00 2001
From: Mirko Vogt <mirko@openwrt.org>
Date: Tue, 20 Apr 2010 17:19:40 +0000
Subject: [PATCH] add "patented"-build flag to allow packages being with and
 without patented technology

SVN-Revision: 21050
---
 Config.in | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/Config.in b/Config.in
index 2ff2862a2a..ffe1147f44 100644
--- a/Config.in
+++ b/Config.in
@@ -170,9 +170,16 @@ choice
 		depends !USE_EGLIBC
 		help
 		  This will install binaries stripped using sstrip
-
 endchoice
 
+config BUILD_PATENTED
+	default y
+	bool "Compile with support for patented functionality"
+	help
+	  When this option is disabled, software which provides patented functionality will not be built.
+	  In case software provides optional support for patented functionality,
+	  this optional support will get disabled for this package.
+
 config STRIP_ARGS
 	string
 	prompt "Strip arguments"
-- 
2.30.2