clear PCI memory

This commit is contained in:
Markus Fröschle
2016-10-23 14:25:39 +00:00
parent f53e5d3175
commit d96d21aba8
2 changed files with 13 additions and 6 deletions

View File

@@ -35,7 +35,8 @@ APP=pci_test.prg
TEST_APP=$(APP)
CFLAGS=\
-O0\
-O2\
-fomit-frame-pointer \
-g\
-Wl,-Map,mapfile\
-Wl,--defsym -Wl,__MBAR=0xff000000\
@@ -84,7 +85,7 @@ $(1)_OBJS=$(patsubst %,$(1)/objs/%,$(OBJS))
$(1)/$(APP): $$($(1)_OBJS)
@echo CC $$@
@$(CC) $$(CFLAGS) -o $$@ $(LIBCMINI)/$(1)/startup.o $$($(1)_OBJS) -L$(LIBCMINI)/$(1) $(LIBS)
@$(STRIP) $$@
#@$(STRIP) $$@
endef
$(foreach DIR,$(TRGTDIRS),$(eval $(call CC_TEMPLATE,$(DIR))))