[generic/2.6.32] silence an annoying x86 warning
[openwrt/svn-archive/archive.git] / tools / Makefile
index 48cfbbcc5f93a613fe64fd1716ddb75af0d95a4c..6635b68e25836bbb5d3b7838c0330cd82d15a1b5 100644 (file)
@@ -25,6 +25,10 @@ tools-y += lzma-old squashfs
 endif
 tools-y += lzma squashfs4
 
+ifneq ($(CONFIG_PACKAGE_firmwarehotplug),)
+tools-y += sdcc
+endif
+
 ifdef CONFIG_GCC_USE_GRAPHITE
   ifeq ($(CONFIG_GCC_USE_SYSTEM_PPL_CLOOG),)
        tools-y += ppl cloog
@@ -102,6 +106,7 @@ endef
 endif
 
 $(STAGING_DIR_HOST)/bin/stat: $(STAGING_DIR)/.prepared
+       @rm -f $@
        @if stat --version > /dev/null 2>&1; then \
                ln -s `which stat` $@; \
        elif gstat --version > /dev/null 2>&1; then \