From bccfd120278d9d2becc7bb5034218cc266caeac9 Mon Sep 17 00:00:00 2001 From: Markham Date: Sat, 14 Nov 2015 13:27:53 +0100 Subject: [PATCH] add target for Crosstool config --- make/crosstool.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- 2.39.5