summaryrefslogtreecommitdiff
path: root/rules/build-package.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/build-package.mk
parentdd47428295d89eb6bbf91316ac4f5a6e98b1ec70 (diff)
downloadhaskell-eb3a1aecac72d22c618b4050fb88eac9055b527a.tar.gz
Add build system profiling to build system
Diffstat (limited to 'rules/build-package.mk')
-rw-r--r--rules/build-package.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/build-package.mk b/rules/build-package.mk
index 3f4cd934a2..74ffbbd925 100644
--- a/rules/build-package.mk
+++ b/rules/build-package.mk
@@ -30,6 +30,7 @@
define build-package
$(call trace, build-package($1,$2,$3))
+$(call profStart, build-package($1,$2,$3))
# $1 = dir
# $2 = distdir
# $3 = GHC stage to use (0 == bootstrapping compiler)
@@ -52,6 +53,7 @@ clean_$1_$2_config:
ifneq "$$($1_$2_NOT_NEEDED)" "YES"
$$(eval $$(call build-package-helper,$1,$2,$3))
endif
+$(call profEnd, build-package($1,$2,$3))
endef