sparse: add as a new package selectable from the config
authorJohn Crispin <john@openwrt.org>
Sat, 12 Apr 2014 21:21:49 +0000 (21:21 +0000)
committerJohn Crispin <john@openwrt.org>
Sat, 12 Apr 2014 21:21:49 +0000 (21:21 +0000)
commitf8cae43eee0262293c56762d27affca4ba0fffd3
tree6b15651ee1a9e41fc8e642baaf49116acad14ac3
parente015ce1bb0bfdcddc2286b9b7c3291ab71606745
sparse: add as a new package selectable from the config

This change does multiple things, all related to enable sparse usage as
a static analysis tool selectable from the OpenWrt configuration:
*add a KERNEL_SPARSE option in the config to add sparse to the kernel
 build (through the C=1 option usage)
*add sparse as a new host tools. It will get selected automatically when
 the above option will be enabled

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 40490
config/Config-kernel.in
include/kernel-defaults.mk
tools/Makefile
tools/sparse/Makefile [new file with mode: 0644]