mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-22 00:00:36 +08:00
Fix typol in Config.mk that would effect non-Windows builds
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5369 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+13
-1
@@ -182,11 +182,23 @@ define DELFILE
|
||||
$(Q) if exist $1 (del /f /q $1)
|
||||
endef
|
||||
else
|
||||
define CLEAN
|
||||
define DELFILE
|
||||
$(Q) rm -f $1
|
||||
endef
|
||||
endif
|
||||
|
||||
# DELDIR - Delect one directory
|
||||
|
||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||
define DELDIR
|
||||
$(Q) if exist $1 (rmdir /q /s $1)
|
||||
endef
|
||||
else
|
||||
define DELDIR
|
||||
$(Q) rm -rf $1
|
||||
endef
|
||||
endif
|
||||
|
||||
# CLEAN - Default clean target
|
||||
|
||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||
|
||||
Reference in New Issue
Block a user