Commit Graph

45 Commits (20ff05089026550b422124a7202048640d53275f)

Author SHA1 Message Date
Felix Fietkau 648b9ba08b scripts/config: sync with linux upstream
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 14:33:53 +00:00
Felix Fietkau aa4cbcc9bb scripts/config: fix segfault introduced in r43652
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-13 14:01:26 +00:00
Jo-Philipp Wich bdcde56bdb scripts/config: remove debug statement
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-12 12:37:51 +00:00
Jo-Philipp Wich 6fa321ff1c scripts/config: support includes relative to the currently processed file
When the initial glob() attempt on a path specified with "source" statement
yields no result, then retry the globbing on the same path with the directory
part of the currently processed file prepended.

This allows us to reference Config.in files relative to their parent instead
of relative to the top dir.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-12 12:29:58 +00:00
Felix Fietkau 3de0703944 scripts/config: make wildcard include with no results non-fatal
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-10 18:58:40 +00:00
Felix Fietkau b49e42cbdd scripts/config: fix an option processing error that caused duplication in diffconfig.sh output (#13384)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-02 14:06:10 +00:00
Felix Fietkau a707ec7ca3 scripts/config: warn on deprected "depends" syntax instead of throwing a syntax error
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36375 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-22 12:53:32 +00:00
Felix Fietkau e1c27ce985 build: add new menuconfig code based on linux 3.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-18 12:05:16 +00:00
Jo-Philipp Wich bb31968b55 scripts/config: fix menuconfig segfault in text inputs when format patterns are entered by the user
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-14 17:11:57 +00:00
Michael Büsch f1f34a5169 mconf: Fix compile warning:
"warning: conflicting types for ‘sym_set_all_changed’"


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-16 17:27:36 +00:00
Felix Fietkau 141e0902dc scripts/config: merge fixes for various issues, including recursive dependency detection/handling (patch by mbm)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28658 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-28 14:09:12 +00:00
Jo-Philipp Wich aa3bc1d684 [PATCH] scripts/config/.gitignore omits source files
scripts/config/.gitignore aims to avoid checking binaries in to git.
Unfortunately it also omits conf.c, confdata.c, and all source files
in lxdialog. An OpenWRT tree pulled from a git repository will not
build, and I suspect this was not the intention.

Signed-off-by: Denton Gentry <denny@geekhold.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-20 10:41:02 +00:00
Felix Fietkau a6091580c3 scripts/config: add an option for making the conf tool write to a different file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-29 02:22:40 +00:00
Florian Fainelli bab9153d71 [scripts] adjust svn:ignore for cygwin builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-05 11:06:21 +00:00
Felix Fietkau efa764f2f0 menuconfig: allow wildcard includes to return no match (#6339)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-11 04:41:56 +00:00
Imre Kaloz bd5e69da17 fix breakage introduced with [17394]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-25 11:56:27 +00:00
Florian Fainelli c1952691e1 [scripts] do not check for a specific Cygwin version, rather check the operating system name directly, thanks AndyI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-25 09:16:03 +00:00
Florian Fainelli 2d495c3e5f [scripts] cygwin also needs to be passed LIBS=-lncurses to link lxdialog successfully
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15183 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-10 10:08:47 +00:00
Felix Fietkau 6d784c2ba2 menuconfig: don't generate inconsistencies when ~/.openwrt/defconfig specifies a default target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-18 20:16:59 +00:00
Felix Fietkau c7a904d8e3 ignore mconf_check
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-20 19:10:09 +00:00
John Crispin 9622d80344 add possibility to set default .config values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-14 02:15:37 +00:00
Felix Fietkau a2f0b50941 add initial version of a package feeds management script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-23 02:39:01 +00:00
Felix Fietkau b0956559a6 color change to make menuconfig easier to read (patch from #1730)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-11 04:03:01 +00:00
Felix Fietkau b764f0e43d remove a useless warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-12 13:23:43 +00:00
Felix Fietkau 41f9b7eff1 Add gitignore files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-29 14:23:25 +00:00
Felix Fietkau a65202bf3f fix menuconfig 'deselect' statement
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-29 11:19:50 +00:00
Felix Fietkau 1759c80817 add 'deselect' property for menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-23 14:03:35 +00:00
Felix Fietkau 95d308680b disable the automatic config reset if 'Advanced configuration options' is selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 16:02:41 +00:00
Felix Fietkau fa0bde3110 force a config reset when the user changes the target platform in menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 14:04:33 +00:00
Felix Fietkau abe006bd5a add openbsd compatibility patch (thanks, wbx)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-10 20:58:51 +00:00
Felix Fietkau cff0488525 *sigh* increase size of the static buffer allocated in menuconfig again
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-17 20:58:47 +00:00
Felix Fietkau c6c8367d10 don't generate .tmpconfig.h and .kconfig.d
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-14 00:48:54 +00:00
Felix Fietkau d2c3551dfb improve ncurses check
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-13 23:19:00 +00:00
Felix Fietkau 979633daa3 fix lxdialog build target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-13 23:11:19 +00:00
Felix Fietkau dfddbd4252 remove useless file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-13 23:09:04 +00:00
Felix Fietkau ce0513f81f fix lxdialog cc/ldflags check script for darwin/osx
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-27 12:20:18 +00:00
Felix Fietkau 4eaa7ce446 disable gettext in menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-27 12:09:30 +00:00
Florian Fainelli bf985f9881 Standardize shell script, closes #788
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-21 13:59:20 +00:00
Felix Fietkau ab87847e4c increase the size of a few static buffers in menuconfig - fixes display of menus with lots of packages
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-08 07:57:58 +00:00
Florian Fainelli 58de48975d FreeBSD fix to generate the menuconfig properly
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-02 13:36:20 +00:00
Felix Fietkau eaf2344f8d add 'reset to defaults' to menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-25 20:06:59 +00:00
Mike Baker 7b37cc4da9 add wildcard support to menuconfig (again)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-12 18:47:57 +00:00
Felix Fietkau 47fe20b27a menuconfig cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-04-20 23:03:42 +00:00
Felix Fietkau 320b38dc4f modify the kconfig system for openwrt
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-04-20 21:00:14 +00:00
Felix Fietkau 8cc7b94ab0 add kconfig from linux 2.6 to scripts/config
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-04-20 20:17:34 +00:00