Refactoring and tidy up in the build system
[ghc-hetmet.git] / rules / extra-packages.mk
index 7218a6f..271bc6d 100644 (file)
@@ -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