icevel_sv901/scripts
lovehackintosh 51ec2f45a6
treewide: sync with upstream (#10750)
* build: fix incomplete initramfs compression options

Requires: tools/lz4, tools/lzop

complete the wiring so that these options work:
* `CONFIG_KERNEL_INITRAMFS_COMPRESSION_LZO`
* `CONFIG_KERNEL_INITRAMFS_COMPRESSION_LZ4`

Signed-off-by: Tony Butler <spudz76@gmail.com>
[remove blocking dependencies for separate ramdisk, fix lzop options]
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* include: sync with upstream

* toolchain/binutils: add support for version 2.40

Release notes:
    https://sourceware.org/pipermail/binutils/2023-January/125671.html

Signed-off-by: Linhui Liu <liulinhui36@gmail.com>

* toolchain/gcc: switch to version 12 by default

Also fix build error with gcc 12.

* toolchain/nasm: update to 2.16.01

ChangeLog:

 Version 2.16.01

       _This is a documentation update release only._

       (*) Fix the creation of the table of contents in the HTML version of
           the documentation.

 Version 2.16

       (*) Support for the `rdf' format has been discontinued and all the
           RDOFF utilities has been removed.

       (*) The `--reproducible' option now leaves the filename field in the
           COFF object format blank. This was always rather useless since
           it is only 18 characters long; as such debug formats have to
           carry their own filename information anyway.

       (*) Fix handling of MASM-syntax reserved memory (e.g. `dw ?') when
           used in structure definitions.

       (*) The preprocessor now supports functions, which can be less
           verbose and more convenient than the equivalent code implemented
           using directives. See section 4.4.

       (*) Fix the handling of `%00' in the preprocessor.

       (*) Fix incorrect handling of path names affecting error messages,
           dependency generation, and debug format output.

       (*) Support for the RDOFF output format and the RDOFF tools have
           been removed. The RDOFF tools had already been broken since at
           least NASM 2.14. For flat code the ELF output format
           recommended; for segmented code the `obj' (OMF) output format.

       (*) New facility: preprocessor functions. Preprocessor functions,
           which are expanded similarly to single-line macros, can greatly
           simplify code that in the past would have required a lengthy
           list of directives and intermediate macros. See section 4.4.

       (*) Single-line macros can now declare parameters (using a `&&'
           prefix) that creates a quoted string, but does _not_ requote an
           already quoted string. See section 4.2.1.

       (*) Instruction table updated per public information available as of
           November 2022.

       (*) All warnings in the preprocessor have now been assigned warning
           classes. See appendix A.

       (*) Fix the invalid use of `RELA'-type relocations instead of `REL'-
           type relocations when generating DWARF debug information for the
           `elf32' output format.

       (*) Fix the handling `at' in `istruc' when the structure contains
           local labels. See section 5.9.2.

       (*) When assembling with `--reproducible', don't encode the filename
           in the COFF header for the `coff', `win32' or `win64' output
           formats. The COFF header only has space for an 18-character
           filename, which makes this field rather useless in the first
           place. Debug output data, if enabled, is not affected.

       (*) Fix incorrect size calculation when using MASM syntax for non-
           byte reservations (e.g. `dw ?'.)

       (*) Allow forcing an instruction in 64-bit mode to have a (possibly
           redundant) REX prefix, using the syntax `{rex}' as a prefix.

       (*) Add a `{vex}' prefix to enforce VEX (AVX) encoding of an
           instruction, either using the 2- or 3-byte VEX prefixes.

       (*) The `CPU' directive has been augmented to allow control of
           generation of VEX (AVX) versus EVEX (AVX-512) instruction
           formats, see section 7.11.

       (*) Some recent instructions that previously have been only
           available using EVEX encodings are now also encodable using VEX
           (AVX) encodings. For backwards compatibility these encodings are
           not enabled by default, but can be generated either via an
           explicit `{vex}' prefix or by specifying either `CPU LATEVEX' or
           `CPU NOEVEX'; see section 7.11.

       (*) Document the already existing `%unimacro' directive. See section
           4.5.12.

       (*) Fix a code range generation bug in the DWARF debug format
           (incorrect information in the `DW_AT_high_pc' field) for the ELF
           output formats. This bug happened to cancel out with a bug in
           older versions of the GNU binutils linker, but breaks with other
           linkers and updated or other linkers that expect the spec to be
           followed.

       (*) Fix segment symbols with addends, e.g. `jmp _TEXT+10h:0' in
           output formats that support segment relocations, e.g. the `obj'
           format.

       (*) Fix various crashes and hangs on invalid input.

Signed-off-by: Linhui Liu <liulinhui36@gmail.com>

* toolchain: musl: Fix symbol loading in gdb

Fix DT_DEBUG handling on MIPS in musl libc.
With this change gdb will load the symbol files for shared libraries on MIPS too.

This patch was taken from this thread: https://www.openwall.com/lists/musl/2022/01/09/4

Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com>

* tools: sync with upstream

* build: fix issues with targets installed via feeds

- fix including modules.mk when a target is being replaced
- fix calling make targets from target/linux

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* package: sync with upstream

Signed-off-by: Tony Butler <spudz76@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Co-authored-by: Tony Butler <spudz76@gmail.com>
Co-authored-by: Hauke Mehrtens <hmehrtens@maxlinear.com>
Co-authored-by: Felix Fietkau <nbd@nbd.name>
2023-01-25 15:30:35 +08:00
..
config scripts: sync with upstream 2022-10-19 20:39:19 +08:00
flashing scripts: sync with upstream 2022-10-19 20:39:19 +08:00
arm-magic.sh sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
brcmImage.pl Merge branch 'master' of https://github.com/lede-project/source 2018-01-09 14:38:15 +08:00
bundle-libraries.sh add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
cameo-imghdr.py scripts: sync with upstream 2022-10-19 20:39:19 +08:00
cameo-tag.py scripts: sync with upstream 2022-10-19 20:39:19 +08:00
cfe-bin-header.py Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
cfe-partition-tag.py scripts: sync with upstream 2022-10-19 20:39:19 +08:00
cfe-wfi-tag.py scripts: sync with upstream 2022-10-19 20:39:19 +08:00
check-toolchain-clean.sh scripts: sync with upstream 2022-10-19 20:39:19 +08:00
checkpatch.pl scripts: sync with upstream 2022-10-19 20:39:19 +08:00
clean-package.sh x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
cleanfile update source 2017-09-06 19:19:45 +08:00
cleanpatch update source 2017-09-06 19:19:45 +08:00
combined-ext-image.sh add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
combined-image.sh add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
command_all.sh scripts: sync with upstream 2022-10-19 20:39:19 +08:00
config.guess add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
config.rpath update source 2017-09-06 19:19:45 +08:00
config.sub add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
const_structs.checkpatch add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
deptest.sh update source 2017-09-06 19:19:45 +08:00
diffconfig.sh scripts/diffconfig.sh: ensure config/conf is built 2022-02-26 16:06:10 +00:00
dl_cleanup.py include: sync with upstream (#10454) 2022-11-19 18:03:18 +08:00
dl_github_archive.py treewide: sync with upstream (#10750) 2023-01-25 15:30:35 +08:00
download.pl download.pl: update and fix some mirrors 2022-12-10 12:32:24 +08:00
dump-target-info.pl scripts: sync with upstream 2022-10-19 20:39:19 +08:00
env scripts: sync with upstream 2022-10-19 20:39:19 +08:00
ext-toolchain.sh scripts: sync with upstream 2022-10-19 20:39:19 +08:00
ext-tools.sh treewide: sync with upstream (#10750) 2023-01-25 15:30:35 +08:00
feeds scripts: sync with upstream 2022-10-19 20:39:19 +08:00
fixup-makefile.pl sync with OpenWrt trunk 2018-09-07 13:43:55 +08:00
functions.sh add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
gen-dependencies.sh sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
gen-rddependencies.sh ramips: fix HATLab GateBoard-One Support 2022-12-01 14:05:27 +08:00
gen_image_generic.sh scripts: sync with upstream 2022-10-19 20:39:19 +08:00
get_source_date_epoch.sh add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
getver.sh kernel: bump 5.4 to 5.4.125 2021-06-15 18:06:21 +08:00
ipkg-build scripts: sync with upstream 2022-10-19 20:39:19 +08:00
ipkg-make-index.sh add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
ipkg-remove sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
json_add_image_info.py treewide: sync with upstream (#10750) 2023-01-25 15:30:35 +08:00
json_overview_image_info.py scripts: sync with upstream 2022-10-19 20:39:19 +08:00
kconfig.pl add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
linksys-image.sh sync with upstream (#10562) 2022-12-08 14:20:57 +08:00
make-ipkg-dir.sh update source 2017-09-06 19:19:45 +08:00
md5sum update source 2017-09-06 19:19:45 +08:00
metadata.pm scripts: sync with upstream 2022-10-19 20:39:19 +08:00
mkhash.c scripts: sync with upstream 2022-10-19 20:39:19 +08:00
mkits-qsdk-ipq-image.sh ipq40xx: add G-DOCK 2.0 (P&W R619AC) support 2019-10-22 23:14:35 -07:00
mkits-zyxel-fit.sh scripts: sync with upstream 2022-10-19 20:39:19 +08:00
mkits.sh include: sync with upstream (#10454) 2022-11-19 18:03:18 +08:00
netgear-encrypted-factory.py scripts: sync with upstream 2022-10-19 20:39:19 +08:00
om-fwupgradecfg-gen.sh x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
package-metadata.pl scripts: sync with upstream 2022-10-19 20:39:19 +08:00
pad_image scripts: sync with upstream 2022-10-19 20:39:19 +08:00
patch-kernel.sh update source 2017-09-06 19:19:45 +08:00
patch-specs.sh sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
portable_date.sh update source 2017-09-06 19:19:45 +08:00
qemustart x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
redboot-script.pl update source 2017-09-06 19:19:45 +08:00
relink-lib.sh update source 2017-09-06 19:19:45 +08:00
remote-gdb sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
rstrip.sh scripts: sync with upstream 2022-10-19 20:39:19 +08:00
sercomm-crypto.py Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
sercomm-kernel-header.py scripts: sync with upstream 2022-10-19 20:39:19 +08:00
sercomm-kernel.sh ramips: fix Beeline SmartBox TURBO+ support 2022-11-13 20:22:27 +08:00
sercomm-partition-tag.py Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
sercomm-payload.py Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
sercomm-pid.py scripts: sync with upstream 2022-10-19 20:39:19 +08:00
sign_images.sh scripts: sync with upstream 2022-10-19 20:39:19 +08:00
size_compare.sh scripts: sync with upstream 2022-10-19 20:39:19 +08:00
slugimage.pl scripts: sync with upstream 2022-10-19 20:39:19 +08:00
spelling.txt add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
srecimage.pl update source 2017-09-06 19:19:45 +08:00
strip-kmod.sh sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
symlink-tree.sh sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
sysupgrade-tar.sh sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
target-metadata.pl build: switch default target to x64 2022-10-19 20:42:58 +08:00
time.pl sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
timestamp.pl update source 2017-09-06 19:19:45 +08:00
ubinize-image.sh scripts: sync with upstream 2022-10-19 20:39:19 +08:00
xxdi.pl scripts: xxdi.pl: add xxd -i compat mode 2022-09-13 00:07:13 +08:00