aboutsummaryrefslogtreecommitdiffstats
path: root/build-root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'build-root/Makefile')
-rw-r--r--build-root/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/build-root/Makefile b/build-root/Makefile
index a60cbf0a..97fb43d4 100644
--- a/build-root/Makefile
+++ b/build-root/Makefile
@@ -220,6 +220,11 @@ else
endif
export MARCH
+MTUNE = $(strip $($(PLATFORM)_mtune))
+ifeq ($(MTUNE),)
+ MTUNE = generic
+endif
+
######################################################################
# Generic build stuff
######################################################################