]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blobdiff - Config.in
Make savedefconfig save to a configured file.
[coffee/buildroot.git] / Config.in
index af77a83cb648ae9b95c5ca66476ceffe198383fb..4929a8070e85e6019374186fbe38147884f408b8 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -22,6 +22,18 @@ config BR2_HOSTARCH_NEEDS_IA32_LIBS
 
 source "arch/Config.in"
 
+config BR2_DEFCONFIG_FROM_ENV
+       string
+       option env="BR2_DEFCONFIG"
+
+config BR2_DEFCONFIG
+       string "Location to save buildroot config"
+       default BR2_DEFCONFIG_FROM_ENV if BR2_DEFCONFIG_FROM_ENV != ""
+       default "$(CONFIG_DIR)/defconfig"
+       help
+         When running 'make savedefconfig', the defconfig file will be saved
+         in this location.
+
 menu "Build options"
 
 menu "Commands"