]> Git Repo - linux.git/commit
tools/mm: allow users to provide additional cflags/ldflags
authorHerton R. Krzesinski <[email protected]>
Mon, 16 Jan 2023 22:49:21 +0000 (19:49 -0300)
committerAndrew Morton <[email protected]>
Fri, 3 Feb 2023 06:33:24 +0000 (22:33 -0800)
commite6d2c436ff693869e83a65e61643b922e193e162
tree42c2a2597c32d339fc1bbcde6fb50ce1a4884997
parentd0634a622be35df2dfa80dc14ee1482ae1889cb2
tools/mm: allow users to provide additional cflags/ldflags

Right now there is no way to provide additional cflags/ldflags when
building tools/vm binaries.  And using eg.  make CFLAGS=<options> will
override the CFLAGS being set in the Makefile, making the build fail since
it requires the include of the ../lib dir (for libapi).

This change then allows you to specify:
CFLAGS=<options> LDFLAGS=<options> make V=1 -C tools/vm

And the options will be correctly appended as can be seen from the
make output.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Herton R. Krzesinski <[email protected]>
Cc: Don Zickus <[email protected]>
Cc: Justin Forbes <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Cc: Scott Weaver <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
tools/mm/Makefile
This page took 0.047737 seconds and 4 git commands to generate.