Commit Graph

23 Commits (0a06fcf608ddf1f5db389decf266283392344784)

Author SHA1 Message Date
Daniel Engberg 0aaa650755 include/verbose.mk: Add sc to failure message
Add sc to build error message

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
6 years ago
李国 671999157d verbose.mk: quote SUBMAKE options
build openwrt on centos 6 I should use devtoolset-3 to get gcc 4.9, but
it fail when make menuconfig. so I have to give option HOSTCC='gcc
-Wl,--copy-dt-needed-entries' to make. But it passed to sub make to
HOSTCC=gcc as micro SUBMAKE expand to HOSTCC=gcc
-Wl,--copy-dt-needed-entries. This patch fix this issue.

make -C build menuconfig HOSTCC='gcc -Wl,--copy-dt-needed-entries' V='1'
make: Entering directory `/work/openwrt/openwrt/build'
/opt/rh/devtoolset-3/root/usr/libexec/gcc/x86_64-redhat-linux/4.9.2/ld:
lxdialog/checklist.o: undefined reference to symbol 'acs_map'
//lib64/libtinfo.so.5: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [mconf] Error 1
make -s -C scripts/config all CC=gcc -Wl,--copy-dt-needed-entries: build
failed. Please re-run make with -j1 V=s to see what's going on
make: *** [scripts/config/mconf] Error 1
make: Leaving directory `/work/openwrt/openwrt/build'

Signed-off-by: 李国 <uxgood.org@gmail.com>
6 years ago
Felix Fietkau a0ced5164a build: tell users to do non-paralle builds on errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45457
9 years ago
Luka Perkov 7002f6326e include: remove trailing whitespaces
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 45127
9 years ago
Felix Fietkau a4c8d4e377 build: make the color of the 'configuration out of sync' warning red to make it harder for users to overlook
SVN-Revision: 36082
11 years ago
Felix Fietkau 6af6c0ae76 build: fix bad file descriptor issues with the verbosity changes
SVN-Revision: 31486
12 years ago
Felix Fietkau 34ffb526a2 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)

SVN-Revision: 31484
12 years ago
Lars-Peter Clausen 6f3db147b6 Allow colored output to be disabled when running a non-verbose build by setting NO_COLOR=1
SVN-Revision: 19560
14 years ago
Mike Baker 129a1e0714 disable stdin unless make V=99; fixes bug where compilation can stall waiting for input
SVN-Revision: 19511
14 years ago
Felix Fietkau 4af8308788 make sure that processed directories are printed on make V=99
SVN-Revision: 19174
14 years ago
Felix Fietkau 34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
15 years ago
Felix Fietkau dea3f68b35 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
SVN-Revision: 11515
16 years ago
Felix Fietkau 4c665e6ca4 large improvement for parallel builds. works without V=99 now and without warnings. tested with -j on an 2x dual core opteron machine
SVN-Revision: 11414
16 years ago
Felix Fietkau 31a3a503cc add a flag "IGNORE_ERRORS", which can be used to ignore build errors in packages
SVN-Revision: 11059
16 years ago
Andy Boyett ec849ba7c8 use printf instead of echo
SVN-Revision: 9932
17 years ago
Felix Fietkau 40840d495f add shell compatibility patch from #2659
SVN-Revision: 9643
17 years ago
Felix Fietkau 49e628f765 next round of build system cleanup - convert package/ to new structure
SVN-Revision: 8236
17 years ago
Felix Fietkau e23c6c4b6b fix verbose output with dash as /bin/sh
SVN-Revision: 8227
17 years ago
Felix Fietkau 9c88ba80b9 more build system cleanup
SVN-Revision: 8206
17 years ago
Mike Baker 9b62c7eb9d minor tweaks to the verbose system
SVN-Revision: 6936
17 years ago
Mike Baker 9fffc68101 fix colors when compiling with some newer versions of bash
SVN-Revision: 6231
17 years ago
Felix Fietkau cf10a1dd5e another optimization
SVN-Revision: 5507
18 years ago
Felix Fietkau 60c1f0f64d finally move buildroot-ng to trunk 8 years ago