added CACR define bits, added functions to set and retrieve current cache value and removed PC-relative compilation of cache.c

This commit is contained in:
Markus Fröschle
2013-08-12 17:38:39 +00:00
parent e478d9446c
commit 920e5e6490
3 changed files with 49 additions and 1 deletions

View File

@@ -155,7 +155,7 @@ $(LIBBAS): $(OBJS)
# compile printf pc-relative so it can be used as well before and after copy of BaS
#$(OBJDIR)/bas_printf.o: CFLAGS += -mpcrel
# the same for flush_and_invalidate_cache()
$(OBJDIR)/cache.o: CFLAGS += -mpcrel
#$(OBJDIR)/cache.o: CFLAGS += -mpcrel
$(OBJDIR)/%.o:$(SRCDIR)/%.c
$(CC) -c $(CFLAGS) $(INCLUDE) $< -o $@