platform_build/tools/print_module_licenses.sh

3 lines
126 B
Bash
Raw Normal View History

#!/bin/sh
find . -name MODULE_LICENSE_\* | sed 's/\/MODULE_LICENSE_/\ /' | sed 's/\.\///' | awk '{ print $2 " " $1; }' | sort