genbuiltin (222B)
1 #!/bin/sh 2 3 for i in $* 4 do 5 echo "extern struct l_plugin_desc __iwd_builtin_$i;" 6 done 7 8 echo 9 echo "static struct l_plugin_desc *__iwd_builtin[] = {" 10 11 for i in $* 12 do 13 echo " &__iwd_builtin_$i," 14 done 15 16 echo " NULL" 17 echo "};"