]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
Fix optional static code analysis using sparse
authorTheodore Ts'o <tytso@mit.edu>
Thu, 24 Oct 2013 00:09:12 +0000 (20:09 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 24 Oct 2013 00:09:12 +0000 (20:09 -0400)
commit5f16f6c337feca8bdfb728af8585626e72a69640
tree44232245c06a88d210ee9615e1c439f036f058a0
parentd87f198ca3250c9dff6a4002cd2bbbb5ab6f113a
Fix optional static code analysis using sparse

Commit 832cb612: "e2fsprogs: add (optional) sparse checking to the
build" breaks systems that are not using GNU make.  In addition, it
breaks if the developer tries to build in a subdirectory (i.e., if he
or she tries running "make" in the misc or e2fsck or lib/ext2fs
directory), since CHECK_CMD is not set.

Fix this by moving the sparse setup to MCONFIG.

Cc: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
MCONFIG.in
Makefile.in