So after playing a little with grep I concluded following would be useful for listing all possible 'make targets' (ignoring some false positives) in the Linux kernel Makefile.
grep ^.*: Makefile | grep -v = | grep -v ^#Snipped output:
help:Note: I have a feeling that better solution(s) than this exists to list the same, so please leave in comments.
prepare: ;
scripts: ;
clean: $(clean-dirs)
tags TAGS cscope gtags: FORCE
includecheck:
versioncheck:
coccicheck:
namespacecheck:
export_report:
checkstack:
kernelrelease:
kernelversion:
image_name:
No comments:
Post a Comment