blob: 1b8a4dc0888babb41c08b8af6abd4ec88aa7c72e [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001From 81f4043a6787060029ef20eed21cdcf3e50337df Mon Sep 17 00:00:00 2001
2From: Chase Maupin <Chase.Maupin@ti.com>
3Date: Tue, 28 Feb 2012 14:58:35 -0600
4Subject: [PATCH] nbench: modify Makefile for 32bit
5
6* Patch taken from OE classic git repository as of commit id
7 ad42bf9065928b2902d7d9534709d3ccea7ec956 and was added by:
8 * Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
9* Notes from original patch were:
10
11BYTE Magazine's native benchmarks (also called BYTEmark) designed to
12expose the capabilities of a system's CPU, FPU and memory system.
13
14http://www.tux.org/~mayer/linux/
15
16Recipe from old Atmel overlay.
17
18Upstream-Status: Inappropriate [no upstream]
19
20Signed-off-by: Chase Maupin <chase.maupin@ti.com>
21---
22 Makefile | 8 ++------
23 1 files changed, 2 insertions(+), 6 deletions(-)
24
25diff --git a/Makefile b/Makefile
26index 5045c77..915866d 100644
27--- a/Makefile
28+++ b/Makefile
29@@ -119,12 +119,8 @@ emfloat.o: emfloat.h emfloat.c nmglobal.h pointer.h Makefile
30 $(CC) $(MACHINE) $(DEFINES) $(CFLAGS)\
31 -c emfloat.c
32
33-pointer.h: pointer Makefile
34- $(CC) $(MACHINE) $(DEFINES) $(CFLAGS)\
35- -o pointer pointer.c
36- rm -f pointer.h
37- if [ "4" = `./pointer` ] ; then touch pointer.h ;\
38- else echo "#define LONG64" >pointer.h ; fi
39+pointer.h: Makefile
40+ touch pointer.h ;
41
42 misc.o: misc.h misc.c Makefile
43 $(CC) $(MACHINE) $(DEFINES) $(CFLAGS)\
44--
451.7.0.4
46