summaryrefslogtreecommitdiff
path: root/rules/package-config.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-01-23 15:14:08 +0000
committerIan Lynagh <igloo@earth.li>2011-01-23 15:14:08 +0000
commiteb3a1aecac72d22c618b4050fb88eac9055b527a (patch)
treeb86df2bf98b480a27d41ae0a1938243c673c0225 /rules/package-config.mk
parentdd47428295d89eb6bbf91316ac4f5a6e98b1ec70 (diff)
downloadhaskell-eb3a1aecac72d22c618b4050fb88eac9055b527a.tar.gz
Add build system profiling to build system
Diffstat (limited to 'rules/package-config.mk')
-rw-r--r--rules/package-config.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/package-config.mk b/rules/package-config.mk
index f111e1efac..2091779d1e 100644
--- a/rules/package-config.mk
+++ b/rules/package-config.mk
@@ -13,6 +13,7 @@
define package-config # args: $1 = dir, $2 = distdir, $3 = GHC stage
$(call trace, package-config($1,$2,$3))
+$(call profStart, package-config($1,$2,$3))
$1_$2_HC = $$(GHC_STAGE$3)
@@ -55,4 +56,5 @@ endif
# Useful later
$1_$2_SLASH_MODS = $$(subst .,/,$$($1_$2_MODULES))
+$(call profEnd, package-config($1,$2,$3))
endef