aboutsummaryrefslogtreecommitdiffstats
path: root/roms/skiboot/external/trace/Makefile
diff options
context:
space:
mode:
authorAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
committerAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
commitaf1a266670d040d2f4083ff309d732d648afba2a (patch)
tree2fc46203448ddcc6f81546d379abfaeb323575e9 /roms/skiboot/external/trace/Makefile
parente02cda008591317b1625707ff8e115a4841aa889 (diff)
Add submodule dependency filesHEADmaster
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
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