platform_build/tools/print_module_licenses.sh

3 lines
126 B
Bash
Executable File

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