Commit Graph

32 Commits (d01163df23f99e1b16135a3998d6ccf318306457)

Author SHA1 Message Date
Felix Fietkau 62e361dbf2 build: make the color of the 'configuration out of sync' warning red to make it harder for users to overlook
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 21:12:02 +00:00
Felix Fietkau d4d74c9219 build: fix bad file descriptor issues with the verbosity changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-26 18:13:17 +00:00
Felix Fietkau b5f3dda123 build: rework verbosity level selection
V=99 and V=1 are now deprecated in favor of a new verbosity class system,
though the old flags are still supported.
You can set the V variable on the command line (or OPENWRT_VERBOSE in the
environment) to one or more of the following characters:

- s: stdout+stderr (equal to the old V=99)
- c: commands (for build systems that suppress commands by default, e.g. kbuild)
- w: warnings/errors only (equal to the old V=1)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-26 17:53:56 +00:00
Lars-Peter Clausen 9c13b4a081 Allow colored output to be disabled when running a non-verbose build by
setting NO_COLOR=1


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-08 22:28:19 +00:00
Mike Baker 5092938d8a disable stdin unless make V=99; fixes bug where compilation can stall waiting for input
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-04 04:43:17 +00:00
Felix Fietkau 1c39f1b054 make sure that processed directories are printed on make V=99
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-16 22:18:56 +00:00
Felix Fietkau 5bdd866100 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
Felix Fietkau 149fde8c7b use file descriptors 8 and 9 for build system internal log messages, as apparently bash does not like fds greater than 9 in shell commands on some systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 21:57:57 +00:00
Felix Fietkau f4e7bdac42 large improvement for parallel builds. works without V=99 now and without warnings. tested with -j on an 2x dual core opteron machine
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-09 15:38:45 +00:00
Felix Fietkau 9f1c5d418a add a flag "IGNORE_ERRORS", which can be used to ignore build errors in packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-07 16:45:00 +00:00
Andy Boyett dc5df7cf48 use printf instead of echo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-26 20:54:39 +00:00
Felix Fietkau 3eb49f8d34 add shell compatibility patch from #2659
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-30 21:58:18 +00:00
Felix Fietkau 7f5129c7d9 next round of build system cleanup - convert package/ to new structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 18:22:01 +00:00
Felix Fietkau 32788c07ce fix verbose output with dash as /bin/sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 14:50:15 +00:00
Felix Fietkau 5a344daff1 more build system cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-28 13:00:43 +00:00
Mike Baker 2f6de831ee minor tweaks to the verbose system
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-11 22:59:42 +00:00
Mike Baker 44dcffafcc fix colors when compiling with some newer versions of bash
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-30 18:30:20 +00:00
Felix Fietkau 3996819400 another optimization
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-12 01:55:28 +00:00
Felix Fietkau eab5bb6f05 use 'false' instead of '/bin/false'
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-27 12:04:54 +00:00
Mike Baker 8c4984680c automatically turn off colors
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-04 20:46:47 +00:00
Felix Fietkau 55c64ab5cb fix NO_TRACE_MAKE
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-22 12:16:26 +00:00
Mike Baker b1b752968a cleanup & revert [4159]
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-20 17:15:12 +00:00
Felix Fietkau 0af456a5e9 fix KBUILD_VERBOSE if V is unset
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4160 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-18 21:28:59 +00:00
Felix Fietkau 07510ef207 accept V= from the environment as well
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-18 21:26:56 +00:00
Mike Baker d5e6cffef8 fix broken .pkginfo under certain situations
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-10 16:51:59 +00:00
Felix Fietkau fd5bed48d7 always set NO_TRACE_MAKE
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-02 00:56:53 +00:00
Mike Baker 16102085e1 minor changes
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-27 23:52:30 +00:00
Mike Baker f9e5c1b1d5 credit where credit is due
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-27 00:35:46 +00:00
Mike Baker 951735a1fe prevent verbose script from corrupting .pkginfo
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-23 22:46:07 +00:00
Mike Baker 2feb2b9d8d set default verbosity to 0
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-23 22:20:05 +00:00
Mike Baker 57013b9f30 switch on new verbose system
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-23 21:47:24 +00:00
Mike Baker be38e0f2ee new verbose/trace script for make
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-23 17:14:34 +00:00