Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-apps-php-extension
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-apps-php-extension
Commits
1bd97ab8
Commit
1bd97ab8
authored
Aug 12, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modifying includes handling
parent
b8546ac3
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
30 additions
and
6 deletions
+30
-6
.gitignore
.gitignore
+9
-0
run_bitbake.sh
run_bitbake.sh
+11
-0
config.m4
src/ext/elphel/config.m4
+6
-3
elphel_php.h
src/ext/elphel/elphel_php.h
+4
-3
autoexp.h
src/ext/elphel/include/autoexp.h
+0
-0
c313a.h
src/ext/elphel/include/c313a.h
+0
-0
exifa.h
src/ext/elphel/include/exifa.h
+0
-0
No files found.
.gitignore
0 → 100644
View file @
1bd97ab8
html/*
.project
.cproject
.externalToolBuilders
.settings
*.directory
attic/*
php
run_bitbake.sh
0 → 100755
View file @
1bd97ab8
#!/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
src/ext/elphel/config.m4
View file @
1bd97ab8
...
@@ -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
...
...
src/ext/elphel/elphel_php.h
View file @
1bd97ab8
...
@@ -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
;
...
...
src/ext/elphel/autoexp.h
→
src/ext/elphel/
include/
autoexp.h
View file @
1bd97ab8
File moved
src/ext/elphel/c313a.h
→
src/ext/elphel/
include/
c313a.h
View file @
1bd97ab8
File moved
src/ext/elphel/exifa.h
→
src/ext/elphel/
include/
exifa.h
View file @
1bd97ab8
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment