Commit f96ea257 authored by Simon Marlow's avatar Simon Marlow

Don't install EXTRA_PACKAGES by default

parent 07308413
......@@ -857,7 +857,11 @@ INSTALLED_GHC_REAL=$(DESTDIR)$(bindir)/ghc.exe
INSTALLED_GHC_PKG_REAL=$(DESTDIR)$(bindir)/ghc-pkg.exe
endif
INSTALLED_PACKAGES = $(filter-out haskeline mtl terminfo utf8-string,$(PACKAGES))
INSTALLED_PACKAGES := $(filter-out haskeline mtl terminfo utf8-string,$(PACKAGES))
ifeq "$(InstallExtraPackages)" "NO"
INSTALLED_PACKAGES := $(filter-out $(EXTRA_PACKAGES), $(INSTALLED_PACKAGES))
endif
HIDDEN_PACKAGES = binary
define set_INSTALL_DISTDIR
......
......@@ -302,6 +302,16 @@ SupportsSplitObjs=$(strip $(if $(filter YES,$(ArchSupportsSplitObjs)),\
# By default, enable SplitObjs for the libraries if this build supports it
SplitObjs=$(SupportsSplitObjs)
# ----------------------------------------------------------------------------
# Package-related things
# Extra packages to add to the build, in dependency order
EXTRA_PACKAGES =
# Whether to install $(EXTRA_PACKAGES)
InstallExtraPackages = NO
# Run "ghc-pkg check" on each package
CHECK_PACKAGES = NO
# ----------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment