summaryrefslogtreecommitdiff
path: root/recipes-benchmark/memtester/files/Makefile.patch
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2021-11-15 14:15:25 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2021-11-16 09:44:02 +0100
commiteeaa1fa0f22496a84d42c2b54e4ae23b567b07f2 (patch)
tree64f963bf3257572dd1f036d627247f45f5199390 /recipes-benchmark/memtester/files/Makefile.patch
parentc369af47314e1b1e1776dcfa0cee1befc73fd044 (diff)
memtester backport version 4.5.1 from master
Changelog after 4.3.0: Version 4.5.1 30 May 2021 -documentation-only update. -add note to README about build problem with Tru64, with workaround. Thanks: VĂ­ctor Ostorga. Version 4.5.0 20 September 2020 -add note to README about problems with HP/UX prior to v.11. Change code so that buffer still gets aligned even if you comment out the use of mlock() on such a platform. Thanks: Keith Monahan. -fix clear-buffer using incorrect param, causing spurious test failures. Thanks: Debin Dong. -fix shell-ism in Makefile. Thanks: Fabrice Fontaine. Related-to: ELB-4232 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-benchmark/memtester/files/Makefile.patch')
-rw-r--r--recipes-benchmark/memtester/files/Makefile.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-benchmark/memtester/files/Makefile.patch b/recipes-benchmark/memtester/files/Makefile.patch
new file mode 100644
index 0000000..971e52a
--- /dev/null
+++ b/recipes-benchmark/memtester/files/Makefile.patch
@@ -0,0 +1,28 @@
+From 9a950b14b9f7767d83e5faac2e1e8203c500e2c2 Mon Sep 17 00:00:00 2001
+From: Rod Whitby <rod@whitby.id.au>
+Date: Tue, 25 Oct 2011 18:43:50 -0500
+Subject: [PATCH] memtester: Added patch to Makefile to change no-longer-supported 'head -1' syntax to 'head -n 1'.
+
+Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
+---
+ Makefile | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index a271bf5..6bccff3 100644
+--- a/Makefile
++++ b/Makefile
+@@ -32,8 +32,8 @@ install: all
+ auto-ccld.sh: \
+ conf-cc conf-ld warn-auto.sh
+ ( cat warn-auto.sh; \
+- echo CC=\'`head -1 conf-cc`\'; \
+- echo LD=\'`head -1 conf-ld`\' \
++ echo CC=\'`head -n 1 conf-cc`\'; \
++ echo LD=\'`head -n 1 conf-ld`\' \
+ ) > auto-ccld.sh
+
+ compile: \
+--
+1.7.0.4
+