Initial import of cleaned Calls working tree
This commit is contained in:
18
libgdbofono/gen.sh
Executable file
18
libgdbofono/gen.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
#set -x
|
||||
#echo "$@"
|
||||
|
||||
INPUT="$1"
|
||||
OUTPUT0="$2"
|
||||
|
||||
BASENAME="$( basename "$INPUT" .xml )"
|
||||
WD="$PWD"
|
||||
DIR="$( dirname "$OUTPUT0" )"
|
||||
|
||||
cd "$DIR"
|
||||
gdbus-codegen \
|
||||
--generate-c-code "gdbo-${BASENAME}" \
|
||||
--c-namespace GDBO \
|
||||
--interface-prefix org.ofono. \
|
||||
"${WD}/${INPUT}"
|
||||
Reference in New Issue
Block a user