Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
/selftests/test-*
/tests/*/test-*
/tests/*/info.json
+/GPATH
+/GRTAGS
+/GTAGS
$(MAKE) -C $$D install; \
done
+define all_sources
+ find include/ arch/ common/ tests/ -name "*.[hcsS]"
+endef
+
.PHONY: cscope
cscope:
- find include/ arch/ common/ tests/ -name "*.[hcsS]" > cscope.files
+ $(all_sources) > cscope.files
cscope -b -q -k
+.PHONY: gtags
+gtags:
+ $(all_sources) | gtags -f -
+
.PHONY: clean
clean:
find . \( -name "*.o" -o -name "*.d" -o -name "*.lds" \) -delete