Parcourir la source

Makefile: use makefile_helper

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
Ian Leonard il y a 3 ans
Parent
commit
fadea6582a
1 fichiers modifiés avec 2 ajouts et 4 suppressions
  1. 2 4
      Makefile

+ 2 - 4
Makefile

@@ -1,5 +1,3 @@
-BUILD_DIRS=build.*
-
 all: release
 
 system:
@@ -15,10 +13,10 @@ noobs:
 	./scripts/image noobs
 
 clean:
-	rm -rf $(BUILD_DIRS)/* $(BUILD_DIRS)/.stamps
+	./scripts/makefile_helper --clean
 
 distclean:
-	rm -rf ./.ccache ./$(BUILD_DIRS)
+	./scripts/makefile_helper --distclean
 
 src-pkg:
 	tar cvJf sources.tar.xz sources