No one sane would you 'ct-ng config' to configure crosstool-NG.
Remove this useless rule.
/trunk/kconfig/kconfig.mk | 8 2 6 0 ++------
/trunk/ct-ng.comp | 2 1 1 0 +-
2 files changed, 3 insertions(+), 7 deletions(-)
2 # Makefile for crosstool-NG.
3 # Copyright 2006 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
5 # Don't print directory as we descend into them
6 # Don't use built-in rules, we know what we're doing
7 MAKEFLAGS += --no-print-directory --no-builtin-rules
9 # Some distributions (eg. Ubuntu) thought it wise to point /bin/sh to
10 # a truly POSIX-conforming shell, ash in this case. This is not so good
11 # as we, smart (haha!) developers (as smart we ourselves think we are),
12 # got used to bashisms, and are enclined to easiness... So force use of
13 # bash. (Note: this is ugly, but ./configure checks for it).
14 export SHELL=/bin/bash
16 # This is where ct-ng is.
17 # Don't bother to change it other than with a new ./configure!
18 CT_NG:=@@CT_BINDIR@@/ct-ng
20 export CT_TOP_DIR:=$(shell pwd)
21 export CT_LIB_DIR:=@@CT_LIBDIR@@
22 export CT_DOC_DIR:=@@CT_DOCDIR@@
24 # This is crosstool-NG version string
25 export CT_VERSION:=@@CT_VERSION@@
27 export CT_STOP:=$(STOP)
28 export CT_RESTART:=$(RESTART)
35 HOST_CC := gcc -funsigned-char
38 help:: help-head help-config help-samples help-build help-clean help-distrib help-env help-tail
41 @echo 'See below for a list of available actions, listed by category:'
45 @echo 'Configuration actions:'
49 @echo 'Preconfigured toolchains:'
53 @echo 'Build actions (#: force number of // jobs):'
57 @echo 'Clean actions:'
61 @echo 'Distribution actions:'
65 @echo 'Environement variables (see @@CT_DOCDIR@@/overview.txt):'
69 @echo 'Execute "$(CT_NG) config" or "$(CT_NG) menuconfig" to configure crosstool-NG'
70 @echo 'Execute "$(CT_NG) build" to build your toolchain'
71 @echo 'Execute "$(CT_NG) version" to see the version'
72 @echo 'See "man 1 ct-ng" for some help as well'
77 @echo ' build[.#] - Build the toolchain'
80 @echo ' clean - Remove generated files'
81 @echo ' distclean - Remove generated files, configuration and build directories'
83 include $(CT_LIB_DIR)/kconfig/kconfig.mk
84 include $(CT_LIB_DIR)/steps.mk
85 include $(CT_LIB_DIR)/samples/samples.mk
86 include $(CT_LIB_DIR)/tools/tools.mk
89 @echo ' tarball - Build a tarball of the configured toolchain'
92 @echo ' STOP - Stop the build just after this step'
93 @echo ' RESTART - Restart the build just before this step'
96 @echo 'You must run either one of "$(CT_NG) config" or "$(CT_NG) menuconfig" first'
101 @$(CT_LIB_DIR)/scripts/crosstool.sh
104 @$(CT_NG) $(shell echo "$(@)" |sed -r -e 's|^([^.]+)\.([[:digit:]]+)$$|\1 CT_JOBS=\2|;')
108 # @$(CT_LIB_DIR)/scripts/tarball.sh
110 @echo 'Tarbal creation disabled for now... Sorry.'
115 @echo 'This is crosstool-NG version $(CT_VERSION)'
117 @echo 'Copyright (C) 2008 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>'
118 @echo 'This is free software; see the source for copying conditions.'
119 @echo 'There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A'
120 @echo 'PARTICULAR PURPOSE.'
124 @rm -f $(CT_TOP_DIR)/.config.*
128 @rm -f $(CT_TOP_DIR)/.config* $(CT_TOP_DIR)/..config.tmp
129 @rm -f $(CT_TOP_DIR)/log.*
130 @[ ! -d "$(CT_TOP_DIR)/targets" ] || chmod -R u+w "$(CT_TOP_DIR)/targets"
131 @rm -rf "$(CT_TOP_DIR)/targets"