3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-23 14:22:36 +01:00
iwd/src/genbuiltin
James Prestwood 517df48101 make: plugin system for build
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.
2017-11-28 13:20:33 -06:00

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 "};"