sparse: add as a new package selectable from the config
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 12 Apr 2014 21:21:49 +0000 (21:21 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 12 Apr 2014 21:21:49 +0000 (21:21 +0000)
commit52ba87686299878e3d6adf9ca54e1b67e2ddbc4c
tree6b15651ee1a9e41fc8e642baaf49116acad14ac3
parent30f85788546a1742fa5fc3564597aa12b47b1a2e
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40490 3c298f89-4303-0410-b956-a3cf2f4a3e73
config/Config-kernel.in
include/kernel-defaults.mk
tools/Makefile
tools/sparse/Makefile [new file with mode: 0644]