21095fab67
This commit introduces the following upstream changes: 2648ca1859bb kconfig: clean generated *conf-cfg files d86271af6460 kconfig: rename generated .*conf-cfg to *conf-cfg ba97df45581f kbuild: use assignment instead of define ... endef for filechk_* rules a5003571e627 kconfig: remove unused "file" field of yylval union f222b7f43661 kconfig: surround dbg_sym_flags with #ifdef DEBUG to fix gconf warning 3b541978562a kconfig: split images.c out of qconf.cc/gconf.c to fix gconf warnings 9abe42371b44 kconfig: add static qualifiers to fix gconf warnings cbafbf7f551c kconfig: split the lexer out of zconf.y 558e78e3ce84 kconfig: split some C files out of zconf.y 0c874100108f kconfig: convert to SPDX License Identifier 979f2b2f7936 kconfig: remove keyword lookup table entirely 4b31a32caf0a kconfig: update current_pos in the second lexer 824fa3b3b5e3 kconfig: switch to ASSIGN_VAL state in the second lexer b3d1d9d3c362 kconfig: stop associating kconf_id with yylval caaebb3c6de3 kconfig: refactor end token rules f5451582c4e2 kconfig: stop supporting '.' and '/' in unquoted words 171a515d0803 kconfig: use T_WORD instead of T_VARIABLE for variables c3d228713b10 kconfig: use specific tokens instead of T_ASSIGN for assignments ce2164ab5831 kconfig: refactor scanning and parsing "option" properties 3c8f317d4cf1 kconfig: use distinct tokens for type and default properties a01e5d242d93 kconfig: remove redundant token defines 4b5ec81bfeda kconfig: rename depends_list to comment_option_list 1f31be9ec0a9 kconfig: loosen the order of "visible" and "depends on" in menu entry 94d4e1b6021b kconfig: remove redundant menu_block rule 4891796c6f83 kconfig: remove redundant if_block rule 2f60e46e605a kconfig: remove grammatically ambiguous option_error 6900ae9eeee3 kconfig: remove grammatically ambiguous "unexpected option" diagnostic 723679339d08 kconfig: warn no new line at end of file 0bcc547ec4b0 kconfig: clean up EOF handling in the lexer cc66bca775ee kconfig: fix ambiguous grammar in terms of new lines 21c5ecf60472 kconfig: refactor pattern matching in STRING state be3c8075978a kconfig: remove unneeded pattern matching to whitespaces 413cd19d81fd kconfig: require T_EOL to reduce visible statement fbac5977d81c kconfig: fix memory leak when EOF is encountered in quotation 77c1c0fa8b14 kconfig: fix file name and line number of warn_ignored_character() 0cbe3ac439bf kconfig: remove k_invalid from expr_parse_string() return type 2aabbed6774f kconfig: remove S_OTHER symbol type and correct dependency tracking 1508fec82e39 kconfig: split out code touching a file to conf_touch_dep() 0849d212e395 kconfig: rename conf_split_config() to conf_touch_deps() 75889e9be78f kconfig: remove unneeded setsym label in conf_read_simple() a9b722847872 scripts/kconfig/merge_config: don't redefine 'y' to 'm' Signed-off-by: Chris Packham <judge.packham@gmail.com> |
||
---|---|---|
.github/workflows | ||
bash-completion | ||
config | ||
contrib | ||
debian | ||
docs | ||
kconfig | ||
licenses.d | ||
m4 | ||
maintainer | ||
packages | ||
samples | ||
scripts | ||
testing | ||
.gitignore | ||
bootstrap | ||
configure.ac | ||
COPYING | ||
ct-ng.in | ||
issue_template.md | ||
LICENSE | ||
Makefile.am | ||
paths.sh.in | ||
README.md | ||
TODO |
Crosstool-NG
Introduction
Crosstool-NG aims at building toolchains. Toolchains are an essential component in a software development project. It will compile, assemble and link the code that is being developed. Some pieces of the toolchain will eventually end up in the resulting binaries: static libraries are but an example.
Before reporting a bug, please read bug reporting guidelines. Bugs that do not provide the required information will be closed without explanation.
Refer to documentation at crosstool-NG website for more information on how to configure, install and use crosstool-NG.
Note 1: If you elect to build a uClibc-based toolchain, you will have to prepare a config file for uClibc with <= crosstool-NG-1.21.0. In >= crosstool-NG-1.22.0 you only need to prepare a config file for uClibc(or uClibc-ng) if you really need a custom config for uClibc.
Note 2: If you call ct-ng --help
you will get help for make(2)
. This is because ct-ng is in fact a make(2)
script. There is no clean workaround for this.
Repository layout
To clone the crosstool-NG repository:
git clone https://github.com/crosstool-ng/crosstool-ng
Build Status
Old repositories
These are the old Mercurial repositories. They are now read-only: http://crosstool-ng.org/hg/
Pull Requests and Issues
You can find open Pull Requests on GitHub here and you can find open issues here.
Contributing
To contribute to crosstool-NG it is helpful to provide as much information as you can about your change, including any updates to documentation (if appropriate), and test... test... test.
- Fork crosstool-ng on github
- Clone the fork you made to your computer
git clone https://github.com/crosstool-ng/crosstool-ng
- Create a topic branch for your work
git checkout -b fix_comment_typo
- Make changes
- hack
- test
- hack
- etc...
- Add your changes
git add [file(s) that changed, add -p if you want to be more specific]
- Verify you are happy with your changes to be commited
git diff --cached
- Commit changes
git commit -s
The -s
automatically adds your Signed-off-by: [name] <email>
to your commit message. Your commit will be rejected without this.
Also, please explain what your change does. "Fix stuff"
will be rejected. For examples of good commit messages, read the changelog.
- Push your topic branch with your changes to your fork
git push origin fix_comment_typo
- Go to the crosstool-ng project and click the
Compare & pull request
button for the branch you want to open a pull request with. - Review the pull request changes, and verify that you are opening a pull request for the appropriate branch. The title and message should reflect the nature/theme of the changes in the PR, say the title is
Fix comment typos
and the message details any specifics you can provide. - You might change the crosstool-ng branch, if you are opening a pull request that is intended for a different branch. For example, when you created your topic branch you could have done:
git checkout -b fix_out_of_date_patch origin/1.22
Then when you get to this pull request screen change the base branch from master
to 1.22
- By creating a pull request, the PR is entered into the backlog. A travis-ci job will run to test your changes against a select set of samples. As they start to get worked, they should be placed in the
Ready
state. PRs that are being worked areIn Progress
. If a questions come up about the commit that might involve changes to the commit then the PR is placed inWaiting For Response
, you have two options:
- Fix the issue with the commit by adding a new commit in the topic branch that fixes the code review. Then push your changes to your branch. This option keeps the comments in the PR, and allows for further code review. I personally dislike this, because people are lazy and fix reviews with
fix more review issues
. Please make good commit messages! All rules about commits from above apply! THIS IS PREFERED
Add your changes
git add [file(s) that changed, add -p if you want to be more specific]
Verify you are happy with your changes to be commited
git diff --cached
Commit changes
git commit -s
- Push your topic branch with your changes to your fork
git push origin fix_comment_typo
At this point the PR will be updated to have the latest commit to that branch, and can be subsequently reviewed.
- Interactively rebase the offending commit(s) to fix the code review. This option is slightly annoying on Github, as the comments are stored with the commits, and are hidden when new commits replace the old commits. They used to disappear completely; now Github shows a grey 'View outdated' link next to the old commits.
This recipe also comes handy with other issues, like your topic branch not being up-to-date with master:
git fetch --all
git rebase --ignore-whitespace origin master
git rebase -i <offending-commit-id>^
NOTE: The --ignore-whitespace
stops git apply
(which is called by rebase) from changing any whitespace when it runs.
Replace pick
with edit
or remove the line to delete a commit.
Fix the issue in the code review.
git add [file(s)]
git rebase --continue
<update commit comment if needed>
git push --force origin fix_comment_typo
Patchwork
We previously used patchwork for development, but it is no longer used. I'd like to see patches that are still applicable turned into Pull Requests on GitHub.
You can find the list of pending patches available on patchwork.
More Info
You can find all of this and more at crosstool-ng.org
Report issues at the project site on GitHub.
We have a mailing list. Archive and subscription info can be found here: https://sourceware.org/ml/crossgcc/
Aloha! :-)