diff options
author | Mirko Vogt <mirko@openwrt.org> | 2015-03-12 00:39:48 +0000 |
---|---|---|
committer | Mirko Vogt <mirko@openwrt.org> | 2015-03-12 00:39:48 +0000 |
commit | a92786bd2ebe50fb30f7374064c1d0613179e595 (patch) | |
tree | 1b1c67a43b9cfb8511e4d916b3a19285683621f8 /tools/yaffs2 | |
parent | 1815d646dd0172223d5f38d51e26efce8510c04b (diff) | |
download | master-187ad058-a92786bd2ebe50fb30f7374064c1d0613179e595.tar.gz master-187ad058-a92786bd2ebe50fb30f7374064c1d0613179e595.tar.bz2 master-187ad058-a92786bd2ebe50fb30f7374064c1d0613179e595.zip |
Do not use $(V) - force AM_V=1
Projects using silent-rules might otherwise fail to compile.
This is due to the following resulting Makefile code:
AM_V_P = $(am__v_P_$(V))
am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
am__v_P_0 = false
am__v_P_1 = :
Automake directly uses $(V) for variable name expansion
which fails if $(V) is set to sth. else other than '0' or '1'.
This patch forces automake to not take $(V) into account
but to always use the default config for verbosity.
A better approach would be to actually take $(V) into account,
however not just pass it through (AM_V='$(V)') but
set AM_V to 0 if $V=0 / unset and to 1 otherwise.
This plan however is foiled due to my frustration about
automake as well as my lack of m4 skills.
automake bug report: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20077
Signed-off-by: Mirko Vogt <mirko@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44684 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/yaffs2')
0 files changed, 0 insertions, 0 deletions