summaryrefslogtreecommitdiff
path: root/samples/samples.mk
AgeCommit message (Collapse)AuthorFilesLines
2015-11-04Merge pull request #233 from stilor/fix-build-allBryan Hundven1-14/+60
Fix build-all
2015-10-30Fix samples using GMP 4.3.2.Alexey Neyman1-4/+4
Some older versions of configure (including the one in GMP 4.3.2) interpret the $ECHO environment variable as the `echo' utility to use. CT-NG sets the variable to `:' and exports it if V=0 or V=1 is supplied, breaking the samples using such configure. This currently includes bfin-unknown-linux-uclibc and powerpc-unknown-linux-uclibc. Also, correct the description of the V= variable - V=0 is *not* the default; in fact, default does not correspond to any of the V=[012] values. Signed-off-by: Alexey Neyman <stilor@att.net>
2015-10-30Do not stop build-all after a failed sample.Alexey Neyman1-3/+31
Instead, continue until the end and provide a summary (PASS/XFAIL/FAIL) at the end. If there are any FAILs, exit with code 1. Signed-off-by: Alexey Neyman <stilor@att.net>
2015-10-30Order the samples in build-all.Alexey Neyman1-3/+13
First, build cross samples (indicated by lack of comma in their names); then, build canadian cross samples (and, when they are supported, cross-native). While building canadian cross, set up the path to the build-to-host cross if it was built previously. Signed-off-by: Alexey Neyman <stilor@att.net>
2015-10-30Avoid commas in autogenerated CT_PREFIX_DIR.Alexey Neyman1-5/+12
Signed-off-by: Alexey Neyman <stilor@att.net>
2015-10-30Make build-all non-interactive.Alexey Neyman1-3/+4
'make oldconfig' results in asking the user about options not explicitly set in the defconfig. Instead of copying, run 'conf --defconfig', as in the normal sample's build sequence. Also, invoke 'conf --oldconfig' directly, with a -s option, to avoid spamming with useless "configuration written to .config" messages. Signed-off-by: Alexey Neyman <stilor@att.net>
2015-10-30Change sed monstrosity into a make variable.Alexey Neyman1-1/+1
The convoluted sed expression was doing what is already available in make as `$*'. Signed-off-by: Alexey Neyman <stilor@att.net>
2014-06-25all: fix wildcard to work with make-4.xYann E. MORIN"1-2/+2
In make-3.8x, the $(wildacrd) function would sort the entries, while in make-4.x, it would just return the entries in any unpredictable order [*] Use the $(sort) function to get reproducible behaviour. [*] Well, most probably the roder the entries appear when read from readdir() Reported-by: Andrew Ruder <andrew.ruder@elecsyscorp.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
2013-01-24samples: print changed symbols when checking samplesYann E. MORIN"1-1/+2
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-21samples: check if update is neededYann E. MORIN"1-0/+16
Add a ct-ng action to check if samples needs being updated. This will be usefull when the config options change. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-07-23scripts+samples: fix listings the samplesYann E. MORIN"1-6/+33
Since we use defconfigs to save the samples, listing all the samples can no longer be done by passing all the sample names at one to the script; we need to pass them one-by-one after we expand the sample's defconfig ibnto a complete .config. Reported-by: Bryan Hundven <bryanhundven@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-05-07samples: rework show-tupleYann E. MORIN"1-3/+8
Now that we are using defconfig files, the samples do not contain the full configuration, so we can not simply parse them to show their content. Instead, we must fake recalling a sample, and parse the generated .config file. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-05-06samples: use savedefconfig when saving samplesYann E. MORIN"1-3/+3
When saving a sample, use savedefconfig instead of copying the full .config file. This reduces the saved .config, and reduces clutter when it is later upgraded. Also use defconfig when retrieving a sample. Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2011-10-18misc: change references to point to the new websiteYann E. MORIN"1-2/+2
It's been a while now that crosstool-NG has been hosted on it's own website, and not at my home. Change every reference to the old site to the new one, everywhere is makes sense to. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-16scripts: do not force locale when sorting samplesYann E. MORIN"1-4/+4
Just use whatever the user has set in his/her environment. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-07-30samples: add a short list of all samplesYann E. MORIN"1-0/+7
Add an action to list only the sample names. Use that for auto-completion.
2010-04-01scripts: misc help and auto-complete fixesYann E. MORIN"1-8/+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
2010-02-02scripts/samples: use the computed '$(sed)', not 'sed'Titus von Boxberg"1-3/+3
2010-01-31scripts: dump the current tuple with show-configYann E. MORIN"1-1/+2
2010-01-31scripts: add action to dump current configuration in humane-readable formYann E. MORIN"1-0/+5
2010-01-03samples: refine the listing of all samples for canadian samplesYann E. MORIN"1-1/+1
For canadian samples, display the sample as: target-tuple (host: host-tuple)
2010-01-03samples: add an action to print details for all samplesYann E. MORIN"1-0/+4
2010-01-03samples: fix displaying samplesYann E. MORIN"1-2/+7
2009-10-30scripts: some eye-candyYann E. MORIN"1-1/+6
2009-10-30scripts: fix updating config.{sub,guess}Yann E. MORIN"1-1/+1
2009-01-27Fix white space damage after switching to using paths found by ./configure.Yann E. MORIN"1-1/+1
/trunk/samples/samples.mk | 2 1 1 0 /trunk/config/config.mk | 104 52 52 0 ++++++++++++++++++++++++++-------------------------- 2 files changed, 53 insertions(+), 53 deletions(-)
2009-01-26Use the paths found by ./configure in the ct-ng.in makefile script and its ↵Yann E. MORIN"1-9/+9
fragments. /trunk/kconfig/kconfig.mk | 2 1 1 0 +- /trunk/samples/samples.mk | 18 9 9 0 +++++++++--------- /trunk/config/config.mk | 10 5 5 0 +++++----- /trunk/ct-ng.in | 22 13 9 0 +++++++++++++--------- 4 files changed, 28 insertions(+), 24 deletions(-)
2008-11-21Be less verbose when a sample is directly built with build-sample-name.Yann E. MORIN"1-4/+3
/trunk/samples/samples.mk | 7 3 4 0 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
2008-10-31Remove regtest actions, introduce build-all actions:Yann E. MORIN"1-47/+53
- regtest was not easy to use - one may wish to simply build all samples - introduce a per-sample automatic build /trunk/docs/overview.txt | 19 14 5 0 ++++++++--- /trunk/samples/samples.mk | 92 49 43 0 ++++++++++++++++++++++++++++------------------------- /trunk/ct-ng.comp | 8 5 3 0 +++-- 3 files changed, 68 insertions(+), 51 deletions(-)
2008-10-27Enhance the make fragments:Yann E. MORIN"1-13/+28
- comment the different parts - re-order the code so that it is homogeneous amogst fragments - eye-candy in some existing comments /trunk/tools/tools.mk | 17 15 2 0 +++++++++++++++-- /trunk/steps.mk | 38 26 12 0 ++++++++++++++++++++++++++------------ /trunk/samples/samples.mk | 41 28 13 0 ++++++++++++++++++++++++++++------------- /trunk/config/config.mk | 2 1 1 0 +- 4 files changed, 70 insertions(+), 28 deletions(-)
2008-10-15Cheesy kconfig stuff:Yann E. MORIN"1-15/+15
- silent/quiet/verbose build: - ct-ng by default only prints quit messages, such as "CC xxx", - if using V=0, nothing is printed, - if using V=1, the full command lines are printed, - other values are indeterminate, - should help in debugging the kconfig stuff; - complete kconfig/{,m}conf generation: - fully dynamic dependencies on source files, - compilation of .c into .o, then linking (instead of direct linking), - VPATH usage when not --local; Typo + a coment moved. /trunk/kconfig/kconfig.mk | 140 87 53 0 +++++++++++++++++++++++++++++++++-------------------- /trunk/tools/tools.mk | 12 6 6 0 ++-- /trunk/steps.mk | 6 3 3 0 +- /trunk/samples/samples.mk | 30 15 15 0 +++++----- /trunk/ct-ng.in | 40 28 12 0 +++++++++++---- 5 files changed, 139 insertions(+), 89 deletions(-)
2008-10-14Introduce the notion of a 'sample comment'.Yann E. MORIN"1-5/+17
- presence of the sample's reported.by file is now mandatory. - when saving a sample, reporter name & URL are queried, to avoid operator forget about creating the reported.by file. - when saving a sample, one can store a few-liner comment. - when recalling a sample, the reporter name, URL and comment (if present) are printed. - update the powerpc-e500v2-linux-gnuspe sample to include Nate's comment (from his original mail). - update all samples that were missing the reported.by file. /trunk/scripts/saveSample.sh | 46 35 11 0 ++++++++++++++++++------ /trunk/scripts/showSamples.sh | 12 6 6 0 +++--- /trunk/samples/powerpc-e500v2-linux-gnuspe/reported.by | 15 15 0 0 ++++++++ /trunk/samples/samples.mk | 22 17 5 0 +++++++++-- 4 files changed, 73 insertions(+), 22 deletions(-)
2008-10-14Use a function to retrieve a sample directory.Yann E. MORIN"1-10/+9
/trunk/samples/samples.mk | 19 9 10 0 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-)
2008-09-02Warn the user if he/she recalls a sample with EXPERIMENTAL features.Yann E. MORIN"1-0/+12
Also, print the EXPERIMENTAL status when listing the samples. /trunk/scripts/showSamples.sh | 12 9 3 0 +++++++++--- /trunk/samples/samples.mk | 12 12 0 0 ++++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-)
2008-06-23Sort samples.Yann E. MORIN"1-1/+1
/trunk/samples/samples.mk | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-06-15Add a new rule to build the sample table ready to include in the WiKi.Yann E. MORIN"1-0/+6
/trunk/scripts/showSamples.sh | 81 53 28 0 ++++++++++++++++++++++++++++++++----------------- /trunk/samples/samples.mk | 6 6 0 0 ++++ 2 files changed, 59 insertions(+), 28 deletions(-)
2008-06-01Rework a little bit the steps and samples help entries.Yann E. MORIN"1-3/+5
/trunk/docs/overview.txt | 2 1 1 0 +- /trunk/steps.mk | 7 5 2 0 +++++-- /trunk/samples/samples.mk | 8 5 3 0 +++++--- /trunk/ct-ng.in | 5 3 2 0 +++-- 4 files changed, 14 insertions(+), 8 deletions(-)
2008-05-26Rework dumping the samples.Yann E. MORIN"1-3/+7
/trunk/scripts/showSamples.sh | 1 0 1 0 - /trunk/samples/samples.mk | 10 7 3 0 +++++++--- 2 files changed, 7 insertions(+), 4 deletions(-)
2008-05-02Add a new help entry to list each samples more verbosely, but only on-demand.Yann E. MORIN"1-0/+4
/trunk/samples/samples.mk | 4 4 0 0 ++++ /trunk/scripts/showSamples.sh | 32 31 1 0 +++++++++++++++++++++++++++++++- 2 files changed, 35 insertions(+), 1 deletion(-)
2007-08-15Add the possibility to force the number of // jobs without reconfiguring.Yann E. MORIN"1-4/+7
2007-07-22Move CREDITS to docs/Yann E. MORIN"1-0/+2
Be a bit verbose when restoring a sample.
2007-07-15Rename all Makefiles used by ct-ng into (something).mk, to avoid confusion.Yann E. MORIN"1-0/+71