aboutsummaryrefslogtreecommitdiffstats
path: root/roms/skiboot/external/trace/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'roms/skiboot/external/trace/Makefile')
-rw-r--r--roms/skiboot/external/trace/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/roms/skiboot/external/trace/Makefile b/roms/skiboot/external/trace/Makefile
new file mode 100644
index 000000000..737397bca
--- /dev/null
+++ b/roms/skiboot/external/trace/Makefile
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
+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 trace.c ../../ccan/heap/heap.c
+
+clean:
+ rm -f dump_trace *.o