From 12bb716ac3dacb9fe835f2adcb23c4234d74003c Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sat, 12 Apr 2014 21:21:49 +0000 Subject: 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40490 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- tools/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/Makefile') diff --git a/tools/Makefile b/tools/Makefile index 428cf0bedb..75d2b0d892 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -38,6 +38,7 @@ tools-$(CONFIG_TARGET_ar71xx) += lzma-old squashfs tools-y += lzma squashfs4 tools-$(BUILD_B43_TOOLS) += b43-tools tools-$(BUILD_PPL_CLOOG) += ppl cloog +tools-$(CONFIG_USE_SPARSE) += sparse # builddir dependencies $(curdir)/bison/compile := $(curdir)/flex/install -- cgit v1.2.3