[crosstool-ng/crosstool-ng] 09cb59: Improve upgradability of defconfig files

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[crosstool-ng/crosstool-ng] 09cb59: Improve upgradability of defconfig files

Alexey Neyman-2
  Branch: refs/heads/master
  Home:   https://github.com/crosstool-ng/crosstool-ng
  Commit: 09cb590847e5e26e5bb029c1a2693cfa7a1e99b6
      https://github.com/crosstool-ng/crosstool-ng/commit/09cb590847e5e26e5bb029c1a2693cfa7a1e99b6
  Author: Alexey Neyman <[hidden email]>
  Date:   2019-02-09 (Sat, 09 Feb 2019)

  Changed paths:
    A scripts/upgrade/README
    A scripts/upgrade/v0
    A scripts/upgrade/v1
    M scripts/version-check.sh

  Log Message:
  -----------
  Improve upgradability of defconfig files

- Switch to two-pass reading of the config file to track both (a) the
option's value and (b) if the option has been explicitly called out in
the .config being processed.
- Split off per-version functions into separate files.
- Add a README with some guidelines on writing new upgrade scripts.

Signed-off-by: Alexey Neyman <[hidden email]>


  Commit: 74a53fdf3eb383f09bdbf0d4adf8d2e26f838bd1
      https://github.com/crosstool-ng/crosstool-ng/commit/74a53fdf3eb383f09bdbf0d4adf8d2e26f838bd1
  Author: Alexey Neyman <[hidden email]>
  Date:   2019-02-09 (Sat, 09 Feb 2019)

  Changed paths:
    M .gitignore
    M bootstrap
    M ct-ng.in
    M samples/samples.mk
    M scripts/show-config.sh
    M scripts/version-check.sh

  Log Message:
  -----------
  Use enhanced framework for 'ct-ng update-samples'

