tools:fix distclean error in Windows native build
This commit is contained in:
parent
def151869f
commit
5edb9141e4
@ -702,12 +702,12 @@ ifeq ($(CONFIG_ARCH_HAVE_BOOTLOADER),y)
|
||||
$(Q) $(MAKE) clean_bootloader
|
||||
endif
|
||||
$(Q) $(MAKE) clean_context
|
||||
$(Q) $(MAKE) -C tools -f Makefile.host clean
|
||||
$(call DELFILE, Make.defs)
|
||||
$(call DELFILE, defconfig)
|
||||
$(call DELFILE, .config)
|
||||
$(call DELFILE, .config.old)
|
||||
$(call DELFILE, .gdbinit)
|
||||
$(Q) $(MAKE) -C tools -f Makefile.host clean
|
||||
|
||||
# Application housekeeping targets. The APPDIR variable refers to the user
|
||||
# application directory. A sample apps/ directory is included with NuttX,
|
||||
|
@ -661,11 +661,11 @@ ifeq ($(CONFIG_ARCH_HAVE_BOOTLOADER),y)
|
||||
$(Q) $(MAKE) clean_bootloader
|
||||
endif
|
||||
$(Q) $(MAKE) clean_context
|
||||
$(Q) $(MAKE) -C tools -f Makefile.host clean
|
||||
$(call DELFILE, Make.defs)
|
||||
$(call DELFILE, defconfig)
|
||||
$(call DELFILE, .config)
|
||||
$(call DELFILE, .config.old)
|
||||
$(Q) $(MAKE) -C tools -f Makefile.host clean
|
||||
|
||||
# Application housekeeping targets. The APPDIR variable refers to the user
|
||||
# application directory. A sample apps\ directory is included with NuttX,
|
||||
|
@ -18,6 +18,7 @@
|
||||
#
|
||||
############################################################################
|
||||
|
||||
include $(TOPDIR)/Make.defs
|
||||
all: mkspk
|
||||
default: mkspk
|
||||
.PHONY: clean
|
||||
@ -32,5 +33,9 @@ mkspk:
|
||||
@gcc $(CFLAGS) -o mkspk mkspk.c clefia.c
|
||||
|
||||
clean:
|
||||
@rm -f *.o *.a *.dSYM *~ .*.swp
|
||||
@rm -f mkspk mkspk.exe
|
||||
ifneq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||
$(Q) rm -rf *.dSYM
|
||||
endif
|
||||
$(call DELFILE, mkspk)
|
||||
$(call DELFILE, mkspk.exe)
|
||||
$(call CLEAN)
|
||||
|
@ -18,6 +18,7 @@
|
||||
#
|
||||
############################################################################
|
||||
|
||||
include $(TOPDIR)/Make.defs
|
||||
all: mkpichex
|
||||
default: mkpichex
|
||||
.PHONY: clean
|
||||
@ -32,5 +33,9 @@ mkpichex: mkpichex.c
|
||||
@gcc $(CFLAGS) -o mkpichex mkpichex.c
|
||||
|
||||
clean:
|
||||
@rm -f *.o *.a *.dSYM *~ .*.swp
|
||||
@rm -f mkpichex mkpichex.exe
|
||||
ifneq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||
$(Q) rm -rf *.dSYM
|
||||
endif
|
||||
$(call DELFILE, mkpichex)
|
||||
$(call DELFILE, mkpichex.exe)
|
||||
$(call CLEAN)
|
||||
|
Loading…
Reference in New Issue
Block a user