sparse: add as a new package selectable from the config
authorJohn Crispin <blogic@openwrt.org>
Sat, 12 Apr 2014 21:21:49 +0000 (21:21 +0000)
committerJohn Crispin <blogic@openwrt.org>
Sat, 12 Apr 2014 21:21:49 +0000 (21:21 +0000)
commit12bb716ac3dacb9fe835f2adcb23c4234d74003c
tree6b15651ee1a9e41fc8e642baaf49116acad14ac3
parent9f3447fc0e3c5933c2b215bb6298b525404f0283
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]