From: Markham Date: Sat, 14 Nov 2015 12:27:53 +0000 (+0100) Subject: add target for Crosstool config X-Git-Url: https://git.webhop.me/?a=commitdiff_plain;h=bccfd120278d9d2becc7bb5034218cc266caeac9;p=bs-cst-neutrino-hd.git add target for Crosstool config --- diff --git a/make/crosstool.mk b/make/crosstool.mk index 9d494f3..cc7a7d7 100755 --- a/make/crosstool.mk +++ b/make/crosstool.mk @@ -83,5 +83,17 @@ ccache: 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) + $(REMOVE)/crosstool-ng-$(CROSSTOOL_NG_VER) + $(UNTAR)/crosstool-ng-$(CROSSTOOL_NG_VER).tar.bz2 + set -e; unset CONFIG_SITE; cd $(BUILD_TMP)/crosstool-ng-$(CROSSTOOL_NG_VER); \ + cp -a $(CT_NG_CONFIG) .config; \ + test -f ./configure || ./bootstrap && \ + ./configure --enable-local; MAKELEVEL=0 make; chmod 0755 ct-ng; \ + ./ct-ng menuconfig + + # hack to make sure they are always copied PHONY += crosstool ccache