libgo: refactor code to enumerate stdlib packages
commit497f3a6418d4dd03f47154be60b80625eb416007
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 May 2018 21:57:35 +0000 (2 21:57 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 May 2018 21:57:35 +0000 (2 21:57 +0000)
tree86088359f0bc0ae2c22707b9c4847e85266d9540
parent1671083ac18e252a6949016a1f945684f9753b96
libgo: refactor code to enumerate stdlib packages

    Move the list of libgo, gotool, and check-target packages into
    separate files, then read the file contents as part of the build
    process on the fly. This is intended to enable other build tooling to
    share the canonical list of target packages (avoid duplication).

    Reviewed-on: https://go-review.googlesource.com/89515

    libgo: revise rules for runtime.inc generation

    Refactor code for generating runtime.inc: extract out the relevant
    commands and place them in a separate shell script ("mkruntimeinc.sh").
    Update rules to avoid generating macros whose names begin with "$",
    such as "#define $sinkconst0 0".

    Reviewed-on: https://go-review.googlesource.com/85955

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@259863 138bc75d-0d04-0410-961f-82ee72b054a4
libgo/Makefile.am
libgo/Makefile.in
libgo/check-packages.txt [new file with mode: 0644]
libgo/gotool-packages.txt [new file with mode: 0644]
libgo/libgo-packages.txt [new file with mode: 0644]
libgo/mkruntimeinc.sh [new file with mode: 0755]