Move cGHC_UNLIT_PGM to be "unlit command" in settings
authorJohn Ericson <John.Ericson@Obsidian.Systems>
Thu, 4 Apr 2019 17:38:53 +0000 (13:38 -0400)
committerMarge Bot <ben+marge-bot@smart-cactus.org>
Wed, 1 May 2019 00:29:31 +0000 (20:29 -0400)
commit2988ef5e0334f9841bf23d905b0363a3b8a1a660
treed7f14ef5ccb30adc1d57b215a37d0086392a8fa9
parent53d1cd9634bc788fca022309af3416831b577a81
Move cGHC_UNLIT_PGM to be "unlit command" in settings

The bulk of the work was done in #712, making settings be make/Hadrian
controlled. This commit then just moves the unlit command rules in
make/Hadrian from the `Config.hs` generator to the `settings` generator
in each build system.

I think this is a good change because the crucial benefit is *settings*
don't affect the build: ghc gets one baby step closer to being a regular
cabal executable, and make/Hadrian just maintains settings as part of
bootstrapping.
compiler/ghc.mk
compiler/main/SysTools.hs
hadrian/src/Rules/Generate.hs
includes/ghc.mk