summaryrefslogtreecommitdiff
path: root/build/genif.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build/genif.sh')
-rw-r--r--build/genif.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/genif.sh b/build/genif.sh
index 14e19b7d9a..2ca2e6de7c 100644
--- a/build/genif.sh
+++ b/build/genif.sh
@@ -24,7 +24,8 @@ cd $srcdir
module_ptrs="$extra_module_ptrs`echo $@ | $awk -f ./build/order_by_dep.awk`"
for ext in ${1+"$@"} ; do
- header_list="$header_list ext/$ext/*.h*"
+ ext_dir="$( cut -d ';' -f 2 <<< "$ext" )"
+ header_list="$header_list $ext_dir/*.h*"
done
includes=`$awk -f ./build/print_include.awk $header_list`