From: Peter Korsgaard Date: Sun, 8 Dec 2013 22:21:50 +0000 (+0100) Subject: Config.in: Add a menu around BR2_EXTERNAL configuration options X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f4ea4b9824138c7e24c9e4876ff09f14e5d48e87;p=buildroot.git Config.in: Add a menu around BR2_EXTERNAL configuration options To make it clear to the user that these options are external to Buildroot and no support is provided by the Buildroot community. With this, there's no need to recommend people to their options inside a menu, so remove that from the documentation. Kconfig nicely allows us to hide the menu completely if BR2_EXTERNAL isn't used, so make use of that to not confuse people. It would be nice if we could add some help text to explain the BR2_EXTERNAL stuff as well, but that isn't supported on menus :/ Signed-off-by: Peter Korsgaard --- diff --git a/Config.in b/Config.in index 12d36b5c83..2b401cb8a2 100644 --- a/Config.in +++ b/Config.in @@ -493,4 +493,9 @@ source "package/Config.in.host" source "Config.in.legacy" +menu "User-provided options" + depends on BR2_EXTERNAL != "support/dummy-external" + source "$BR2_EXTERNAL/Config.in" + +endmenu diff --git a/docs/manual/customize-outside-br.txt b/docs/manual/customize-outside-br.txt index 0aabf5a9b5..19257e690e 100644 --- a/docs/manual/customize-outside-br.txt +++ b/docs/manual/customize-outside-br.txt @@ -89,12 +89,8 @@ The main usage of this is to store package recipes. The recommended like: + ------ -menu " packages" - source "$BR2_EXTERNAL/package/package1/Config.in" source "$BR2_EXTERNAL/package/package2/Config.in" - -endmenu ------ + Then, have a +BR2_EXTERNAL/external.mk+ file that looks like: