diff options
author | Adrian Bunk <adrian.bunk@movial.com> | 2011-06-03 09:17:04 +0000 |
---|---|---|
committer | Adrian Bunk <adrian.bunk@movial.com> | 2011-06-03 09:17:04 +0000 |
commit | 799757ccf1d03c33c75bc597cd5ef77741dcb6a7 (patch) | |
tree | a8c3be85c730de28b012586591b76301033d3d21 /src/genbuiltin |
Imported upstream 4.91upstream-4.91upstreampackaging
Diffstat (limited to 'src/genbuiltin')
-rwxr-xr-x | src/genbuiltin | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/genbuiltin b/src/genbuiltin new file mode 100755 index 0000000..8b6f047 --- /dev/null +++ b/src/genbuiltin @@ -0,0 +1,17 @@ +#!/bin/sh + +for i in $* +do + echo "extern struct bluetooth_plugin_desc __bluetooth_builtin_$i;" +done + +echo +echo "static struct bluetooth_plugin_desc *__bluetooth_builtin[] = {" + +for i in $* +do + echo " &__bluetooth_builtin_$i," +done + +echo " NULL" +echo "};" |