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
83ecbad8
Commit
83ecbad8
authored
Mar 21, 2015
by
YuriNenakhov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial python library version
parent
25581e55
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
0 deletions
+36
-0
elphel-python-extensions_0.0.1.bb
...lphel-python-extensions/elphel-python-extensions_0.0.1.bb
+35
-0
core-image-elphel393.bb
recipes-core/images/core-image-elphel393.bb
+1
-0
No files found.
recipes-core/elphel-python-extensions/elphel-python-extensions_0.0.1.bb
0 → 100644
View file @
83ecbad8
SUMMARY = "A recipe for python extensions to support features of Elphel cameras"
HOMEPAGE = "http://elphel.com"
AUTHOR = "Yuri Nenakhov"
LICENSE = "GPLv2+"
RDEPENDS_${PN} += "\
python-core \
python-numpy \
python-ctypes"
LIC_FILES_CHKSUM = "file://LICENSE;md5=891e49b3c2a8c133ffe7985e54245aff"
SRC_URI = "git://github.com/Elphel/python-elphel-extensions.git"
#SRCREV = "fbb514aa775b2d07e14403c996810ec1fddb0fa1"
SRCREV = "${AUTOREV}"
SRC_URI[md5sum] = "63120c2923a1dd174dfb7ebaf2d44a76"
SRC_URI[sha256sum] = "b5a0827002a9060e77c55a2e857af4550215c283a3bf94f69f4d7eed22ef1de0"
FILES_${PN} = "${libdir}"
#supress .debug generation
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
INHIBIT_PACKAGE_STRIP = "1"
S = "${WORKDIR}/git"
do_compile() {
${CC} -Wall -Wextra -O -ansi -pedantic -shared -fPIC libelphel.c -o libelphel.so
}
do_install() {
install -d -m 755 ${D}${libdir}/
install -d -m 755 ${D}${libdir}/python2.7/
install -m 755 ${B}/libelphel.so ${D}${libdir}/libelphel.so.0
install -m 755 ${S}/elphel.py ${D}${libdir}/python2.7/elphel.py
}
recipes-core/images/core-image-elphel393.bb
View file @
83ecbad8
...
...
@@ -6,6 +6,7 @@ IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMA
IMAGE_INSTALL_append = "u-boot-ezynq"
IMAGE_INSTALL_append += " python-core \
python-numpy \
elphel-python-extensions \
htop \
i2c-tools \
mtd-utils \
...
...
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