summaryrefslogtreecommitdiffstats
path: root/uc_str912/prj_template91x/str91x_lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'uc_str912/prj_template91x/str91x_lib/Makefile')
-rw-r--r--uc_str912/prj_template91x/str91x_lib/Makefile38
1 files changed, 0 insertions, 38 deletions
diff --git a/uc_str912/prj_template91x/str91x_lib/Makefile b/uc_str912/prj_template91x/str91x_lib/Makefile
deleted file mode 100644
index e65be4d..0000000
--- a/uc_str912/prj_template91x/str91x_lib/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-# efsl library Makefile for STR910 by Giacomo Fazio and Antonio Nasca
-# (based on efsl library makefile for AT91SAM7S by Martin Thomas)
-
-
-MCU = arm9e
-#THUMB = -mthumb -mthumb-interwork
-THUMB =
-
-LIBNAME = libSTR91x_lib.a
-
-COPT= -mcpu=$(MCU) $(THUMB) -gdwarf-2 -Wall -Os
-INCLUDEDIRS=-Iinclude
-CFLAGS=$(COPT) $(INCLUDEDIRS)
-# gcc4 unused code-removal:
-CFLAGS += -ffunction-sections -fdata-sections
-
-CC=arm-elf-gcc
-AR=arm-elf-ar
-OBJCOPY=arm-elf-objcopy
-
-OBJ=src/91x_adc.o src/91x_ahbapb.o src/91x_can.o src/91x_dma.o
-OBJ+=src/91x_emi.o src/91x_fmi.o src/91x_gpio.o src/91x_i2c.o src/91x_lib.o src/91x_mc.o
-OBJ+=src/91x_rtc.o src/91x_scu.o src/91x_ssp.o src/91x_tim.o
-OBJ+=src/91x_wdg.o src/91x_wiu.o src/91x_uart.o src/91x_vic.o
-
-
-all: lib
-
-libandclean: lib srcclean
-
-lib: $(OBJ)
- $(AR) rcs $(LIBNAME) $(OBJ)
-
-srcclean :
- rm -f $(OBJ)
-
-clean :
- rm -f $(OBJ) $(LIBNAME)
OpenPOWER on IntegriCloud