@echo ""
@false
+# helper target to create ccache links (make sure to have ccache installed in /usr/bin ;)
+ccache: $(HOSTPREFIX)/bin
+ ln -sf /usr/bin/ccache $(HOSTPREFIX)/bin/cc
+ ln -sf /usr/bin/ccache $(HOSTPREFIX)/bin/gcc
+ ln -sf /usr/bin/ccache $(HOSTPREFIX)/bin/g++
+ ln -sf /usr/bin/ccache $(HOSTPREFIX)/bin/$(TARGET)-gcc
+ ln -sf /usr/bin/ccache $(HOSTPREFIX)/bin/$(TARGET)-g++
+
# hack to make sure they are always copied
PHONY += $(TARGETPREFIX)/lib
PHONY += $(TARGETPREFIX)/lib/firmware
PHONY += $(TARGETPREFIX)/lib/modules/$(KVERSION_FULL)
PHONY += $(TARGETPREFIX)/lib/libc.so.6
-PHONY += targetprefix skeleton
+PHONY += ccache crosstool targetprefix skeleton
endif # ifeq ($(PLATFORM), nevis)
-# helper target to create ccache links (make sure to have ccache installed in /usr/bin ;)
-ccache:
- ln -s /usr/bin/ccache $(HOSTPREFIX)/bin/cc
- ln -s /usr/bin/ccache $(HOSTPREFIX)/bin/gcc
- ln -s /usr/bin/ccache $(HOSTPREFIX)/bin/g++
- ln -s /usr/bin/ccache $(HOSTPREFIX)/bin/$(TARGET)-gcc
- ln -s /usr/bin/ccache $(HOSTPREFIX)/bin/$(TARGET)-g++
-
# Crosstool configuration
crossmenuconfig: $(ARCHIVE)/crosstool-ng-$(CROSSTOOL_NG_VER).tar.bz2
make $(BUILD_TMP)
mv $(BUILD_TMP)/uClibc-$(UCLIBC_VER) $(BUILD_TMP)/uClibc-$(UCLIBC_VER)_mc
set -e; cd $(BUILD_TMP)/uClibc-$(UCLIBC_VER)_mc; \
make menuconfig
-
-# hack to make sure they are always copied
-PHONY += crosstool ccache