3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-12 15:09:23 +01:00
iwd/src/genbuiltin

18 lines
222 B
Plaintext
Raw Normal View History

#!/bin/sh
for i in $*
do
echo "extern struct l_plugin_desc __iwd_builtin_$i;"
done
echo
echo "static struct l_plugin_desc *__iwd_builtin[] = {"
for i in $*
do
echo " &__iwd_builtin_$i,"
done
echo " NULL"
echo "};"