Signed-off-by: Alexey Neyman <[hidden email]>


  Commit: 47e16f64e4bb98b8bd616a9bf45f80113a0794f1
      https://github.com/crosstool-ng/crosstool-ng/commit/47e16f64e4bb98b8bd616a9bf45f80113a0794f1
  Author: Alexey Neyman <[hidden email]>
  Date:   2019-02-09 (Sat, 09 Feb 2019)

  Changed paths:
    M samples/aarch64-rpi3-linux-gnu/crosstool.config
    M samples/aarch64-unknown-linux-android/crosstool.config
    M samples/aarch64-unknown-linux-gnu/crosstool.config
    M samples/aarch64-unknown-linux-uclibc/crosstool.config
    M samples/alphaev56-unknown-linux-gnu/crosstool.config
    M samples/alphaev67-unknown-linux-gnu/crosstool.config
    M samples/arc-arc700-linux-uclibc/crosstool.config
    M samples/arc-multilib-elf32/crosstool.config
    M samples/arc-multilib-linux-uclibc/crosstool.config
    M samples/arm-bare_newlib_cortex_m3_nommu-eabi/crosstool.config
    M samples/arm-cortex_a15-linux-gnueabihf/crosstool.config
    M samples/arm-cortex_a8-linux-gnueabi/crosstool.config
    M samples/arm-cortexa5-linux-uclibcgnueabihf/crosstool.config
    M samples/arm-cortexa9_neon-linux-gnueabihf/crosstool.config
    M samples/arm-multilib-linux-uclibcgnueabi/crosstool.config
    M samples/arm-nano-eabi/crosstool.config
    M samples/arm-unknown-eabi/crosstool.config
    M samples/arm-unknown-linux-gnueabi/crosstool.config
    M samples/arm-unknown-linux-musleabi/crosstool.config
    M samples/arm-unknown-linux-uclibcgnueabi/crosstool.config
    M samples/arm-unknown-linux-uclibcgnueabihf/crosstool.config
    M samples/armeb-unknown-eabi/crosstool.config
    M samples/armeb-unknown-linux-gnueabi/crosstool.config
    M samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config
    M samples/armv6-nommu-linux-uclibcgnueabi/crosstool.config
    M samples/armv6-rpi-linux-gnueabi/crosstool.config
    M samples/armv7-rpi2-linux-gnueabihf/crosstool.config
    M samples/armv8-rpi3-linux-gnueabihf/crosstool.config
    M samples/avr/crosstool.config
    M samples/i586-geode-linux-uclibc/crosstool.config
    M samples/i686-centos6-linux-gnu/crosstool.config
    M samples/i686-centos7-linux-gnu/crosstool.config
    M samples/i686-nptl-linux-gnu/crosstool.config
    M samples/i686-ubuntu12.04-linux-gnu/crosstool.config
    M samples/i686-ubuntu14.04-linux-gnu/crosstool.config
    M samples/i686-ubuntu16.04-linux-gnu/crosstool.config
    M samples/i686-w64-mingw32,nios2-spico-elf/crosstool.config
    M samples/i686-w64-mingw32/crosstool.config
    M samples/m68k-unknown-elf/crosstool.config
    M samples/m68k-unknown-uclinux-uclibc/crosstool.config
    M samples/mips-ar2315-linux-gnu/crosstool.config
    M samples/mips-malta-linux-gnu/crosstool.config
    M samples/mips-unknown-elf/crosstool.config
    M samples/mips-unknown-linux-uclibc/crosstool.config
    M samples/mips64el-multilib-linux-uclibc/crosstool.config
    M samples/mipsel-multilib-linux-gnu/crosstool.config
    M samples/mipsel-sde-elf/crosstool.config
    M samples/mipsel-unknown-linux-gnu/crosstool.config
    M samples/moxie-unknown-elf/crosstool.config
    M samples/moxiebox/crosstool.config
    M samples/msp430-unknown-elf/crosstool.config
    M samples/nios2-altera-linux-gnu/crosstool.config
    M samples/nios2-unknown-elf/crosstool.config
    M samples/powerpc-405-linux-gnu/crosstool.config
    M samples/powerpc-8540-linux-gnu/crosstool.config
    M samples/powerpc-860-linux-gnu/crosstool.config
    M samples/powerpc-e300c3-linux-gnu/crosstool.config
    M samples/powerpc-e500v2-linux-gnuspe/crosstool.config
    M samples/powerpc-unknown-linux-gnu/crosstool.config
    M samples/powerpc-unknown-linux-uclibc,m68k-unknown-uclinux-uclibc/crosstool.config
    M samples/powerpc-unknown-linux-uclibc/crosstool.config
    M samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config
    M samples/powerpc64-multilib-linux-gnu/crosstool.config
    M samples/powerpc64-unknown-linux-gnu/crosstool.config
    M samples/powerpc64le-unknown-linux-gnu/crosstool.config
    M samples/riscv32-hifive1-elf/crosstool.config
    M samples/riscv32-unknown-elf/crosstool.config
    M samples/riscv64-unknown-elf/crosstool.config
    M samples/riscv64-unknown-linux-gnu/crosstool.config
    M samples/s390-ibm-linux-gnu/crosstool.config
    M samples/s390x-ibm-linux-gnu/crosstool.config
    M samples/sh-multilib-linux-gnu/crosstool.config
    M samples/sh-multilib-linux-uclibc/crosstool.config
    M samples/sh-unknown-elf/crosstool.config
    M samples/sparc-leon-linux-uclibc/crosstool.config
    M samples/sparc-unknown-linux-gnu/crosstool.config
    M samples/sparc64-multilib-linux-gnu/crosstool.config
    M samples/x86_64-centos6-linux-gnu/crosstool.config
    M samples/x86_64-centos7-linux-gnu/crosstool.config
    M samples/x86_64-multilib-linux-gnu/crosstool.config
    M samples/x86_64-multilib-linux-musl/crosstool.config
    M samples/x86_64-multilib-linux-uclibc,moxie-unknown-moxiebox/crosstool.config
    M samples/x86_64-multilib-linux-uclibc,powerpc-unknown-elf/crosstool.config
    M samples/x86_64-multilib-linux-uclibc/crosstool.config
    M samples/x86_64-ubuntu12.04-linux-gnu/crosstool.config
    M samples/x86_64-ubuntu14.04-linux-gnu/crosstool.config
    M samples/x86_64-ubuntu16.04-linux-gnu/crosstool.config
    M samples/x86_64-unknown-linux-gnu/crosstool.config
    M samples/x86_64-unknown-linux-uclibc/crosstool.config
    M samples/x86_64-w64-mingw32,arm-cortexa9_neon-linux-gnueabihf/crosstool.config
    M samples/x86_64-w64-mingw32,x86_64-pc-linux-gnu/crosstool.config
    M samples/x86_64-w64-mingw32/crosstool.config
    M samples/xtensa-fsf-linux-uclibc/crosstool.config

  Log Message:
  -----------
  Run the samples through update to v2

