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