diff --git a/arch/z80/src/Makefile.sdcc b/arch/z80/src/Makefile.sdcc index 13e56c4bf8..500ed001e5 100644 --- a/arch/z80/src/Makefile.sdcc +++ b/arch/z80/src/Makefile.sdcc @@ -107,7 +107,7 @@ up_mem.h: @echo "#ifndef __UP_MEM_H" >up_mem.h @echo "#define __UP_MEM_H" >>up_mem.h @echo "" >>up_mem.h - @echo "#include + @echo "#include " >>up_mem.h @echo "" >>up_mem.h @echo "#define CONFIG_STACK_END $(CONFIG_DRAM_SIZE)" >> up_mem.h @echo "#define CONFIG_STACK_BASE (CONFIG_STACK_END - $(CONFIG_PROC_STACK_SIZE))" >> up_mem.h @@ -216,6 +216,6 @@ distclean: clean @if [ -e board/Makefile ]; then \ $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean ; \ fi - rm -f Make.dep .depend + @rm -f Make.dep .depend -include Make.dep diff --git a/arch/z80/src/mkhpbase.sh b/arch/z80/src/mkhpbase.sh index a2c9a64a82..48647e822c 100755 --- a/arch/z80/src/mkhpbase.sh +++ b/arch/z80/src/mkhpbase.sh @@ -103,7 +103,7 @@ if [ -e ${MAPFILE} ]; then else # pass1.map does not yet exist. In this case, just output a valid, default heap size - echo "(UP_HEAP1_END - 8192)" + echo "(CONFIG_HEAP1_END - 8192)" fi diff --git a/configs/z80sim/nsh/Make.defs b/configs/z80sim/nsh/Make.defs index 75b6de6c83..6c95d3296f 100644 --- a/configs/z80sim/nsh/Make.defs +++ b/configs/z80sim/nsh/Make.defs @@ -83,7 +83,7 @@ define ARCHIVE endef define CLEAN - @rm -f *.asm *.rel *.lst *.rst *.sym *.adb *.lnk *.map *.mem *.ihx *.hex + @rm -f *.o *.asm *.rel *.lst *.rst *.sym *.adb *.lnk *.map *.mem *.ihx *.hex endef MKDEP = $(TOPDIR)/tools/mkdeps.sh diff --git a/configs/z80sim/ostest/Make.defs b/configs/z80sim/ostest/Make.defs index 75b6de6c83..6c95d3296f 100644 --- a/configs/z80sim/ostest/Make.defs +++ b/configs/z80sim/ostest/Make.defs @@ -83,7 +83,7 @@ define ARCHIVE endef define CLEAN - @rm -f *.asm *.rel *.lst *.rst *.sym *.adb *.lnk *.map *.mem *.ihx *.hex + @rm -f *.o *.asm *.rel *.lst *.rst *.sym *.adb *.lnk *.map *.mem *.ihx *.hex endef MKDEP = $(TOPDIR)/tools/mkdeps.sh diff --git a/configs/z80sim/pashello/Make.defs b/configs/z80sim/pashello/Make.defs index 75b6de6c83..6c95d3296f 100644 --- a/configs/z80sim/pashello/Make.defs +++ b/configs/z80sim/pashello/Make.defs @@ -83,7 +83,7 @@ define ARCHIVE endef define CLEAN - @rm -f *.asm *.rel *.lst *.rst *.sym *.adb *.lnk *.map *.mem *.ihx *.hex + @rm -f *.o *.asm *.rel *.lst *.rst *.sym *.adb *.lnk *.map *.mem *.ihx *.hex endef MKDEP = $(TOPDIR)/tools/mkdeps.sh