linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 00/38] Makefile reognization
@ 2017-11-11 14:23 Luc Van Oostenryck
  2017-11-11 14:24 ` [PATCH v4 01/38] build: make PREFIX overwritable from the environment Luc Van Oostenryck
                   ` (38 more replies)
  0 siblings, 39 replies; 40+ messages in thread
From: Luc Van Oostenryck @ 2017-11-11 14:23 UTC (permalink / raw)
  To: linux-sparse
  Cc: Luc Van Oostenryck, Uwe Kleine-König, Jeff Layton,
	Josh Triplett, Ramsay Jones

The goal of this series is to reorganize sparse's Makefile
in order to offer a few features asked by the distros:
1) allow CFLAGS & CPPFLAGS to be taken from the command line
2) allow PREFIX to be taken from the environment
Support for pkg-config is removed as well as some old crufts.

This cleanup is based on a previous series by Uwe Kleine-König
and further inspired by a patch and a need from Jeff Layton.

The changes since v1 are:
*) fold the two patches concerning the removal of shared lib support
*) remove the patch using git-clean for 'make clean'

The changes since v2 are:
*) change a commit message to make explicit the fact that
   quiet's commands abbreviated part are also issued for V=1
*) add a convenience rule for running a single test via:
        make validation/<name-of-testfile>.t

The changes since v3 are:
*) make the name 'local.mk' be configurable instead of
   the renaming that was done.
*) move '-fno-strict-aliasing' out of the overridable CFLAGS
*) rename the ...{_OBJS,_LDFLAGS,_LDLIBS} to ...{-objs,-ldflags,-ldlibs}
   to be consistent about the private 'cflags'.

The series is available at:
  git://github.com/lucvoo/sparse.git make-cleanup-v4

Luc Van Oostenryck (32):
  build: fix effectiveness of generated dependencies
  build: remove unused support for pkgconfig
  build: use '-objs' instead of '_EXTRA_DEPS'
  build: use '-ldlibs' instead of '_EXTRA_OBJS'
  build: allow target-specific CFLAGS, CPPFLAGS, LDFLAGS & LDLIBS
  build: allow CFLAGS & friends from command line
  build: avoid rule-specific CFLAGS
  build: use $LIBS directly in the dependency list
  build: no need to use wildcards for generated dependencies
  build: reuse rule for ALL_OBJS
  build: CHECKER_FLAGS=-Wno-vla for all targets
  build: move tests near their use
  build: add note about overwritable vars
  build: remove references to unexisting pre-process.h
  build: move clean & clean-check together
  build: make clean targets quieter
  build: remove rule for shared lib, it's unused
  build: normalize rules
  build: remove the dist rule since unused
  build: use one line per item
  build: allow the name 'local.mk' to be configurable via the environment
  build: use standard rules for install
  build: remove unused QUIET_INST_SH
  build: let quiet commands use less indentation
  build: simplify quiet commands
  build: simplify clean pattern
  build: add *.o to clean-check pattern
  build: avoid foreach
  build: reorg & add comment
  build: use a single space before assignments
  build: add rule to run a single test
  build: let -fno-strict-aliasing be a mandatory flag

Uwe Kleine-König (6):
  build: make PREFIX overwritable from the environment
  build: put comment about local.mk to the place where it is included
  build: drop BASIC_CFLAGS and ALL_CFLAGS
  build: drop -g from LDFLAGS
  build: pass CPPFLAGS to compiler
  build: only generate version.h when needed

 .gitignore   |   3 +-
 Makefile     | 322 ++++++++++++++++++++++++++++++-----------------------------
 sparse.pc.in |   9 --
 3 files changed, 163 insertions(+), 171 deletions(-)
 delete mode 100644 sparse.pc.in

-- 
CC: Uwe Kleine-König <uwe@kleine-koenig.org>
CC: Jeff Layton <jlayton@redhat.com>
CC: Josh Triplett <josh@joshtriplett.org>
CC: Ramsay Jones <ramsay@ramsayjones.plus.com>

^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2017-11-17  9:23 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-11 14:23 [PATCH v4 00/38] Makefile reognization Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 01/38] build: make PREFIX overwritable from the environment Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 02/38] build: put comment about local.mk to the place where it is included Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 03/38] build: drop BASIC_CFLAGS and ALL_CFLAGS Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 04/38] build: drop -g from LDFLAGS Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 05/38] build: pass CPPFLAGS to compiler Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 06/38] build: fix effectiveness of generated dependencies Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 07/38] build: remove unused support for pkgconfig Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 08/38] build: use '-objs' instead of '_EXTRA_DEPS' Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 09/38] build: use '-ldlibs' instead of '_EXTRA_OBJS' Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 10/38] build: allow target-specific CFLAGS, CPPFLAGS, LDFLAGS & LDLIBS Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 11/38] build: allow CFLAGS & friends from command line Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 12/38] build: avoid rule-specific CFLAGS Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 13/38] build: use $LIBS directly in the dependency list Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 14/38] build: no need to use wildcards for generated dependencies Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 15/38] build: reuse rule for ALL_OBJS Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 16/38] build: CHECKER_FLAGS=-Wno-vla for all targets Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 17/38] build: move tests near their use Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 18/38] build: only generate version.h when needed Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 19/38] build: add note about overwritable vars Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 20/38] build: remove references to unexisting pre-process.h Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 21/38] build: move clean & clean-check together Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 22/38] build: make clean targets quieter Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 23/38] build: remove rule for shared lib, it's unused Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 24/38] build: normalize rules Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 25/38] build: remove the dist rule since unused Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 26/38] build: use one line per item Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 27/38] build: allow the name 'local.mk' to be configurable via the environment Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 28/38] build: use standard rules for install Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 29/38] build: remove unused QUIET_INST_SH Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 30/38] build: let quiet commands use less indentation Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 31/38] build: simplify quiet commands Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 32/38] build: simplify clean pattern Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 33/38] build: add *.o to clean-check pattern Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 34/38] build: avoid foreach Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 35/38] build: reorg & add comment Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 36/38] build: use a single space before assignments Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 37/38] build: add rule to run a single test Luc Van Oostenryck
2017-11-11 14:24 ` [PATCH v4 38/38] build: let -fno-strict-aliasing be a mandatory flag Luc Van Oostenryck
2017-11-17  9:23 ` [PATCH v4 00/38] Makefile reognization Luc Van Oostenryck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).