diff options
author | Ben Gamari <ben@smart-cactus.org> | 2018-02-21 09:58:19 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-02-25 16:25:19 -0500 |
commit | 5e5e60dd2553549d7b00f6bb0a66064f8fe13bc2 (patch) | |
tree | 61c164a098cac272d78988f66576caadd2ff2ed9 /boot | |
parent | 3d43fd5b816a980d650d98f5822831dfce38f658 (diff) | |
download | haskell-5e5e60dd2553549d7b00f6bb0a66064f8fe13bc2.tar.gz |
boot: Create GNUmakefiles for libraries
D3918 neglected to implement this when it rewrote boot in python.
Diffstat (limited to 'boot')
-rwxr-xr-x | boot | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -132,6 +132,17 @@ def boot_pkgs(): pkg = pkg, dir = dir_))) + makefile = os.path.join(package, 'GNUmakefile') + with open(makefile, 'w') as f: + f.write(dedent( + """\ + dir = {package} + TOP = {top} + include $(TOP)/mk/sub-makefile.mk + FAST_MAKE_OPTS += stage=0 + """.format(package = package, top = top) + )) + def autoreconf(): # Run autoreconf on everything that needs it. |