strip down fpga_test prg to the bare minimum of BaS dependencies

This commit is contained in:
Markus Fröschle
2017-01-16 15:49:48 +00:00
parent 48bbc4cfc9
commit 5e379a10f5
40 changed files with 580 additions and 6082 deletions

View File

@@ -23,8 +23,8 @@ TOPDIR = ../..
LIBCMINI=$(TOPDIR)/../libcmini/libcmini
INCLUDE=-I$(LIBCMINI)/include -nostdlib
LIBS=-lcmini -nostdlib -lgcc
INCLUDE=-I$(LIBCMINI)/include -nostdlib -I$(TOPDIR)/include
LIBS=-lcmini -nostdlib -lgcc -L$(TOPDIR)/firebee -lbas
CC=$(PREFIX)/bin/gcc
CC=$(CROSSBINDIR)gcc
@@ -51,9 +51,9 @@ INCLUDE+=-I$(INCDIR)
CSRCS=\
$(SRCDIR)/fpga_test.c \
$(SRCDIR)/bas_printf.c
$(SRCDIR)/ser_printf.c
ASRCS=$(SRCDIR)/printf_helper.S
ASRCS=
COBJS=$(patsubst $(SRCDIR)/%.o,%.o,$(patsubst %.c,%.o,$(CSRCS)))
AOBJS=$(patsubst $(SRCDIR)/%.o,%.o,$(patsubst %.S,%.o,$(ASRCS)))