mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-06 07:53:57 -04:00
mk: wibbles clean up output a little
clean up extra slash in /mk//Arduino.mk etags can be .PHONY so we dont get errors about overriding existing recipie
This commit is contained in:
parent
7374e5d84e
commit
7142368a97
@ -1,7 +1,8 @@
|
||||
# find the mk/ directory, which is where this makefile fragment
|
||||
# lives
|
||||
MK_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
|
||||
# lives. (patsubst strips the trailing slash.)
|
||||
MK_DIR := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST))))
|
||||
|
||||
# APPDIR is defined for the PX4 build only
|
||||
ifeq ($(APPDIR),)
|
||||
|
||||
####################
|
||||
|
@ -61,6 +61,7 @@ obc: apm2
|
||||
sitl-mount: EXTRAFLAGS += "-DMOUNT=ENABLED"
|
||||
sitl-mount: sitl
|
||||
|
||||
.PHONY: etags
|
||||
etags:
|
||||
cd .. && etags -f ArduCopter/TAGS --langmap=C++:.pde.cpp.h $$(git ls-files ArduCopter libraries)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user