summaryrefslogtreecommitdiff
path: root/Makefile.in
AgeCommit message (Collapse)AuthorFilesLines
2013-09-14configure: Add --with-gperf optionRay Donnelly1-0/+3
On OS X, Apple supply an old gperf (3.0.3) with xcode and xcode commandline tools which causes build failures: ./zconf.hash.c:183:17: error: expected expression {offsetof(struct kconf_id_strings_t, kconf_id_strings_str2), .. upgrading to gperf 3.0.4 was sufficient to fix this, so this option allows the user to specify the gperf program that they wish to use. To install gperf 3.0.4 from homebrew, I did: brew tap homebrew/dupes brew install homebrew/dupes/gperf .. then passed --with-gperf=$BREWFIX/Cellar/gperf/3.0.4/bin/gperf to configure Signed-off-by: Ray Donnelly <mingw.android@gmail.com> Message-Id: <CAOYw7dtCmcJ9WiqmQ81MmZeRPcV-tDOqe9=kRDW4uQGuZNd2Ng@mail.gmail.com> Patchwork-Id: 274892
2013-07-10Allow reordered MAKEFLAGSRay Donnelly1-0/+5
-R and -r (-Rr) can be reordered to -r and -R (-rR). This happens with MSYS1/2 gnu-make and mingw32-make, and triggers "Recursion detected, bailing out..." Signed-off-by: Ray Donnelly <mingw.android@gmail.com> Message-Id: <CAOYw7dsdsg-XaDOwwEWJeUUSo2Vu_UD5GtkSgNTu59ai7yx0cQ@mail.gmail.com> Patchwork-Id: 258027
2013-02-25Makefile: fix parrallel (-j) installsYann E. MORIN"1-4/+3
Currently, we would remove previously installed patches before installing the new ones. Unfortunately, that does not play well with heavily parallel installs. Now, we consider it is the responsibility of the user to first uninstall any previous version before installing a new one. Reported-by: Markos Chandras <markos.chandras@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-11-06Makefile.in: Use only standard options compatible with BSD installTitus von Boxberg1-1/+2
Don't use options specific to FSF's coreutils install. Signed-off-by: Titus von Boxberg <titus@v9g.de> Message-Id: <51587db99510a9ec08f8.1352226968@tschetwerikow.boxberg.lan> Patchwork-Id: 197532
2012-07-14configure: check for GNU awk, not any awkYann E. MORIN"1-0/+4
Building glibc requires GNU awk, not any other. Reported-by: Han Sooloo <hansooloo@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-01-16configure: also detect plain grepYann E. MORIN"1-1/+1
We need just 'grep', and we need to be able to call it with 'grep -E'. Check for 'grep', and bailout if egrep != grep -E Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2012-01-16scripts: fix tools overrideYann E. MORIN"1-22/+35
The tools found by the new autostuff configure can contain arguments, for example: grep -E This needs separating the paths set for the Makfile from the paths set for the scripts. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2012-01-14kconfig: install compiled frontendsYann E. MORIN"1-28/+56
The kconfig frontends are currently instaleld as source files. This is a remnant of the early times, when I wanted a single installation of crosstool-NG to be shared across multiple machines, potentially of different architectures. This does not really make sense, and it's been a long time since it was las tpossible in practice. So, just build the kconfig frontends at make-time, and install them as we do for all other crosstool-NG dependent files. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-11-07configure: use autoconf to generate configureYann E. MORIN"1-64/+66
Create configure.ac, an autoconf script to generate ./configure This will be needed by a subsequent patch to properly handle --build and --host, and more tests, when the kconfig stuff will be installed pre-built. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-28Makefile: use phony targetsMichael Hope1-0/+2
Add 'build', 'build-*', and 'install' as phony targets to the top level Makefile. I tend to do everything in tree with the build in a directory called 'build'. This interfered with the target 'build', making it think the target was up to date, and stopping scripts/crosstool-NG.sh from being regenerated. Added 'install' as I often set the prefix to $PWD/install. Signed-off-by: Michael Hope <michael.hope@linaro.org>
2011-08-22configure: use def_bool for available featuresYann E. MORIN"1-2/+3
It's one line shorter, and easier to read. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-22configure: require libtoolize, create wrapper to itTitus von Boxberg"1-10/+12
libtoolize must be checked_for and there needs to be a wrapper that points to GNU libtoolize since that may be installed as glibtoolize. This fixes a problem with building Cloog/PPL that was Reported-by: "Pierrick Brossin" <pierrick@bs-network.net> Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
2011-08-21configure: recognise and handle --program-transform-nameYann E. MORIN"1-2/+4
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-19configure: recognise and handle --program-suffixYann E. MORIN"1-2/+7
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-17configure: handle --program-prefixYann E. MORIN"1-11/+21
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-19Makefile: introduce PROG_NAME to contain the 'ct-ng' executable nameYann E. MORIN"1-18/+20
With the upcomming --program-{prefix,suffix,transform-name} options, we'll have a need to centralise the actual executable name, that is now no longer be a constant. Rather than spread the prefix/suffix through-out the code, just centralise the name setting in one place. Beside, transform-name would not be possible without setting the name at a single location. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-07-31Makefile: fix samples installYann E. MORIN"1-4/+11
Installing samples was not installing the C library config file and the reported.by description. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-06-04Makefile: make it work for auto-completionYann E. MORIN"1-0/+11
The latest autocompletion calls 'make -qp' to get all the possible targets. This currently fails, as our makefile is calling itself again and again ad-libitum. Fix it by detecting that the recursion level is not 0, and bail out if so. It works so well that it has the side effect of showing only the 'public' target, and hide our internal ones! :-) Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-05-26configure: add possibility to set arbitrary variable in check_forYann E. MORIN"1-2/+23
If check_for is able to find the required prog/inc/lib, allow it to set an arbitrary variable to 'y'. This variable is then pushed down to the kconfig definition. For example: has_or_abort prog=foobar kconfig=has_foobar If foobar is available, it yields a kconfig variable defaulting to y: config CONFIGURE_has_foobar bool default y If foobar is missing, it yields a kconfig variable defaulting to n: config CONFIGURE_has_foobar bool Thus it is possible to depends on that variabel to show/hide options: config SOME_FEATURE bool prompt "Some feature" depends on CONFIGURE_has_foobar Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-04-30scripts: fix installationYann E. MORIN"1-0/+1
Changeset e013ddebc063 forgot to install the samples.mk file. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-04-28docs: uninstall the man pageYann E. MORIN"1-2/+2
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-04-28scripts: fix installing samplesYann E. MORIN"1-4/+6
It's been a while now that the working directory CT_WORK_DIR has been changed from 'targets' to '.build'. Fix the install procedure to properly tweak the installed samples. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-14docs: split into multiple filesYann E. MORIN"1-2/+2
The overview.txt file has evolved into more than just an overview. Split it into chapters, and include the misc tutorials. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-07-15configure: fix --mandirYann E. MORIN"1-3/+8
--mandir points to the base dir of the man pages, so we have to append our man section below given dir.
2010-06-27scripts: enhance Makefile for installationYann E. MORIN"1-19/+26
Split the multiple directory copies into autonomous rules. Fix the autocompletion message.
2010-06-25test-suite: correctly install when not --localAndy Gibbs"1-1/+1
2010-05-17ct-ng: Add ability to configure and use some GNU toolsTitus von Boxberg1-0/+10
Make the paths to libtool, objcopy, objdump, readelf, patch configurable.
2010-04-01scripts: misc help and auto-complete fixesYann E. MORIN"1-1/+5
- don't list samples in the main help screen - improve the samples listing in list-samples - don't document the 'config' action, it's long dead - document the 'V' environment variable - improve on START, STOP and PREFIX environment variables - add PREFIX and V to autocomplete - advertise auto-complete at install time
2009-11-17Fix typos and adjust some documentation.Frederic Roussel"1-1/+1
2009-10-10docs: get rid of any reference to the now long-gone svn repositoryYann E. MORIN"1-5/+5
2009-05-13./configure:Yann E. MORIN"1-3/+3
- fix a few messages -------- diffstat follows -------- /trunk/Makefile.in | 6 3 3 0 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
2009-05-13Add a new action: show-tupleYann E. MORIN"1-1/+3
- in a directory containing a crosstool-NG configuration, prints the tuple of the configured target to stdout. -------- diffstat follows -------- /trunk/Makefile.in | 4 3 1 0 +++- /trunk/scripts/showTuple.sh.in | 30 30 0 0 ++++++++++++++++++++++++++++++ /trunk/ct-ng.comp | 2 1 1 0 +- /trunk/ct-ng.in | 10 9 1 0 +++++++++- 4 files changed, 43 insertions(+), 3 deletions(-)
2009-04-20There's no longer any reason to require GNU awk:Yann E. MORIN"1-2/+0
- the only part that required it (socks proxy settings) is gone, - all remaining awk scripts are POSIXly correct (or should be). -------- diffstat follows -------- /trunk/configure | 5 2 3 0 ++--- /trunk/Makefile.in | 2 0 2 0 -- /trunk/scripts/build/kernel/linux.sh | 2 1 1 0 +- /trunk/scripts/build/internals.sh | 1 0 1 0 - /trunk/scripts/build/mpfr.sh | 2 1 1 0 +- /trunk/scripts/functions | 4 2 2 0 ++-- /trunk/scripts/saveSample.sh.in | 4 2 2 0 ++-- 7 files changed, 8 insertions(+), 12 deletions(-)
2009-04-20Set the execute bit on generated script at build time, not install time.Yann E. MORIN"1-7/+3
Do not advertise "make install" when ./configure-d with "--local". -------- diffstat follows -------- /trunk/configure | 8 5 3 0 +++++--- /trunk/Makefile.in | 10 3 7 0 +++------- 2 files changed, 8 insertions(+), 10 deletions(-)
2009-02-01Use tools discovered by ./configure in scripts/saveSample.shYann E. MORIN"1-1/+6
/trunk/Makefile.in | 7 6 1 0 ++++++- /trunk/scripts/saveSample.sh.in | 23 13 10 0 +++++++++++++---------- 2 files changed, 19 insertions(+), 11 deletions(-)
2009-02-01Set proper mode to installed files; fixes running when not using --local.Yann E. MORIN"1-3/+5
/trunk/Makefile.in | 8 5 3 0 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
2009-01-27Ignore generated file, remove generated file on clean.Yann E. MORIN"1-0/+2
/trunk/Makefile.in | 2 2 0 0 ++ 1 file changed, 2 insertions(+)
2009-01-26Finally used the discovered paths from ./configure in scripts/crosstool-NG.sh:Yann E. MORIN"1-2/+48
- fix Makefile to really, really not used built-in rules and variables - have scripts/crosstool-NG.sh generated from scripts/crosstool-NG.sh.in - create a bin-overide directory ( in ${CT_WORK_DIR}/bin ) that contains shell wrappers to the actual discovered tools /trunk/scripts/crosstool-NG.sh.in | 27 23 4 0 +++++++++++++++++++++--- /trunk/Makefile.in | 50 48 2 0 +++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 71 insertions(+), 6 deletions(-)
2009-01-25Makefile.in: remove generated paths.mk during cleanYann E. MORIN"1-0/+2
/trunk/Makefile.in | 2 2 0 0 ++ 1 file changed, 2 insertions(+)
2009-01-25Makefile.in: create and install the Makefile and shell-script fragment ↵Yann E. MORIN"1-27/+39
"paths.mk", containing the paths found by ./configure /trunk/Makefile.in | 66 39 27 0 +++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 39 insertions(+), 27 deletions(-)
2009-01-25Makefile.in: re-order tools in alphabetical order.Yann E. MORIN"1-2/+2
/trunk/Makefile.in | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
2009-01-18Fix Makefile.in to use the correct variables.Yann E. MORIN"1-8/+8
/trunk/Makefile.in | 16 8 8 0 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
2009-01-18Use ./configure-discovered paths in Makefile.Yann E. MORIN"1-24/+31
/trunk/Makefile.in | 55 31 24 0 +++++++++++++++++++++++++++++++------------------------ /trunk/ct-ng.in | 2 1 1 0 +- 2 files changed, 32 insertions(+), 25 deletions(-)
2008-12-28Small Makefile fixes.Yann E. MORIN"1-12/+17
/trunk/Makefile.in | 29 17 12 0 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-)
2008-12-16Get rid of the tols/ directory:Yann E. MORIN"1-5/+5
- move config.guess and config.sub from tools/ into scripts/ - update the scripts and makefile fragments accordingly /trunk/Makefile.in | 10 5 5 0 +++++----- /trunk/scripts/functions | 16 8 8 0 ++++++++-------- /trunk/scripts/scripts.mk | 28 13 15 0 +++++++++++++--------------- /trunk/ct-ng.in | 4 2 2 0 ++-- 4 files changed, 28 insertions(+), 30 deletions(-)
2008-11-16Get rid of the local-test in Makefile.Yann E. MORIN"1-11/+19
/trunk/Makefile.in | 30 19 11 0 +++++++++++++++++++----------- /trunk/docs/overview.txt | 25 13 12 0 +++++++++++++------------ 2 files changed, 32 insertions(+), 23 deletions(-)
2008-11-16Honor the DESTDIR variable to install out-of-place (Eg. for packaging).Yann E. MORIN"1-26/+36
/trunk/configure | 10 10 0 0 +++++++++ /trunk/Makefile.in | 62 36 26 0 +++++++++++++++++++++++++++++++----------------------- /trunk/docs/overview.txt | 12 12 0 0 ++++++++++ 3 files changed, 58 insertions(+), 26 deletions(-)
2008-10-03Third shot at moving arch/ into config/ .Yann E. MORIN"1-1/+1
/trunk/Makefile.in | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-06-30Force CT_WORK_DIR to "${CT_TOP_DIR}/targets" when saving the config as a new ↵Yann E. MORIN"1-2/+3
sample. /trunk/Makefile.in | 5 3 2 0 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
2008-06-14Remove 'make' warning whith ./configure --local.Yann E. MORIN"1-3/+3
Eye-candy. /trunk/Makefile.in | 6 3 3 0 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)