summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2010-02-17 10:31:34 +0000
committerSimon Marlow <marlowsd@gmail.com>2010-02-17 10:31:34 +0000
commit80ca989bf40233f7fdd0a8888c51e3424cc56096 (patch)
tree43cf68df5b7fdc2f5cec28ac34d05d136d1c20ef /ghc.mk
parent6e9501c0e3c3bb807981c0378c969d0667a7ce0b (diff)
downloadhaskell-80ca989bf40233f7fdd0a8888c51e3424cc56096.tar.gz
Allow extra packages to be added to the build, by setting $(EXTRA_PACKAGES)
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/ghc.mk b/ghc.mk
index 2c189b916e..a5828a6703 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -339,6 +339,8 @@ $(eval $(call addPackage,terminfo,($$(Windows),NO)))
$(eval $(call addPackage,haskeline))
+$(foreach pkg,$(EXTRA_PACKAGES),$(eval $(call addPackage,$(pkg))))
+
ifneq "$(BootingFromHc)" "YES"
PACKAGES_STAGE2 += \
dph/dph-base \