Signed-off-by: Alexey Neyman <[hidden email]>


  Commit: 2da27758a9638b07f06d490251f0e44abf398057
      https://github.com/crosstool-ng/crosstool-ng/commit/2da27758a9638b07f06d490251f0e44abf398057
  Author: Alexey Neyman <[hidden email]>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M .gitignore
    M bootstrap
    M ct-ng.in
    M samples/aarch64-rpi3-linux-gnu/crosstool.config
    M samples/aarch64-unknown-linux-android/crosstool.config
    M samples/aarch64-unknown-linux-gnu/crosstool.config
    M samples/aarch64-unknown-linux-uclibc/crosstool.config
    M samples/alphaev56-unknown-linux-gnu/crosstool.config
    M samples/alphaev67-unknown-linux-gnu/crosstool.config
    M samples/arc-arc700-linux-uclibc/crosstool.config
    M samples/arc-multilib-elf32/crosstool.config
    M samples/arc-multilib-linux-uclibc/crosstool.config
    M samples/arm-bare_newlib_cortex_m3_nommu-eabi/crosstool.config
    M samples/arm-cortex_a15-linux-gnueabihf/crosstool.config
    M samples/arm-cortex_a8-linux-gnueabi/crosstool.config
    M samples/arm-cortexa5-linux-uclibcgnueabihf/crosstool.config
    M samples/arm-cortexa9_neon-linux-gnueabihf/crosstool.config
    M samples/arm-multilib-linux-uclibcgnueabi/crosstool.config
    M samples/arm-nano-eabi/crosstool.config
    M samples/arm-unknown-eabi/crosstool.config
    M samples/arm-unknown-linux-gnueabi/crosstool.config
    M samples/arm-unknown-linux-musleabi/crosstool.config
    M samples/arm-unknown-linux-uclibcgnueabi/crosstool.config
    M samples/arm-unknown-linux-uclibcgnueabihf/crosstool.config
    M samples/armeb-unknown-eabi/crosstool.config
    M samples/armeb-unknown-linux-gnueabi/crosstool.config
    M samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config
    M samples/armv6-nommu-linux-uclibcgnueabi/crosstool.config
    M samples/armv6-rpi-linux-gnueabi/crosstool.config
    M samples/armv7-rpi2-linux-gnueabihf/crosstool.config
    M samples/armv8-rpi3-linux-gnueabihf/crosstool.config
    M samples/avr/crosstool.config
    M samples/i586-geode-linux-uclibc/crosstool.config
    M samples/i686-centos6-linux-gnu/crosstool.config
    M samples/i686-centos7-linux-gnu/crosstool.config
    M samples/i686-nptl-linux-gnu/crosstool.config
    M samples/i686-ubuntu12.04-linux-gnu/crosstool.config
    M samples/i686-ubuntu14.04-linux-gnu/crosstool.config
    M samples/i686-ubuntu16.04-linux-gnu/crosstool.config
    M samples/i686-w64-mingw32,nios2-spico-elf/crosstool.config
    M samples/i686-w64-mingw32/crosstool.config
    M samples/m68k-unknown-elf/crosstool.config
    M samples/m68k-unknown-uclinux-uclibc/crosstool.config
    M samples/mips-ar2315-linux-gnu/crosstool.config
    M samples/mips-malta-linux-gnu/crosstool.config
    M samples/mips-unknown-elf/crosstool.config
    M samples/mips-unknown-linux-uclibc/crosstool.config
    M samples/mips64el-multilib-linux-uclibc/crosstool.config
    M samples/mipsel-multilib-linux-gnu/crosstool.config
    M samples/mipsel-sde-elf/crosstool.config
    M samples/mipsel-unknown-linux-gnu/crosstool.config
    M samples/moxie-unknown-elf/crosstool.config
    M samples/moxiebox/crosstool.config
    M samples/msp430-unknown-elf/crosstool.config
    M samples/nios2-altera-linux-gnu/crosstool.config
    M samples/nios2-unknown-elf/crosstool.config
    M samples/powerpc-405-linux-gnu/crosstool.config
    M samples/powerpc-8540-linux-gnu/crosstool.config
    M samples/powerpc-860-linux-gnu/crosstool.config
    M samples/powerpc-e300c3-linux-gnu/crosstool.config
    M samples/powerpc-e500v2-linux-gnuspe/crosstool.config
    M samples/powerpc-unknown-linux-gnu/crosstool.config
    M samples/powerpc-unknown-linux-uclibc,m68k-unknown-uclinux-uclibc/crosstool.config
    M samples/powerpc-unknown-linux-uclibc/crosstool.config
    M samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config
    M samples/powerpc64-multilib-linux-gnu/crosstool.config
    M samples/powerpc64-unknown-linux-gnu/crosstool.config
    M samples/powerpc64le-unknown-linux-gnu/crosstool.config
    M samples/riscv32-hifive1-elf/crosstool.config
    M samples/riscv32-unknown-elf/crosstool.config
    M samples/riscv64-unknown-elf/crosstool.config
    M samples/riscv64-unknown-linux-gnu/crosstool.config
    M samples/s390-ibm-linux-gnu/crosstool.config
    M samples/s390x-ibm-linux-gnu/crosstool.config
    M samples/samples.mk
    M samples/sh-multilib-linux-gnu/crosstool.config
    M samples/sh-multilib-linux-uclibc/crosstool.config
    M samples/sh-unknown-elf/crosstool.config
    M samples/sparc-leon-linux-uclibc/crosstool.config
    M samples/sparc-unknown-linux-gnu/crosstool.config
    M samples/sparc64-multilib-linux-gnu/crosstool.config
    M samples/x86_64-centos6-linux-gnu/crosstool.config
    M samples/x86_64-centos7-linux-gnu/crosstool.config
    M samples/x86_64-multilib-linux-gnu/crosstool.config
    M samples/x86_64-multilib-linux-musl/crosstool.config
    M samples/x86_64-multilib-linux-uclibc,moxie-unknown-moxiebox/crosstool.config
    M samples/x86_64-multilib-linux-uclibc,powerpc-unknown-elf/crosstool.config
    M samples/x86_64-multilib-linux-uclibc/crosstool.config
    M samples/x86_64-ubuntu12.04-linux-gnu/crosstool.config
    M samples/x86_64-ubuntu14.04-linux-gnu/crosstool.config
    M samples/x86_64-ubuntu16.04-linux-gnu/crosstool.config
    M samples/x86_64-unknown-linux-gnu/crosstool.config
    M samples/x86_64-unknown-linux-uclibc/crosstool.config
    M samples/x86_64-w64-mingw32,arm-cortexa9_neon-linux-gnueabihf/crosstool.config
    M samples/x86_64-w64-mingw32,x86_64-pc-linux-gnu/crosstool.config
    M samples/x86_64-w64-mingw32/crosstool.config
    M samples/xtensa-fsf-linux-uclibc/crosstool.config
    M scripts/show-config.sh
    A scripts/upgrade/README
    A scripts/upgrade/v0
    A scripts/upgrade/v1
    M scripts/version-check.sh

  Log Message:
  -----------
  Merge pull request #1136 from stilor/upgrading2

Upgradability, phase 2


Compare: https://github.com/crosstool-ng/crosstool-ng/compare/db4fdf015061...2da27758a963