summaryrefslogtreecommitdiff
path: root/bootstrap
AgeCommit message (Collapse)AuthorFilesLines
2021-02-02bootstrap: Escape mirrorsChris Packham1-0/+2
When we have mirrors set to $(CT_Mirror foo bar) we need some extra escaping so that they get interpreted correctly by kconfig. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-11-23Support released versions from Git branchesEgeyar1-1/+8
* Do not assume a release has a tarball if src_release is set to "n". * Do not assume versions in repositories are all experimental. * Allow versions to define their default repository_branch, repository_cset, repository_subdir and bootstrap. * Do not expect mirrors, archive_filename, archive_dirname, archive_formats and signature_format from a version if src_release is set to "n". * Add version_number to allow version names to be different than the version number. When given, use version_number to compare against the milestones. Signed-off-by: Egeyar Bagcioglu <egeyar.bagcioglu@oracle.com>
2020-09-06Merge branch 'unused' of git://github.com/jubalh/crosstool-ng into jubalh-unusedChris Packham1-2/+1
2020-08-30Merge pull request #1361 from mjsir911/cdpathChris Packham1-0/+3
Unset CDPATH for duration of bootstrap script
2020-08-21Remove unused variables in bootstrapMichael Vetter1-2/+1
cmp, u1, u2 seem not to be used at all.
2020-07-10Unset CDPATH for duration of bootstrap scriptMarco Sirabella1-0/+3
CDPATH causes the `cd` command to output the directory it's going into sometimes. This actually fixes #849, I got bit by this
2019-10-10fix bootstrap for old autoconf versionsNorbert Lange1-2/+2
atleast debian wheezy is affected Signed-off-by: Norbert Lange <nolange79@gmail.com>
2019-04-05Do not include config/configure.in into the release tarballAlexey Neyman1-3/+3
Fixes #1176 Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-13Check if two versions conflictAlexey Neyman1-6/+20
by resolving to the same "relevant" portion. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-09Use enhanced framework for 'ct-ng update-samples'Alexey Neyman1-1/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-28Ignore vim swap files while generating the file listAlexey Neyman1-0/+4
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-01Add moxiebox as a choice for libcAlexey Neyman1-26/+60
This required some rework of the libc selection, as moxiebox is a layer on top of another libc - newlib. Also, moxiebox'es host VM (`sandbox`) needs a libcrypto on the host. We will not have it if we're cross-compiling a canadian cross. Fortunately, all moxiebox needs from libcrypto is SHA256, and it already includes a standalone implementation of SHA256 in its runtime. Provide a little wrapper that allows moxiebox use that implementation for the host binary, too. Also, automate collecting/printing the list of all packages in a given category (e.g. LIBC or COMP_TOOLS), generate a list of all Kconfig symbols for a given category. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-27Include testing/ into the release.Alexey Neyman1-6/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-11-12Fix installation of the license fileAlexey Neyman1-1/+1
... for ct-ng configured without --enable-local. Also, install licenses in subdirectories of the components. Also, ct-ng configured with --enable-local removed the scripts directory upon `ct-ng distclean`. Also, misspelled CT_WGET/CT_CURL variables prevented use of `ct-ng updatetools`. Fixes #1091. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07config.sub/config.guess must either be executableAlexey Neyman1-1/+6
or be run through shell Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07Kill gperf vestigesAlexey Neyman1-0/+6
Generate paths.sh by configure, do away with paths.mk. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07Ignore/modify the list of installed files to matchAlexey Neyman1-0/+12
what was installed before. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07Install "pure data" directoriesAlexey Neyman1-0/+9
... and update .gitignore. Survives 'make distcheck'. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07Split local helper macros into separate m4'sAlexey Neyman1-2/+2
... which are then picked up via aclocal. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-01-06Use /usr/bin/env to locate bashXidorn Quan1-1/+1
On some systems (e.g. macOS), the bash provided by the system at `/bin/bash` is not new enough for the bootstrap script, while users may install a bash instance elsewhere. In that case, `/usr/bin/env` can get the bash in the current environment.
2017-11-30Make comp.libs use generated templates, tooAlexey Neyman1-11/+29
This allows us to include the component-to-package relation in the generated kconfig files and make use of that information in the show-config.sh script. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-11-20A few fixes for showSamplesAlexey Neyman1-1/+1
- Use fork's name, not the master package name - Allow to use a choice selector when printing a package - Consider complibs always present (they are, gcc does require gmp/...) Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-28Add an ability to verify the digest/signatureAlexey Neyman1-0/+1
Fixes #611. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-24Allow loops to skip entries if certain variable is keptAlexey Neyman1-7/+37
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-24Add "postprocessing" to substituted variablesAlexey Neyman1-24/+39
... and reduce the number of variables defined explicitly. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-23Implement a script for checking packagesAlexey Neyman1-1/+4
Then use this script to check that all packages can be extracted and patched. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-19Require bash4 to run bootstrapAlexey Neyman1-0/+6
Fixes #797 (or, at least makes it fail gracefully with an advice) Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-10Resolve a few more TBDsAlexey Neyman1-2/+0
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Separate the notions of package name/labelAlexey Neyman1-1/+2
Also, remove resolved TBDs. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08.in.2 files no longer generatedAlexey Neyman1-1/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Allow packages to define "relevant" part of the versionAlexey Neyman1-4/+20
E.g., only include minor/major of the Linux kernel into the kconfig symbol. In the future, to be defined by all packages, but for now matches the current versioning in the packages. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Fix bootstrap to work with bash 4.3Alexey Neyman1-3/+15
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Kconfigize choice/menu itemsAlexey Neyman1-1/+1
Also, add a poor man's upgrade script. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Switch gen-kconfig to new frameworkAlexey Neyman1-9/+640
Also: - Move companion_* to comp_* to match the kconfig symbols - Replace bootstrap with former gen-versions.sh - Fold *.in.2 into their respective first parts; this moves common options to the end - if it is undesirable, inclusion of *.in can be moved where *.in.2 used to be (but that will also move version selection after common options). - Retire addToolVersion.sh (may later replace with a more comprehensive script that tries to download the added tarballs, copy the patches and try to apply them, and create a version.desc). Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08First stab at gen-versions.shAlexey Neyman1-1/+4
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-04-23Get rid of config.genAlexey Neyman1-0/+3
Instead, prepare the files as a part of bootstrap and install them. This avoids rebuilding these files in each working directory; they don't change anyway as they are generated from the same installed source. Signed-off-by: Alexey Neyman <stilor@att.net>
2011-11-07configure: use autoconf to generate configureYann E. MORIN"1-0/+7
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>