[PATCH] makfiles: add emacs syntax highlighting hint

Marc Kleine-Budde mkl at pengutronix.de
Tue Mar 31 15:33:25 PDT 2015


This patches makes a standard emacs to recognise the files as makefiles.

Signed-off-by: Marc Kleine-Budde <mkl at pengutronix.de>
---
 images/Makefile.am33xx   | 3 ++-
 images/Makefile.imx      | 1 +
 images/Makefile.mvebu    | 1 +
 images/Makefile.mxs      | 1 +
 images/Makefile.rockchip | 1 +
 images/Makefile.tegra    | 1 +
 scripts/Makefile.lib     | 1 +
 7 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/images/Makefile.am33xx b/images/Makefile.am33xx
index 002c1038f812..fde8f3455974 100644
--- a/images/Makefile.am33xx
+++ b/images/Makefile.am33xx
@@ -1,4 +1,5 @@
-
+# -*-makefile-*-
+#
 # %.mlo - convert into mlo image
 # ----------------------------------------------------------------
 quiet_cmd_mlo_image = MLO     $@
diff --git a/images/Makefile.imx b/images/Makefile.imx
index f5f4cf3dd6e8..f05e45c8f4b4 100644
--- a/images/Makefile.imx
+++ b/images/Makefile.imx
@@ -1,3 +1,4 @@
+# -*-makefile-*-
 #
 # barebox image generation Makefile for i.MX images
 #
diff --git a/images/Makefile.mvebu b/images/Makefile.mvebu
index 5e90855d2b7a..78cc25f08d7b 100644
--- a/images/Makefile.mvebu
+++ b/images/Makefile.mvebu
@@ -1,3 +1,4 @@
+# -*-makefile-*-
 #
 # barebox image generation Makefile for Marvell mvebu
 #
diff --git a/images/Makefile.mxs b/images/Makefile.mxs
index 733f83bd1fe0..de8b74758433 100644
--- a/images/Makefile.mxs
+++ b/images/Makefile.mxs
@@ -1,3 +1,4 @@
+# -*-makefile-*-
 #
 # barebox image generation Makefile for MXS images
 #
diff --git a/images/Makefile.rockchip b/images/Makefile.rockchip
index 24444330133e..3e42cee432d0 100644
--- a/images/Makefile.rockchip
+++ b/images/Makefile.rockchip
@@ -1,3 +1,4 @@
+# -*-makefile-*-
 #
 # barebox image generation Makefile for Rockchip images
 #
diff --git a/images/Makefile.tegra b/images/Makefile.tegra
index 4f876e4b5969..281a83d8ce7d 100644
--- a/images/Makefile.tegra
+++ b/images/Makefile.tegra
@@ -1,3 +1,4 @@
+# -*-makefile-*-
 #
 # barebox image generation Makefile for Tegra images
 #
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 57426d030285..f5a9450ba5c7 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -1,3 +1,4 @@
+# -*-makefile-*-
 # Backward compatibility - to be removed...
 extra-y	+= $(EXTRA_TARGETS)
 # Figure out what we need to build from the various variables
-- 
2.1.4




More information about the barebox mailing list