X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rules%2Fextra-packages.mk;h=1cef9adbbc9535b6deef8ad70652e9eb8097e192;hb=1851bb3cb6b5e9f0d413da7afc9b58c768888ecf;hp=7218a6f569fe641e432f759375a5980d9df0a6f7;hpb=75d9236613acdcfa54deb81b12bd4546c31e7c9f;p=ghc-hetmet.git diff --git a/rules/extra-packages.mk b/rules/extra-packages.mk index 7218a6f..1cef9ad 100644 --- a/rules/extra-packages.mk +++ b/rules/extra-packages.mk @@ -27,7 +27,7 @@ # add P to the list of packages define extra-packages -$$(foreach p,$$(patsubst libraries/%,%,$$(wildcard $$(shell grep '^[^ ]\+ \+\(dph\|extra\) \+[^ ]\+ \+[^ ]\+ \+[^ ]\+' packages | sed 's/ .*//'))),\ +$$(foreach p,$$(patsubst libraries/%,%,$$(wildcard $$(shell grep '^[^ #][^ ]* \+\(dph\|extra\) \+[^ ]\+ \+[^ ]\+ \+[^ ]\+' packages | sed 's/ .*//'))),\ $$(if $$(wildcard libraries/$$p/ghc-packages),\ $$(eval BUILD_DIRS += libraries/$$p) \ $$(foreach q,$$(shell cat libraries/$$p/ghc-packages2),$$(eval $$(call extra-package,$$p,$$p/$$q))),\ @@ -39,10 +39,6 @@ define extra-package # $1 = package root, $2 = package $(call trace, extra-package($1,$2)) EXTRA_PACKAGES += $2 -ifeq "$(wildcard libraries/$1/ghc-stage2-package)" "" $$(eval $$(call addPackage,$2)) -else -$$(eval $$(call addPackage2,$2)) -endif endef