aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * kconfig: Sync with upstream v4.18Chris Packham2021-02-0223-530/+918
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit introduces the following upstream changes: 73d1c580f92b kconfig: loop boundary condition fix ecd53ac2f2c6 kconfig: handle P_SYMBOL in print_symbol() b2d00d7c61c8 kconfig: fix line numbers for if-entries in menu tree 8593080c0fcf kconfig: fix localmodconfig 2ae89c7a82ea kconfig: Avoid format overflow warning from GCC 8.1 bb6d83dde191 kbuild: Move last word of nconfig help to the previous line d6a0c8a1326b kconfig: Add testconfig into make help output 2bece88f89fa kconfig: test: add Kconfig macro language tests 915f64901eb3 kconfig: error out if a recursive variable references itself a702a6176e2f kconfig: add 'filename' and 'lineno' built-in variables 1d6272e6fe43 kconfig: add 'info', 'warning-if', and 'error-if' built-in functions 82bc8bd82e5c kconfig: expand lefthand side of assignment statement ed2a22f277c6 kconfig: support append assignment operator 1175c02506ff kconfig: support simply expanded variable 9ced3bddec08 kconfig: support user-defined function and recursively expanded variable 9de071536c87 kconfig: begin PARAM state only when seeing a command keyword 2fd5b09c201e kconfig: add 'shell' built-in function e298f3b49def kconfig: add built-in function support 137c0118a900 kconfig: make default prompt of mainmenu less specific 5b31a9746756 kconfig: remove sym_expand_string_value() 96d8e48da55a kconfig: remove string expansion for mainmenu after yyparse() bb222ceeb327 kconfig: remove string expansion in file_lookup() 104daea149c4 kconfig: reference environment variables directly and remove 'option env=' 694c49a7c01c kconfig: drop localization support 1c5af5cf9308 kconfig: refactor ncurses package checks for building mconf and nconf b464ef583dc7 kconfig: refactor GTK+ package checks for building gconf 0b669a5076fd kconfig: refactor Qt package checks for building qconf Signed-off-by: Chris Packham <judge.packham@gmail.com>
| * kconfig: Sync with upstream v4.17Chris Packham2021-02-029-127/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit introduces the following upstream changes: 17baab68d337 kconfig: extend output of 'listnewconfig' b23d1a241f4e kbuild: add %.lex.c and %.tab.[ch] to 'targets' automatically 9a8dfb394c04 kbuild: clean up *.lex.c and *.tab.[ch] patterns from top-level Makefile 598893002745 .gitignore: move *.lex.c *.tab.[ch] patterns to the top-level .gitignore 18492685e479 kconfig: use yylineno option instead of manual lineno increments 379a8eb8eb1a kconfig: detect recursive inclusion earlier 32a94b8b0c3e kconfig: remove duplicated file name and lineno of recursive inclusion 26561514cc9d kconfig: do not include both curses.h and ncurses.h for nconfig f8f69dc0b4e0 kconfig: make unmet dependency warnings readable f622f8279581 kconfig: warn unmet direct dependency of tristate symbols selected by y e2c75e7667c7 kconfig: tests: test if recursive inclusion is detected 29c434f367ea kconfig: tests: test if recursive dependencies are detected 3e4888c2e3d7 kconfig: tests: test randconfig for choice in choice beaaddb62540 kconfig: tests: test defconfig when two choices interact ee236610653e kconfig: tests: check visibility of tristate choice values in y choice 930c429a656f kconfig: tests: check unneeded "is not set" with unmet dependency b76960c0f6b2 kconfig: tests: test if new symbols in choice are asked 49ac3c0c3aa3 kconfig: tests: test automatic submenu creation 1903c5119059 kconfig: tests: add basic choice tests 022a4bf6b59d kconfig: tests: add framework for Kconfig unit testing 2a61625835c7 kconfig: remove redundant streamline_config.pl prerequisite 911a91c39cab kconfig: rename silentoldconfig to syncconfig 81d2bc227305 kconfig: invoke oldconfig instead of silentoldconfig from local*config 2aad9b896213 kconfig: hide irrelevant sub-menus for oldconfig 99f0b6578bab kconfig: remove redundant input_mode test for check_conf() loop 4bb3a5b085cd kconfig: remove unneeded input_mode test in conf() 59a80b5e892d kconfig: do not call check_conf() for olddefconfig f467c5640c29 kconfig: only write '# CONFIG_FOO is not set' for visible symbols d9119b5925a0 kconfig: Print reverse dependencies in groups 9a47ceec543b kconfig: clean-up reverse dependency help implementation 07a422bb213a kbuild: restore autoksyms.h touch to the top Makefile Signed-off-by: Chris Packham <judge.packham@gmail.com>
| * kconfig: Sync with upstream v4.16Chris Packham2021-02-0217-168/+575
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit introduces the following upstream changes: 5ae6fcc4bb82 kconfig: fix line number in recursive inclusion error message 1a90ce36c6ef kconfig: Update ncurses package names for menuconfig bf0bbdcf1003 kconfig: Don't leak choice names during parsing f4bc1eefc160 kconfig: set SYMBOL_AUTO to the symbol marked with defconfig_list cd81fc82b93f kconfig: add xstrdup() helper 523ca58b7db2 kconfig: remove const qualifier from sym_expand_string_value() d717f24d8c68 kconfig: add xrealloc() helper 9e3e10c72536 kconfig: send error messages to stderr f3ff6fb5db68 kconfig: echo stdin to stdout if either is redirected d2a04648a5db kconfig: remove check_stdin() cd58a91def2a kconfig: remove 'config*' pattern from .gitignnore 4f208f392103 kconfig: show '?' prompt even if no help text is available cb67ab2cd2b8 kconfig: do not write choice values when their dependency becomes n 1b9eda2e4892 kconfig: Warn if help text is blank cedd55d49dee kconfig: Remove silentoldconfig from help and docs; fix kconfig/conf's help 1ccb27143360 kconfig: make "Selected by:" and "Implied by:" readable 312ee68752fa kconfig: announce removal of oldnoconfig if used d0fd0428ecf0 kconfig: fix make xconfig when gettext is missing b53688014e33 kconfig: Clarify menu and 'if' dependency propagation 9d1a9e8bc18b kconfig: Document 'if' flattening logic d3465af60f44 kconfig: Clarify choice dependency propagation 3e41ba05b6d6 kconfig: Document SYMBOL_OPTIONAL logic 765f4cdef6f8 kconfig: use default 'yy' prefix for lexer and parser 84dd95d4f87a kconfig: make conf_unsaved a local variable of conf_read() 5a3dc717b3c7 kconfig: make xfgets() really static 52e58a3caeba kconfig: make input_mode static 6479f327dea6 kconfig: Warn if there is more than one help text b92d804a5179 kconfig: drop 'boolean' keyword df60f4b92d3d kconfig: Remove menu_end_entry() 0735f7e5def2 kconfig: Document important expression functions 05cccce58045 kconfig: Document automatic submenu creation code 7cf33f88e294 kconfig: Fix choice symbol expression leak 5b1374b3b3c2 kconfig: Fix expr_free() E_NOT leak ae7440ef0c80 kconfig: Fix automatic menu creation mem leak 0724a7c32a54 kconfig: Don't leak main menus during parsing bc28fe1d5ede kconfig: Don't leak 'option' arguments during parsing 24161a6711c9 kconfig: Don't leak 'source' filenames during parsing 26e47a3c11a2 kconfig: Don't leak symbol names during parsing 29c833061c1d kconfig: generate lexer and parser during build instead of shipping e3b03bf29d6b kconfig: display recursive dependency resolution hint just once f77850d3fe0c kconfig: Clean up modules handling and fix crash fa8cedaef814 kconfig: Clarify expression rewriting 9a826842ff2f kconfig: Rename menu_check_dep() to rewrite_m() c873443430eb kconfig: Sync zconf.y with zconf.tab.c_shipped 52aede4ba5ef kconfig: Document the 'symbol' struct 33ca1a248663 kconfig: Document the 'menu' struct 2c37e08464a8 kconfig: Warn if choice default is not in choice Signed-off-by: Chris Packham <judge.packham@gmail.com>
| * config/cc/gcc.in: Fix typo CC_GCC_DEC_FLOAT -> CC_GCC_DEC_FLOATSChris Packham2021-02-021-3/+3
| | | | | | | | | | | | | | | | | | This has gone unnoticed for a while, it looks like all configurations have probably been using the default floats behaviour. Newer kconfig tells us the default value is not in the choice so lets fix this in preparation. Signed-off-by: Chris Packham <judge.packham@gmail.com>
| * Don't generate empty helpChris Packham2021-02-012-0/+4
| | | | | | | | | | | | | | Kconfig now complains when we have a help section with no text. If there is nothing in @@help@@ don't output a `help` section. Signed-off-by: Chris Packham <judge.packham@gmail.com>
| * configure.ac: Silence make output when building ct-ngChris Packham2021-02-011-0/+1
|/ | | | | | Set AM_SILENT_RULES([yes]) to reduce the verbosity from make by default. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Merge pull request #1448 from dinuxbg/masterChris Packham2021-01-2511-1/+175
|\ | | | | Add PRU target configuration
| * Add package with PRU linker scripts and headersDimitar Dimitrov2021-01-197-0/+143
| | | | | | | | | | | | | | | | Include the gnuprumcu package in PRU cross toolchain. Toolchain is somewhat useless without device specs and linker scripts for the various SoCs. Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
| * Add PRU cross tool targetDimitar Dimitrov2021-01-195-1/+32
| | | | | | | | | | | | | | | | | | Add sample configuration for building cross toolchain for the TI PRU. PRU cores are present in many of the BeagleBone single board computers. More information about the PRU can be found in https://bbb.io/pru Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
* | Merge pull request #1447 from keith-packard/nano-companionChris Packham2021-01-195-0/+434
|\ \ | |/ |/| Build newlib-nano as a companion library
| * newlib-nano: Build libstdc++ against newlib-nano if requestedKeith Packard2021-01-142-0/+54
| | | | | | | | | | | | | | This uses the gcc support for building libstdc++ using alternate lib header files. Signed-off-by: Keith Packard <keithp@keithp.com>
| * Create nano.spec file that sits atop the existing nano buildKeith Packard2021-01-141-0/+16
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * Add newlib-nano as companion libKeith Packard2021-01-145-0/+364
|/ | | | | | | This allows building newlib-nano in addition to newlib and picolibc, allowing users to select between C libraries within the same toolchain. Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge pull request #1446 from cpackham/linux-version-bumpChris Packham2021-01-1422-48/+64
|\ | | | | linux: Add new versions and bump LTS
| * linux: Add new versions and bump LTSChris Packham2021-01-1322-48/+64
|/ | | | | | | | | | | Add 5.9.16 and 5.10.7 Bump 4.4.236 -> 4.4.251 Bump 4.9.236 -> 4.9.251 Bump 4.14.198 -> 4.14.215 Bump 5.4.65 -> 5.4.89 Bump 5.8.9 -> 5.8.18 Signed-off-by: Chris Packham <judge.packham@gmail.com>
*-----. Merge branches 'elijahr-dtc-1.6.0', 'elijahr-readme-typo', ↵Chris Packham2021-01-1318-41/+700
|\ \ \ \ | | | | | | | | | | | | | | | 'foss-for-synopsys-dwc-arc-processors-abrodkin-libgmp-for-mac' and 'keith-packard-picolibc-companion'
| | | | * picolibc: Add version 1.5Keith Packard2021-01-112-0/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| | | | * picolibc: Build libstdc++ against picolibc if requestedKeith Packard2021-01-113-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This uses the gcc support for building libstdc++ using alternate lib header files. Signed-off-by: Keith Packard <keithp@keithp.com>
| | | | * gcc: Add support for building libstdc++ with alternate libcKeith Packard2021-01-113-8/+353
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds another mode to do_gcc_core_backend that builds libstdc++ against an alternate libc implementation. Signed-off-by: Keith Packard <keithp@keithp.com>
| | | | * picolibc: Clean up configuration a bitKeith Packard2021-01-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use LIBC_PICOLIBC_CXA_ATEXIT to keep this name in the same 'namespace' as the other picolibc config names. Enable retargetable locking by default. This allows the few locks in picolibc to be implemented by the execution environment, rather than disabling the locking code. Signed-off-by: Keith Packard <keithp@keithp.com>
| | | | * picolibc: Pull compatibility patches from upstreamKeith Packard2021-01-083-0/+226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Allows picolibc's stdio to be used with c++ applications 2. Includes arm exception information in link rules 3. Adds picolibc include directory to c++ header paths. These patches are all upstream in picolibc and included in version 1.5. Signed-off-by: Keith Packard <keithp@keithp.com>
| | | | * picolibc: Convert to companion libraryKeith Packard2021-01-084-24/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows configurations to include picolibc without excluding another C library. Signed-off-by: Keith Packard <keithp@keithp.com>
| | | | * picolibc: Pull tarballs from github instead of keithp.comKeith Packard2021-01-072-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Way more bandwidth at github. Signed-off-by: Keith Packard <keithp@keithp.com>
| | | * | libgmp: Fix cross-canadian build for macOSAlexey Brodkin2020-12-231-0/+9
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently when building cross-canadian toolchain for macOS the folowing error happens when GCC is configured: |ld: illegal text-relocation to '___gmp_binvert_limb_table' in |... /.build/... /buildtools/complibs-host/lib/libgmp.a(mp_minv_tab.o) from '___gmpn_divexact_1' in |... /.build/... /buildtools/complibs-host/lib/libgmp.a(dive_1.o) |collect2: error: ld returned 1 exit status Apparently this might be solved with GMP configured with "--with-pic", even though we're talking about static library here. That solution was found here: https://github.com/Homebrew/homebrew-core/pull/25470 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
| | * / Fix typo in README.mdElijah Shaw-Rutschman2021-01-121-1/+1
| |/ / |/| | | | | | | | | | | | | | envolve -> involve Signed-off-by: Elijah Shaw-Rutschman <elijahr@gmail.com>
| * | packages/dtc: Add 1.6.0Elijah Shaw-Rutschman2021-01-122-0/+8
|/ / | | | | | | Signed-off-by: Elijah Shaw-Rutschman <elijahr@gmail.com>
* | Merge branch 'foss-for-synopsys-dwc-arc-processors-abrodkin-newlib-nano-io'Chris Packham2021-01-121-0/+5
|\ \
| * | gcc: Make it aware of Newlib nano IO featureAlexey Brodkin2020-12-231-0/+5
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Even though GCC as a compiler has nothing to do with a C library being used it still makes sense to know about Newlib's compact implementation of IO functions: * For targets like MSP430 which require to have such a tuned Newlib if "-mtiny-printf" is passed to the GCC's command-line [1] * For correct compilation of the following GCC's own DejaGnu tests [2]: - gcc/testsuite/gcc.c-torture/execute/920501-8.c - gcc/testsuite/gcc.c-torture/execute/930513-1.c - gcc/testsuite/gcc.dg/torture/builtin-sprintf.c - gcc/testsuite/gcc.c-torture/execute/ieee/920810-1.x [1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=02afb6a9321fbfb435452636cedc2cd43f0c4fd2 [2] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=571bbd0d48d5872eacbd0b681fce6e1ae754520b So we add that missing cross-dependency now. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* | Merge branch 'cpackham-ncurses-mirror'Chris Packham2021-01-121-1/+1
|\ \ | |/ |/|
| * packages/ncurses: update ncurses mirrorChris Packham2020-12-181-1/+1
|/ | | | | | | | | | | ftp://invisible-island.net/ncurses doesn't actually have the numbered ncurses tarball. We've not noticed because we fall back to using the GNU mirror which does. It's also ftp which is being deprecated. Switch to https://invisible-mirror.net/archives/ncurses which has the actual tarballs and provides a secure connection. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Merge pull request #1433 from ivanka2012/add-mingw-8.0.0Chris Packham2020-12-173-0/+38
|\ | | | | Add MinGW version 8.0.0
| * Add MinGW version 8.0.0ivanka20122020-12-143-0/+38
| | | | | | | | Signed-off-by: Kittenberger Iván <ivanka2012@gmail.com>
* | Merge pull request #1431 from cpackham/ltrace-url-fixChris Packham2020-12-141-1/+1
|\ \ | |/ |/| packages/ltrace: Remove stray ':' from URL
| * packages/ltrace: Remove stray ':' from URLChris Packham2020-12-111-1/+1
|/ | | | | | Change 'ftp::' to 'ftp:'. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Merge pull request #1429 from galak/mac-arm-2Chris Packham2020-12-091-0/+33
|\ | | | | gcc: Additional build fix for building arm64 toolchain on M1 Mac's
| * gcc: Additional build fix for building arm64 toolchain on M1 Mac'sKumar Gala2020-12-081-0/+33
|/ | | | | | | | If we are targetting an aarch64-none-elf toolchain we end up running into a build issue in gcc/config/aarch64/driver-aarch64.c. This is fixed in upstream gcc so just backport the patch to gcc-10.2.0 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
* Merge pull request #1426 from galak/mac-armChris Packham2020-12-088-458/+1377
|\ | | | | Initial changes to build cross compilers on new ARM based M1 Macs
| * gcc: Add some patches to get gcc 10.2 building on ARM based MacKumar Gala2020-12-042-0/+132
| | | | | | | | | | | | | | Pull in a change from upstream GCC and one from the gcc-darwin-arm64 repo that gets an initial cross compiler building on ARM based Mac. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
| * bump to gmp 6.2.1 + patch for ARM based MacOS supportKumar Gala2020-12-044-12/+528
| | | | | | | | | | | | | | | | Update to GMP 6.2.1 for MacOS ARM support and pull in one patch from repo that deal with a possible issue with GMP on MacOS ARM systems. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
| * Run through 'ct-ng updatetools'Kumar Gala2020-12-042-446/+717
|/ | | | | | Update config.{sub,guess} to get proper awareness for ARM based MacOS. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
* Merge branch 'aaujon-master'Chris Packham2020-11-304-1/+24
|\
| * Update reported.byArnaud Aujon Chevallier2020-11-242-3/+3
| |
| * samples : update armv6 configurationArnaud Aujon Chevallier2020-11-244-0/+23
|/
* Merge branch 'jemarch-oracle/ol-support'Chris Packham2020-11-2318-6/+125
|\
| * Add sample configuration for Oracle Linux 7 on aarch64Jose E. Marchesi2020-11-232-0/+24
| |
| * Add Oracle products to crosstool-ngJose E. Marchesi2020-11-2313-0/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds support for the following Oracle products, in order to target Oracle Linux 7.9: Binutils 2.27-44.base.0.400 GCC 4.8.5-44.0.5 glibc 2.17-317.0.3 UEK5/u4 4.14.35-2025.400.8 Sample configuration files are provides for the following triplets: arm-ol7u9-linux-gnueabi arm-ol7u9-linux-gnueabihf Signed-off-by: Egeyar Bagcioglu <egeyar.bagcioglu@oracle.com> Signed-off-by: Jose E. Marchesi <jose.marchesi@oracle.com>
| * Set the origin of Linux releasesEgeyar2020-11-231-0/+1
| | | | | | | | | | | | | | | | | | Set the origin of the Linux tarballs to www.kernel.org in order to avoid getting an empty string in menuconfig. Signed-off-by: Egeyar Bagcioglu <egeyar.bagcioglu@oracle.com> [cp: use kernel.org] Signed-off-by: Chris Packham <judge.packham@gmail.com>
| * Support released versions from Git branchesEgeyar2020-11-232-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | Merge branch 'galak-macosx'Chris Packham2020-11-232-9/+85
|\ \ | |/ |/|
| * CI: Add MacOS X builds to CI testingKumar Gala2020-11-111-9/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add building on MacOS X as part of the CI testing. A few notes: * We exclude mips64-unknown-linux-gnu as the linux kernel headers need <byteswap.h> that is a GNU extension to build elf-entry.c and does not exist on Mac OS X. * We create a SPARSE image filesystem to ensure we have are doing the builds in a case sensitive fs. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>