libgo: refactor code to enumerate stdlib packages
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 2 May 2018 21:57:35 +0000 (21:57 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 2 May 2018 21:57:35 +0000 (21:57 +0000)
commitcec9701b510ebcb5cfdf431a5b0dd9c143f1da69
tree86088359f0bc0ae2c22707b9c4847e85266d9540
parent31aa23df38a66c429d08c06a0005eccecc9234dc
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

From-SVN: r259863
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]