Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meta-elphel393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
meta-elphel393
Commits
5f4094c9
Commit
5f4094c9
authored
Aug 12, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into framepars
parents
c66b8bbf
ae279f8b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
43 deletions
+22
-43
apps-camogm_1.0.bb
recipes-core/apps-camogm/apps-camogm_1.0.bb
+7
-19
apps-imgsrv_1.0.bb
recipes-core/apps-imgsrv/apps-imgsrv_1.0.bb
+3
-17
php_5.6.%.bbappend
recipes-devtools/php/php_5.6.%.bbappend
+12
-7
No files found.
recipes-core/apps-camogm/apps-camogm_1.0.bb
View file @
5f4094c9
...
@@ -4,36 +4,24 @@ DESCRIPTION = "Simple and fast HTTP server to send camera still images"
...
@@ -4,36 +4,24 @@ DESCRIPTION = "Simple and fast HTTP server to send camera still images"
AUTHOR = "Elphel Inc."
AUTHOR = "Elphel Inc."
HOMEPAGE = "http://www3.elphel.com/"
HOMEPAGE = "http://www3.elphel.com/"
PRIORITY = "optional"
LICENSE = "GPLv3"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://
LICENSE;beginline=21;endline=699;md5=ccd2fef7dee090f3b211c6677c3e34cc
"
LIC_FILES_CHKSUM = "file://
${COMMON_LICENSE_DIR}/GPL-3.0;md5=c79ff39f19dfec6d293b95dea7b07891
"
SRCDATE = "20160503
"
VPATH = "${TOPDIR}/../../rootfs-elphel/elphel-apps-camogm
"
PV = "${SRCDATE}"
inherit elphel-dev
PR = "r0"
DEV_DIR ?= "${TOPDIR}/../../linux-elphel/linux/source"
do_configure[noexec] = "1"
EXTRA_OEMAKE = "ELPHEL_KERNEL_DIR=${DEV_DIR}"
APPS_DIR = "${TOPDIR}/../../rootfs-elphel"
FILESEXTRAPATHS_append := "${APPS_DIR}/elphel-apps-camogm:"
S = "${WORKDIR}"
SRC_URI = "file://.* \
file://LICENSE \
"
FILES_${PN} += "${bindir}/camogm ${sysconfdir}/qt_source"
DEPENDS += "libogg"
DEPENDS += "libogg"
do_install() {
do_install
_append
() {
install -d ${D}${bindir}
install -d ${D}${bindir}
install -m 0755 ${S}/camogm ${D}${bindir}
install -m 0755 ${S}/camogm ${D}${bindir}
install -d ${D}${sysconfdir}
install -d ${D}${sysconfdir}
install -m 0644 qt_source ${D}${sysconfdir}/
install -m 0644 qt_source ${D}${sysconfdir}/
}
}
FILES_${PN} += "${bindir}/camogm ${sysconfdir}/qt_source"
PACKAGES += " camogm"
PACKAGES += " camogm"
recipes-core/apps-imgsrv/apps-imgsrv_1.0.bb
View file @
5f4094c9
...
@@ -4,28 +4,14 @@ DESCRIPTION = "Simple and fast HTTP server to send camera still images"
...
@@ -4,28 +4,14 @@ DESCRIPTION = "Simple and fast HTTP server to send camera still images"
AUTHOR = "Elphel Inc."
AUTHOR = "Elphel Inc."
HOMEPAGE = "http://www3.elphel.com/"
HOMEPAGE = "http://www3.elphel.com/"
PRIORITY = "optional"
LICENSE = "GPLv3"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-3.0;md5=c79ff39f19dfec6d293b95dea7b07891"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-3.0;md5=c79ff39f19dfec6d293b95dea7b07891"
SRCDATE = "20160405"
VPATH = "${TOPDIR}/../../rootfs-elphel/elphel-apps-imgsrv"
PV = "${SRCDATE}"
PR = "r0"
DEV_DIR ?= "${TOPDIR}/../../linux-elphel/linux/source"
inherit elphel-dev
EXTRA_OEMAKE = "ELPHEL_KERNEL_DIR=${DEV_DIR}"
APPS_DIR = "${TOPDIR}/../../rootfs-elphel"
do_install_append() {
FILESEXTRAPATHS_append := "${APPS_DIR}/elphel-apps-imgsrv:"
SRC_URI = "file://imgsrv.c \
file://Makefile \
file://exif.php \
file://Exif_template.xml \
"
S = "${WORKDIR}"
do_install() {
install -d ${D}${bindir}
install -d ${D}${bindir}
install -m 0755 ${S}/imgsrv ${D}${bindir}
install -m 0755 ${S}/imgsrv ${D}${bindir}
install -d ${D}/www/pages
install -d ${D}/www/pages
...
...
recipes-devtools/php/php_5.6.%.bbappend
View file @
5f4094c9
EXTRA_OECONF += "--enable-elphel"
EXTRA_OECONF += "--enable-elphel"
DEV_DIR
?= "${TOPDIR}/../../rootfs-elphel/elphel-apps-php-extension/ext
"
DEV_DIR
= "${TOPDIR}/../../rootfs-elphel/elphel-apps-php-extension
"
do_unpack_append(){
do_unpack_append(){
print("Link e
xtension
to the main tree")
print("Link e
verything
to the main tree")
DEV_DIR = d.getVar('DEV_DIR', True)
DEV_DIR = d.getVar('DEV_DIR', True)
S = d.getVar('S', True)
S = d.getVar('S', True)
if os.path.isdir(DEV_DIR):
if os.path.isdir(DEV_DIR):
print("DEV_DIR exists - creating links...")
print("DEV_DIR exists - creating links...")
devdir_abspath = os.path.abspath(DEV_DIR)
devdir_abspath = os.path.abspath(DEV_DIR
+"/src"
)
for path, folders, files in os.walk(DEV_DIR):
for path, folders, files in os.walk(DEV_DIR
+"/src"
):
folders[:]=[fd for fd in folders if fd != ".git"]
folders[:]=[fd for fd in folders if fd != ".git"]
for folder in folders:
for folder in folders:
folder_abspath = os.path.abspath(os.path.join(path, folder))
folder_abspath = os.path.abspath(os.path.join(path, folder))
folder_relpath = folder_abspath.replace(devdir_abspath+"/", '')
folder_relpath = folder_abspath.replace(devdir_abspath+"/", '')
os.system("cd "+S+"
/ext
;mkdir -p "+folder_relpath)
os.system("cd "+S+";mkdir -p "+folder_relpath)
for filename in files:
for filename in files:
file_abspath = os.path.abspath(os.path.join(path, filename))
file_abspath = os.path.abspath(os.path.join(path, filename))
file_relpath = file_abspath.replace(devdir_abspath+"/", '')
file_relpath = file_abspath.replace(devdir_abspath+"/", '')
os.system("cd "+S+"/ext;ln -sf "+file_abspath+" "+file_relpath)
os.system("cd "+S+";ln -sf "+file_abspath+" "+file_relpath)
#make a link back:
if not os.path.isdir(DEV_DIR+"/php"):
os.system("ln -sf "+S+" "+DEV_DIR+"/php")
}
}
\ No newline at end of file
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