summaryrefslogtreecommitdiff
path: root/ghc/mk/target.mk
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/mk/target.mk')
-rw-r--r--ghc/mk/target.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/ghc/mk/target.mk b/ghc/mk/target.mk
new file mode 100644
index 0000000000..0d49585a90
--- /dev/null
+++ b/ghc/mk/target.mk
@@ -0,0 +1,14 @@
+#
+# target.mk project stub
+#
+
+# We need to set TOP to be the TOP that the next level up expects!
+# The TOP variable is reset after the inclusion of the fptools
+# boilerplate, so we stash TOP away first:
+GHC_TOP := $(TOP)
+TOP:=$(TOP)/..
+
+include $(TOP)/mk/target.mk
+
+# Reset TOP
+TOP:=$(GHC_TOP)