perf: make cleaning non-fatal if $(PKG_BUILD_DIR) does not exist

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@35235 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2013-01-18 16:34:36 +00:00
parent 196751a05a
commit 08683af45c

View File

@ -37,7 +37,8 @@ endef
# MAKE_FLAGS should be passed again upon cleaning because Perf's makefile
# always performs checks before processing any rule
define Build/Clean
$(MAKE) -C $(PKG_BUILD_DIR) \
-$(MAKE) -C $(PKG_BUILD_DIR) \
NO_DWARF=1 \
$(MAKE_FLAGS) \
clean
endef