diff options
author | Jordan Niethe <jniethe5@gmail.com> | 2019-04-02 10:43:14 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2019-05-20 14:20:29 +1000 |
commit | 6b8e1b60aa3c11b7d94e3372439e599b094cbc94 (patch) | |
tree | 2912f58e0da9e243d13a341c3c083de0f216415d /external | |
parent | ad61b0a90ea120261af9813d88658d186309577d (diff) | |
download | skiboot-6b8e1b60aa3c11b7d94e3372439e599b094cbc94.zip skiboot-6b8e1b60aa3c11b7d94e3372439e599b094cbc94.tar.gz skiboot-6b8e1b60aa3c11b7d94e3372439e599b094cbc94.tar.bz2 |
external/trace: Fix endianness detection in Makefile
The Makefile for the dump_trace tool does not correctly determine
endianness on Power. Instead Big Endian is always used on Power. Fix so
Little Endian will be detected.
Signed-off-by: Jordan Niethe <jniethe5@gmail.com>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'external')
-rw-r--r-- | external/trace/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/external/trace/Makefile b/external/trace/Makefile index 3b6684b..3828fea 100644 --- a/external/trace/Makefile +++ b/external/trace/Makefile @@ -1,4 +1,4 @@ -HOSTEND=$(shell uname -m | sed -e 's/^i.*86$$/LITTLE/' -e 's/^x86.*/LITTLE/' -e 's/^ppc.*/BIG/') +HOSTEND=$(shell uname -m | sed -e 's/^i.*86$$/LITTLE/' -e 's/^x86.*/LITTLE/' -e 's/^ppc64le/LITTLE/' -e 's/^ppc.*/BIG/') CFLAGS=-g -Wall -DHAVE_$(HOSTEND)_ENDIAN -I../../include -I../../ dump_trace: dump_trace.c |