diff --git a/Makefile b/Makefile index 30e721747..2e0b0f6a0 100644 --- a/Makefile +++ b/Makefile @@ -135,6 +135,9 @@ all_clean: @$(ECHO) " CLEAN $(call toprel, $(BUILD_DIR))" $(V1) [ ! -d "$(BUILD_DIR)" ] || $(RM) -rf "$(BUILD_DIR)" +.PONY: clean +clean: all_clean + $(DL_DIR): $(MKDIR) -p $@ diff --git a/package/linux/debian/rules b/package/linux/debian/rules index 7bcf5650a..b67ae85e6 100644 --- a/package/linux/debian/rules +++ b/package/linux/debian/rules @@ -13,7 +13,7 @@ export DH_OPTIONS # Disabled because OpenPilot makefile cleans and builds. override_dh_auto_clean: - #$(MAKE) all_clean + # override_dh_auto_build: #dh_auto_build -- all