Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-apps-camogm
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-camogm
Commits
045b76e0
Commit
045b76e0
authored
May 05, 2016
by
Mikhail Karpenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code can be compiled
parent
38d28dd5
Changes
9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
21 additions
and
671 deletions
+21
-671
LICENSE
LICENSE
+0
-661
Makefile
Makefile
+3
-3
camogm.c
camogm.c
+2
-2
camogm.h
camogm.h
+1
-1
camogm_jpeg.c
camogm_jpeg.c
+1
-1
camogm_kml.c
camogm_kml.c
+1
-1
camogm_mov.c
camogm_mov.c
+1
-1
camogm_ogm.c
camogm_ogm.c
+1
-1
run_bitbake.sh
run_bitbake.sh
+11
-0
No files found.
LICENSE
deleted
100644 → 0
View file @
38d28dd5
This diff is collapsed.
Click to expand it.
Makefile
View file @
045b76e0
AXIS_USABLE_LIBS
=
UCLIBC GLIBC
AXIS_USABLE_LIBS
=
UCLIBC GLIBC
AXIS_AUTO_DEPEND
=
yes
AXIS_AUTO_DEPEND
=
yes
include
$(AXIS_TOP_DIR)/tools/build/Rules.axis
#
include $(AXIS_TOP_DIR)/tools/build/Rules.axis
INSTDIR
=
$(prefix)
/usr/local/sbin/
INSTDIR
=
$(prefix)
/usr/local/sbin/
OTHERDIR
=
$(prefix)
/usr/html/
OTHERDIR
=
$(prefix)
/usr/html/
...
@@ -21,13 +21,13 @@ SRCS = camogm.c camogm_ogm.c camogm_jpeg.c camogm_mov.c camogm_kml.c
...
@@ -21,13 +21,13 @@ SRCS = camogm.c camogm_ogm.c camogm_jpeg.c camogm_mov.c camogm_kml.c
OBJS
=
camogm.o camogm_ogm.o camogm_jpeg.o camogm_mov.o camogm_kml.o
OBJS
=
camogm.o camogm_ogm.o camogm_jpeg.o camogm_mov.o camogm_kml.o
CFLAGS
+=
-Wall
-I
$(INCDIR)
-I
$(AXIS_KERNEL_DIR)
/include
CFLAGS
+=
-Wall
-I
$(ELPHEL_KERNEL_DIR)
/include/elphel
#CFLAGS += -Wall -I$(INCDIR) -I$(ELPHEL_KERNEL_DIR)/include/elphel
all
:
$(PROGS)
all
:
$(PROGS)
$(PROGS)
:
$(OBJS)
$(PROGS)
:
$(OBJS)
$(CC)
$(LDFLAGS)
$^
$(LDLIBS)
-logg
-o
$@
$(CC)
$(LDFLAGS)
$^
$(LDLIBS)
-logg
-o
$@
cris-strip
-s
$@
install
:
$(PROGS)
install
:
$(PROGS)
$(INSTALL)
-d
$(INSTDIR)
$(INSTALL)
-d
$(INSTDIR)
$(INSTALL)
-m
$(INSTMODE)
-o
$(INSTOWNER)
-g
$(INSTGROUP)
$(PROGS)
$(INSTDIR)
$(INSTALL)
-m
$(INSTMODE)
-o
$(INSTOWNER)
-g
$(INSTGROUP)
$(PROGS)
$(INSTDIR)
...
...
camogm.c
View file @
045b76e0
...
@@ -122,8 +122,8 @@
...
@@ -122,8 +122,8 @@
#include <sys/mman.h>
/* mmap */
#include <sys/mman.h>
/* mmap */
#include <sys/ioctl.h>
#include <sys/ioctl.h>
#include <
asm/elphel/
c313a.h>
#include <c313a.h>
//#include <asm/elphel/
exifa.h>
#include <
exifa.h>
#include <asm/byteorder.h>
#include <asm/byteorder.h>
...
...
camogm.h
View file @
045b76e0
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
#define JPEG_HEADER_MAXSIZE 0x300 // will not change
#define JPEG_HEADER_MAXSIZE 0x300 // will not change
//#include "camogm_exif.h"
//#include "camogm_exif.h"
#include <
asm/elphel/
exifa.h>
#include <exifa.h>
/*
/*
...
...
camogm_jpeg.c
View file @
045b76e0
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
#include <sys/mman.h>
/* mmap */
#include <sys/mman.h>
/* mmap */
#include <sys/ioctl.h>
#include <sys/ioctl.h>
#include <
asm/elphel/
c313a.h>
#include <c313a.h>
#include <asm/byteorder.h>
#include <asm/byteorder.h>
...
...
camogm_kml.c
View file @
045b76e0
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
#include <sys/mman.h>
/* mmap */
#include <sys/mman.h>
/* mmap */
#include <sys/ioctl.h>
#include <sys/ioctl.h>
#include <
asm/elphel/
c313a.h>
#include <c313a.h>
#include <asm/byteorder.h>
#include <asm/byteorder.h>
...
...
camogm_mov.c
View file @
045b76e0
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
#include <sys/mman.h>
/* mmap */
#include <sys/mman.h>
/* mmap */
#include <sys/ioctl.h>
#include <sys/ioctl.h>
#include <
asm/elphel/
c313a.h>
#include <c313a.h>
#include <asm/byteorder.h>
#include <asm/byteorder.h>
...
...
camogm_ogm.c
View file @
045b76e0
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
#include <sys/mman.h>
/* mmap */
#include <sys/mman.h>
/* mmap */
#include <sys/ioctl.h>
#include <sys/ioctl.h>
#include <
asm/elphel/
c313a.h>
#include <c313a.h>
#include <asm/byteorder.h>
#include <asm/byteorder.h>
...
...
run_bitbake.sh
0 → 100755
View file @
045b76e0
#!/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
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