[crosstool-ng/crosstool-ng] da76ae: Add DTC as a companion tool

Alexey Neyman <[email protected]> Sat, 01 Dec 2018 13:00:51 -0800
Newsgroups gmane.comp.gcc.cross-compiling
Message-ID <5c02f683cb9c0_6dff2b1e344e45801012d8@hookshot-fe-2cc8887.cp1-iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/crosstool-ng/crosstool-ng
  Commit: da76ae3ea3ba523223fe61b3b40974254a389141
      https://github.com/crosstool-ng/crosstool-ng/commit/da76ae3ea3ba523223fe61b3b40974254a389141
  Author: Alexey Neyman <[email protected]>
  Date:   2018-11-28 (Wed, 28 Nov 2018)

  Changed paths:
    A config/comp_tools/dtc.in
    M config/configure.in.in
    M configure.ac
    A packages/dtc/1.4.7/chksum
    A packages/dtc/1.4.7/version.desc
    A packages/dtc/package.desc
    M scripts/build/companion_tools/050-make.sh
    M scripts/build/companion_tools/100-m4.sh
    M scripts/build/companion_tools/200-autoconf.sh
    M scripts/build/companion_tools/300-automake.sh
    M scripts/build/companion_tools/400-libtool.sh
    A scripts/build/companion_tools/500-dtc.sh
    M scripts/functions
    M scripts/show-config.sh

  Log Message:
  -----------
  Add DTC as a companion tool

(needed for cross-gdb targeting the moxie-* targets)

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


  Commit: 172308cb1be5b23c816c19d0b9c84ba4910cbe80
      https://github.com/crosstool-ng/crosstool-ng/commit/172308cb1be5b23c816c19d0b9c84ba4910cbe80
  Author: Alexey Neyman <[email protected]>
  Date:   2018-11-28 (Wed, 28 Nov 2018)

  Changed paths:
    A config/arch/moxie.in
    M config/comp_tools/dtc.in
    M config/kernel/linux.in
    A samples/moxie-unknown-elf/crosstool.config
    A samples/moxie-unknown-elf/reported.by
    A scripts/build/arch/moxie.sh
    M scripts/build/kernel/windows.sh
    M scripts/functions

  Log Message:
  -----------
  Add moxie architecture

and a moxie-unknown-elf target (which is what #1088 apparently wanted).

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


  Commit: 40d5bf64408a0e103f8149f941ea50fbbb11dc91
      https://github.com/crosstool-ng/crosstool-ng/commit/40d5bf64408a0e103f8149f941ea50fbbb11dc91
  Author: Alexey Neyman <[email protected]>
  Date:   2018-12-01 (Sat, 01 Dec 2018)

  Changed paths:
    M bootstrap
    M config/libc/avr-libc.in
    A config/libc/moxiebox.in
    M config/toolchain.in
    M ct-ng.in
    M maintainer/kconfig-choice.template
    M maintainer/kconfig-menu.template
    A packages/moxiebox/git-9a79ac54/0001-Remove-PKG_CONFIG-check.patch
    A packages/moxiebox/package.desc
    A packages/moxiebox/sha.h
    A packages/moxiebox/sha256_wrap.c
    A samples/moxie-unknown-elf/broken
    M samples/moxie-unknown-elf/crosstool.config
    M samples/moxie-unknown-elf/reported.by
    A samples/moxie-unknown-moxiebox/crosstool.config
    A samples/moxie-unknown-moxiebox/reported.by
    A samples/x86_64-multilib-linux-uclibc,moxie-unknown-moxiebox/crosstool.config
    A samples/x86_64-multilib-linux-uclibc,moxie-unknown-moxiebox/reported.by
    M scripts/build/arch/avr.sh
    M scripts/build/arch/moxie.sh
    A scripts/build/libc.sh
    M scripts/build/libc/avr-libc.sh
    M scripts/build/libc/bionic.sh
    M scripts/build/libc/glibc.sh
    M scripts/build/libc/mingw-w64.sh
    A scripts/build/libc/moxiebox.sh
    M scripts/build/libc/musl.sh
    M scripts/build/libc/newlib.sh
    M scripts/build/libc/none.sh
    M scripts/build/libc/uClibc.sh
    M scripts/crosstool-NG.sh
    M scripts/functions
    M scripts/show-config.sh

  Log Message:
  -----------
  Add moxiebox as a choice for libc

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 <[email protected]>


  Commit: dc681ec8eb53eccdd18521853abaf0574d6ae75f
      https://github.com/crosstool-ng/crosstool-ng/commit/dc681ec8eb53eccdd18521853abaf0574d6ae75f
  Author: Alexey Neyman <[email protected]>
  Date:   2018-12-01 (Sat, 01 Dec 2018)

  Changed paths:
    M bootstrap
    A config/arch/moxie.in
    A config/comp_tools/dtc.in
    M config/configure.in.in
    M config/kernel/linux.in
    M config/libc/avr-libc.in
    A config/libc/moxiebox.in
    M config/toolchain.in
    M configure.ac
    M ct-ng.in
    M maintainer/kconfig-choice.template
    M maintainer/kconfig-menu.template
    A packages/dtc/1.4.7/chksum
    A packages/dtc/1.4.7/version.desc
    A packages/dtc/package.desc
    A packages/moxiebox/git-9a79ac54/0001-Remove-PKG_CONFIG-check.patch
    A packages/moxiebox/package.desc
    A packages/moxiebox/sha.h
    A packages/moxiebox/sha256_wrap.c
    A samples/moxie-unknown-elf/broken
    A samples/moxie-unknown-elf/crosstool.config
    A samples/moxie-unknown-elf/reported.by
    A samples/moxie-unknown-moxiebox/crosstool.config
    A samples/moxie-unknown-moxiebox/reported.by
    A samples/x86_64-multilib-linux-uclibc,moxie-unknown-moxiebox/crosstool.config
    A samples/x86_64-multilib-linux-uclibc,moxie-unknown-moxiebox/reported.by
    M scripts/build/arch/avr.sh
    A scripts/build/arch/moxie.sh
    M scripts/build/companion_tools/050-make.sh
    M scripts/build/companion_tools/100-m4.sh
    M scripts/build/companion_tools/200-autoconf.sh
    M scripts/build/companion_tools/300-automake.sh
    M scripts/build/companion_tools/400-libtool.sh
    A scripts/build/companion_tools/500-dtc.sh
    M scripts/build/kernel/windows.sh
    A scripts/build/libc.sh
    M scripts/build/libc/avr-libc.sh
    M scripts/build/libc/bionic.sh
    M scripts/build/libc/glibc.sh
    M scripts/build/libc/mingw-w64.sh
    A scripts/build/libc/moxiebox.sh
    M scripts/build/libc/musl.sh
    M scripts/build/libc/newlib.sh
    M scripts/build/libc/none.sh
    M scripts/build/libc/uClibc.sh
    M scripts/crosstool-NG.sh
    M scripts/functions
    M scripts/show-config.sh

  Log Message:
  -----------
  Merge pull request #1102 from stilor/moxie

Moxie architecture support


Compare: https://github.com/crosstool-ng/crosstool-ng/compare/951afda5088f...dc681ec8eb53
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.