summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2012-11-04 18:48:35 +0100
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2012-11-04 18:48:35 +0100
commit1f54ae329505d936268726938834e4fd7f427953 (patch)
treeabc7c41ca9a394f31fd8d595fc0d26e7b5069d6a /Makefile
parent8adab71a5861181fee491e2744109fa322118a5d (diff)
downloadembtoolkit-1f54ae329505d936268726938834e4fd7f427953.tar.gz
embtoolkit-1f54ae329505d936268726938834e4fd7f427953.tar.bz2
embtoolkit-1f54ae329505d936268726938834e4fd7f427953.tar.xz
Build system: override gmake built-in rules for performance
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7a98dc1..df12de9 100644
--- a/Makefile
+++ b/Makefile
@@ -76,6 +76,24 @@ Q :=
endif
export Q
+#
+# Performance hack
+#
+MAKEFLAGS += --no-builtin-rules --no-builtin-variables
+.SUFFIXES:
+ MAKEFLAGS += --no-builtin-rules --no-builtin-variables
+
+SUFFIXES :=
+
+%: %,v
+%: RCS/%,v
+%: RCS/%
+%: s.%
+%: SCCS/s.%
+
+#
+# Include oour config if any
+#
-include .config
EMBTK_BUILD := $(if $(CONFIG_EMBTK_DOTCONFIG),startbuild,xconfig)