build: Makefile cleanup 50/32150/2
authorDamjan Marion <damarion@cisco.com>
Tue, 27 Apr 2021 22:11:33 +0000 (00:11 +0200)
committerFlorin Coras <florin.coras@gmail.com>
Tue, 27 Apr 2021 23:42:02 +0000 (23:42 +0000)
Type: make
Change-Id: I751b0a25161c6eb8614ca19f7c77a4de82401f3d
Signed-off-by: Damjan Marion <damarion@cisco.com>
Makefile
extras/scripts/fts.py [moved from build-root/scripts/fts.py with 100% similarity]

index 9573d82..e228131 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -529,9 +529,7 @@ endef
 endif
 
 %.files: .FORCE
-       @find . \( -name '*\.[chyS]' -o -name '*\.java' -o -name '*\.lex' -o -name '*\.py' \) -and \
-               \( -not -path './build-root*' -o -path \
-               './build-root/build-vpp_debug-native/dpdk*' \) > $@
+       @find src -name '*.[chS]' > $@
 
 .FORCE:
 
@@ -594,11 +592,6 @@ pkg-rpm: dist
 pkg-srpm: dist
        make -C extras/rpm srpm
 
-.PHONY: dpdk-install-dev
-dpdk-install-dev:
-       $(call banner,"This command is deprecated. Please use 'make install-ext-deps'")
-       make -C build/external install-$(PKG)
-
 .PHONY: install-ext-deps
 install-ext-deps:
        make -C build/external install-$(PKG)
@@ -670,11 +663,11 @@ endif
 
 .PHONY: featurelist
 featurelist: centos-pyyaml
-       @build-root/scripts/fts.py --all --markdown
+       @extras/scripts/fts.py --all --markdown
 
 .PHONY: checkfeaturelist
 checkfeaturelist: centos-pyyaml
-       @build-root/scripts/fts.py --validate --all
+       @extras/scripts/fts.py --validate --all
 
 
 # Build vpp_stats_fs