B="${S}"
-do_prep() {
- cd ${S}
- chmod -Rf a+rX,u+w,g-w,o-w ${S}
- cp ${S}/packaging/genivi-shell.manifest .
-}
-
-do_compile_prepend() {
+do_prep_prepend() {
cd ${S}
- ${STAGING_BINDIR_NATIVE}/wayland-scanner code < protocol/ivi-controller.xml > protocol/ivi-controller-protocol.c
sed -i "s@\${LIBS} \${WESTON_LIBDIR}/weston/ivi-shell.so@\${LIBS} ${PKG_CONFIG_SYSROOT_DIR}\${WESTON_LIBDIR}/weston/ivi-shell.so@g" ${S}/weston-ivi-shell/CMakeLists.txt
}
DEPENDS += "wayland"
DEPENDS += "libffi"
-do_prep() {
+do_compile_prepend() {
cd ${S}
chmod -Rf a+rX,u+w,g-w,o-w ${S}
#setup -q
cp ${S}/packaging/genivi-shell.manifest .
-
- /usr/bin/wayland-scanner code < protocol/ivi-controller.xml \
+
+ ${STAGING_BINDIR_NATIVE}/wayland-scanner code < protocol/ivi-controller.xml \
> protocol/ivi-controller-protocol.c
-
+
cat ivi-extension-protocol.pc.in \
| sed s\#@libdir@\#${prefix}/lib\#g \
| sed s\#@includedir@\#${prefix}/include/genivi-shell\#g \
| sed s\#@name@\#genivi-shell\#g \
| sed s\#@package_version@\#0.2.5\#g \
> ivi-extension-protocol.pc
-
-
+
+
cmake \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_INSTALL_PREFIX:PATH=${prefix} \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \
${EXTRA_OECMAKE} .
-
-
-}
-do_patch_append() {
- bb.build.exec_func('do_prep', d)
+
+
}
do_configure() {