summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark/memtester/files/Makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-benchmark/memtester/files/Makefile.patch')
-rw-r--r--meta-oe/recipes-benchmark/memtester/files/Makefile.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/memtester/files/Makefile.patch b/meta-oe/recipes-benchmark/memtester/files/Makefile.patch
new file mode 100644
index 000000000..971e52ac7
--- /dev/null
+++ b/meta-oe/recipes-benchmark/memtester/files/Makefile.patch
@@ -0,0 +1,28 @@
1From 9a950b14b9f7767d83e5faac2e1e8203c500e2c2 Mon Sep 17 00:00:00 2001
2From: Rod Whitby <rod@whitby.id.au>
3Date: Tue, 25 Oct 2011 18:43:50 -0500
4Subject: [PATCH] memtester: Added patch to Makefile to change no-longer-supported 'head -1' syntax to 'head -n 1'.
5
6Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
7---
8 Makefile | 4 ++--
9 1 files changed, 2 insertions(+), 2 deletions(-)
10
11diff --git a/Makefile b/Makefile
12index a271bf5..6bccff3 100644
13--- a/Makefile
14+++ b/Makefile
15@@ -32,8 +32,8 @@ install: all
16 auto-ccld.sh: \
17 conf-cc conf-ld warn-auto.sh
18 ( cat warn-auto.sh; \
19- echo CC=\'`head -1 conf-cc`\'; \
20- echo LD=\'`head -1 conf-ld`\' \
21+ echo CC=\'`head -n 1 conf-cc`\'; \
22+ echo LD=\'`head -n 1 conf-ld`\' \
23 ) > auto-ccld.sh
24
25 compile: \
26--
271.7.0.4
28