summaryrefslogtreecommitdiffstats
path: root/mig_test/software/libhal/include.mak
diff options
context:
space:
mode:
Diffstat (limited to 'mig_test/software/libhal/include.mak')
-rw-r--r--mig_test/software/libhal/include.mak16
1 files changed, 16 insertions, 0 deletions
diff --git a/mig_test/software/libhal/include.mak b/mig_test/software/libhal/include.mak
new file mode 100644
index 0000000..226ca66
--- /dev/null
+++ b/mig_test/software/libhal/include.mak
@@ -0,0 +1,16 @@
+AS=zpu-elf-as
+CC=zpu-elf-gcc
+LD=zpu-elf-ld
+OBJCOPY=zpu-elf-objcopy
+OBJDUMP=zpu-elf-objdump
+AR=zpu-elf-ar
+RANLIB=zpu-elf-ranlib
+SIZE=zpu-elf-size
+
+ROMGEN=$(DIR)/support/zpuromgen
+
+INLCUDES=-I$(DIR)/include
+ASFLAGS=-adhls -g $(INLCUDES)
+CFLAGS=-O3 -phi -Wall -ffunction-sections -fdata-sections $(INLCUDES)
+LDFLAGS=--relax --gc-sections
+OBJCOPYFLAGS=--strip-debug --discard-locals
OpenPOWER on IntegriCloud