Commit 1bd97ab8 authored by Andrey Filippov's avatar Andrey Filippov

modifying includes handling

parent b8546ac3
html/*
.project
.cproject
.externalToolBuilders
.settings
*.directory
attic/*
php
#!/bin/bash
args="$@"
while (( "$#" )); do
shift
done
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
echo "Launching bitbake $args"
cd $DIR/../../poky
. ./oe-init-build-env
bitbake $args | sed -u 's@| @@'
exit 0
...@@ -41,7 +41,10 @@ if test "$PHP_ELPHEL" != "no"; then ...@@ -41,7 +41,10 @@ if test "$PHP_ELPHEL" != "no"; then
dnl fi dnl fi
dnl # --with-elphel -> add include path dnl # --with-elphel -> add include path
dnl PHP_ADD_INCLUDE($ELPHEL_DIR/include) ELPHEL_DIR=$abs_srcdir/ext/elphel
UAPI_DIR=$PKG_CONFIG_SYSROOT_DIR/usr/include-uapi
PHP_ADD_INCLUDE($ELPHEL_DIR/include)
PHP_ADD_INCLUDE($UAPI_DIR)
dnl # --with-elphel -> check for lib and symbol presence dnl # --with-elphel -> check for lib and symbol presence
dnl LIBNAME=elphel # you may want to change this dnl LIBNAME=elphel # you may want to change this
......
...@@ -8,9 +8,10 @@ ...@@ -8,9 +8,10 @@
#warning Not using TSRM.h #warning Not using TSRM.h
#endif #endif
#include "c313a.h" #include <c313a.h>
#include "exifa.h" #include <exifa.h>
#include "autoexp.h" #include <autoexp.h>
#include <elphel/x393_devices.h>
ZEND_BEGIN_MODULE_GLOBALS(elphel) ZEND_BEGIN_MODULE_GLOBALS(elphel)
int fd_exif; int fd_exif;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment