aboutsummaryrefslogtreecommitdiff
path: root/samples/samples.mk
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade script for uClibc retirementAlexey Neyman2022-02-111-1/+1
| | | | | | | | | | | | | | | | | | Run samples through upgrade and fix accumulated breakages: *-centos6-*: After 2.12.2 retirement, the samples selected most recent glibc (2.34) which also forced kernels 3.2+. Revert to 2.12.1 and 2.6.32.71, respectively. Interestingly, 2.12.1 was marked as being used in CentOS6, but the samples selected 2.12.2. Anyway, CentOS6 is EOL now and glibc 2.12 is going to be marked obsolete, and retired soon. arc-*: Make TARGET_VENDOR match the sample's name; otherwise `ct-ng saveconfig` places the config file into a different location. Fix 'savedefconfig' which was not saving the configuration file version (CT_VCHECK was set to 'load' after CT_LoadConfig call). Signed-off-by: Alexey Neyman <stilor@att.net>
* Use enhanced framework for 'ct-ng update-samples'Alexey Neyman2019-02-091-10/+12
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add upgrade logic to version-check.shAlexey Neyman2019-01-271-5/+1
| | | | | | | | | Slightly rework config version detector to catch the case where neither CONFIG_VERSION/CONFIG_VERSION_CURRENT is defined in the config file. Add olddefconfig and use it after the upgrade. Signed-off-by: Alexey Neyman <stilor@att.net>
* Basic framework for checking config file versionAlexey Neyman2019-01-261-17/+28
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Check if .config is a regular file before clobbering itAlexey Neyman2018-11-011-1/+1
| | | | | | Fixes #1014. Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #924 from tofutim/feature/fixchecksampsAlexey Neyman2018-04-101-1/+1
|\ | | | | fix deprecated diff option
| * fix deprecated diff optionTim Uy2018-02-281-1/+1
| |
* | User manual installationAlexey Neyman2018-04-071-0/+1
|/ | | | | | ... when running from a release tarball. Signed-off-by: Alexey Neyman <stilor@att.net>
* Align script names with the ct-ng commandsAlexey Neyman2017-11-191-5/+5
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Retire wiki-printerAlexey Neyman2017-11-191-17/+0
| | | | | | It is not used anymore and is currently broken. Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix debuild warnings/errorsAlexey Neyman2017-06-071-7/+7
| | | | | | | | | | | | | | | | | | | | - Update .gitignore, do not place .gitignore into directories installed in bulk - Remove executable permissions and shebangs from the scripts that are supposed to be invoked only via ct-ng frontent; prepend them with $(bash). Despite what showSamples.sh said, it already has some bashisms. - Remove --with autotools-dev and override dh_update_autotools_config to avoid having config.{sub,guess} clobbered with older versions - Install bash completion where Debian (now) expects it - Update man page to use .\" as the comment delimiter, instead of undefined macro (."); also, minor text edits. - Install kconfig.mk without execute permission. - Remove shell wrappers from 170-localedef-fix-trampoline.patch, we do not use that for applying patches - Revoke execute permissions on 210-expat.sh - Get flags from dpkg-buildflags if available Signed-off-by: Alexey Neyman <stilor@att.net>
* Use config from the install locationAlexey Neyman2017-04-221-7/+7
| | | | | | ... no need to create a local symlink. Signed-off-by: Alexey Neyman <stilor@att.net>
* Make build-all rely on kconfig options.Alexey Neyman2017-01-191-18/+11
| | | | | | | | | | | | | For that, make CT_BUILD_TOP_DIR a non-settable config option (so that it is recursively expanded with CT_HOST/CT_TARGET). Use a common prefix, with same default as for regular sample build. Use showConfig.sh to determine host toolchain path (for canadian crosses) and build directory to be removed. Remove LIBC_SYSROOT_ARG (unused). Signed-off-by: Alexey Neyman <stilor@att.net>
* build-all: Remove successful build trees.Alexey Neyman2016-08-231-1/+3
| | | | | | I am running out of space when running build-all for all samples. Signed-off-by: Alexey Neyman <stilor@att.net>
* Document {check,update}-samples targets.Alexey Neyman2015-11-171-0/+2
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Use $* to simplify rules in samples.mk.Alexey Neyman2015-11-141-9/+9
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add update-samples target.Alexey Neyman2015-11-141-6/+18
| | | | | | Same as check-samples, but actually updates the crosstool.config. Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #233 from stilor/fix-build-allBryan Hundven2015-11-041-14/+60
|\ | | | | Fix build-all
| * Fix samples using GMP 4.3.2.Alexey Neyman2015-10-301-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>
| * Do not stop build-all after a failed sample.Alexey Neyman2015-10-301-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>
| * Order the samples in build-all.Alexey Neyman2015-10-301-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>
| * Avoid commas in autogenerated CT_PREFIX_DIR.Alexey Neyman2015-10-301-5/+12
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
| * Make build-all non-interactive.Alexey Neyman2015-10-301-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>
* | Change sed monstrosity into a make variable.Alexey Neyman2015-10-301-1/+1
|/ | | | | | | The convoluted sed expression was doing what is already available in make as `$*'. Signed-off-by: Alexey Neyman <stilor@att.net>
* all: fix wildcard to work with make-4.xYann E. MORIN"2014-06-251-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>
* samples: print changed symbols when checking samplesYann E. MORIN"2013-01-241-1/+2
| | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* samples: check if update is neededYann E. MORIN"2013-01-221-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>
* scripts+samples: fix listings the samplesYann E. MORIN"2012-07-231-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>
* samples: rework show-tupleYann E. MORIN"2012-05-071-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>
* samples: use savedefconfig when saving samplesYann E. MORIN"2012-05-071-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>
* misc: change references to point to the new websiteYann E. MORIN"2011-10-181-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>
* scripts: do not force locale when sorting samplesYann E. MORIN"2011-10-161-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>
* samples: add a short list of all samplesYann E. MORIN"2010-07-301-0/+7
| | | | | Add an action to list only the sample names. Use that for auto-completion.
* scripts: misc help and auto-complete fixesYann E. MORIN"2010-04-021-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
* scripts/samples: use the computed '$(sed)', not 'sed'Titus von Boxberg"2010-02-031-3/+3
|
* scripts: dump the current tuple with show-configYann E. MORIN"2010-01-311-1/+2
|
* scripts: add action to dump current configuration in humane-readable formYann E. MORIN"2010-01-311-0/+5
|
* samples: refine the listing of all samples for canadian samplesYann E. MORIN"2010-01-031-1/+1
| | | | | For canadian samples, display the sample as: target-tuple (host: host-tuple)
* samples: add an action to print details for all samplesYann E. MORIN"2010-01-031-0/+4
|
* samples: fix displaying samplesYann E. MORIN"2010-01-031-2/+7
|
* scripts: some eye-candyYann E. MORIN"2009-10-301-1/+6
|
* scripts: fix updating config.{sub,guess}Yann E. MORIN"2009-10-301-1/+1
|
* Fix white space damage after switching to using paths found by ./configure.Yann E. MORIN"2009-01-271-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(-)
* Use the paths found by ./configure in the ct-ng.in makefile script and its ↵Yann E. MORIN"2009-01-261-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(-)
* Be less verbose when a sample is directly built with build-sample-name.Yann E. MORIN"2008-11-211-4/+3
| | | | | /trunk/samples/samples.mk | 7 3 4 0 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
* Remove regtest actions, introduce build-all actions:Yann E. MORIN"2008-10-311-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(-)
* Enhance the make fragments:Yann E. MORIN"2008-10-271-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(-)
* Cheesy kconfig stuff:Yann E. MORIN"2008-10-151-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(-)
* Introduce the notion of a 'sample comment'.Yann E. MORIN"2008-10-141-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(-)
* Use a function to retrieve a sample directory.Yann E. MORIN"2008-10-141-10/+9
| | | | | /trunk/samples/samples.mk | 19 9 10 0 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-)