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
...@@ -36,12 +36,15 @@ if test "$PHP_ELPHEL" != "no"; then ...@@ -36,12 +36,15 @@ if test "$PHP_ELPHEL" != "no"; then
dnl fi dnl fi
dnl dnl
dnl if test -z "$ELPHEL_DIR"; then dnl if test -z "$ELPHEL_DIR"; then
dnl AC_MSG_RESULT([not found]) dnl AC_MSG_RESULT([not found])
dnl AC_MSG_ERROR([Please reinstall the elphel distribution]) dnl AC_MSG_ERROR([Please reinstall the elphel distribution])
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