mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-29 22:19:23 +01:00
517df48101
Preperation for ell plugins. New plugins can be added to builtin_sources/builtin_modules, which will be added to src/builtin.h when it is generated.
18 lines
222 B
Bash
Executable File
18 lines
222 B
Bash
Executable File
#!/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 "};"
|