Make: Get rid of `BUILD_.*_INCLUDE_DIRS`
First, we improve some of the rules around -I include dirs, and CPP opts. Then, we just specify the RTS's include dirs normally (locally per the package and in the package conf), and then everything should work normally. The primops.txt.pp rule needs no extra include dirs at all, as it no longer bakes in a target platfom. Reverts some of the extra stage arguments I added in 05419e55, as they are no longer needed.
Showing
- compiler/ghc.mk 2 additions, 10 deletionscompiler/ghc.mk
- rts/ghc.mk 15 additions, 10 deletionsrts/ghc.mk
- rts/include/ghc.mk 10 additions, 4 deletionsrts/include/ghc.mk
- rules/build-package-way.mk 1 addition, 1 deletionrules/build-package-way.mk
- rules/build-prog.mk 1 addition, 1 deletionrules/build-prog.mk
- rules/distdir-opts.mk 11 additions, 3 deletionsrules/distdir-opts.mk
- rules/distdir-way-opts.mk 2 additions, 4 deletionsrules/distdir-way-opts.mk
- rules/hs-suffix-way-rules-srcdir.mk 3 additions, 5 deletionsrules/hs-suffix-way-rules-srcdir.mk
- rules/hs-suffix-way-rules.mk 2 additions, 2 deletionsrules/hs-suffix-way-rules.mk
- rules/manual-package-config.mk 5 additions, 8 deletionsrules/manual-package-config.mk
- utils/genapply/ghc.mk 1 addition, 1 deletionutils/genapply/ghc.mk
- utils/hp2ps/ghc.mk 0 additions, 2 deletionsutils/hp2ps/ghc.mk
Loading
Please register or sign in to comment