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
01a47510
Commit
01a47510
authored
Aug 13, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improved Makefile, switched to common device drivers reference
parent
94d52b00
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Makefile
Makefile
+3
-3
camogm.c
camogm.c
+1
-1
No files found.
Makefile
View file @
01a47510
...
@@ -2,8 +2,8 @@ PROGS = camogm
...
@@ -2,8 +2,8 @@ PROGS = camogm
PHPFILES
=
camogmstate.php
PHPFILES
=
camogmstate.php
SRCS
=
camogm.c camogm_ogm.c camogm_jpeg.c camogm_mov.c camogm_kml.c camogm_read.c index_list.c
SRCS
=
camogm.c camogm_ogm.c camogm_jpeg.c camogm_mov.c camogm_kml.c camogm_read.c index_list.c
#
OBJS = camogm.o camogm_ogm.o camogm_jpeg.o camogm_mov.o camogm_kml.o camogm_read.o index_list.o
OBJS
=
camogm.o camogm_ogm.o camogm_jpeg.o camogm_mov.o camogm_kml.o camogm_read.o index_list.o
OBJS
=
$
(
SRC:.c
=
.o
)
#
OBJS = $(SRC:.c=.o)
#CFLAGS += -Wall -I$(ELPHEL_KERNEL_DIR)/include/uapi/elphel
#CFLAGS += -Wall -I$(ELPHEL_KERNEL_DIR)/include/uapi/elphel
CFLAGS
+=
-Wall
-I
$(STAGING_DIR_HOST)
/usr/include-uapi/elphel
CFLAGS
+=
-Wall
-I
$(STAGING_DIR_HOST)
/usr/include-uapi/elphel
...
@@ -18,7 +18,7 @@ all: $(PROGS)
...
@@ -18,7 +18,7 @@ all: $(PROGS)
$(PROGS)
:
$(OBJS)
$(PROGS)
:
$(OBJS)
$(CC)
$(LDFLAGS)
$^
$(LDLIBS)
-o
$@
$(CC)
$(LDFLAGS)
$^
$(LDLIBS)
-o
$@
install
:
install
:
install
-d
$(DESTDIR)$(BINDIR)
install
-d
$(DESTDIR)$(BINDIR)
install
-m
0755
-t
$(DESTDIR)$(BINDIR)
$(PROGS)
install
-m
0755
-t
$(DESTDIR)$(BINDIR)
$(PROGS)
install
-d
$(DESTDIR)$(SYSCONFDIR)
install
-d
$(DESTDIR)$(SYSCONFDIR)
...
...
camogm.c
View file @
01a47510
...
@@ -90,7 +90,7 @@ const char *ctlFileNames[] = { DEV393_PATH(DEV393_FRAMEPARS0), DEV393_PATH(DEV3
...
@@ -90,7 +90,7 @@ const char *ctlFileNames[] = { DEV393_PATH(DEV393_FRAMEPARS0), DEV393_PATH(DEV3
const
char
*
circbufFileNames
[]
=
{
DEV393_PATH
(
DEV393_CIRCBUF0
),
DEV393_PATH
(
DEV393_CIRCBUF1
),
const
char
*
circbufFileNames
[]
=
{
DEV393_PATH
(
DEV393_CIRCBUF0
),
DEV393_PATH
(
DEV393_CIRCBUF1
),
DEV393_PATH
(
DEV393_CIRCBUF2
),
DEV393_PATH
(
DEV393_CIRCBUF3
)
DEV393_PATH
(
DEV393_CIRCBUF2
),
DEV393_PATH
(
DEV393_CIRCBUF3
)
};
};
#endif
int
lastDaemonBit
[
SENSOR_PORTS
]
=
{
DAEMON_BIT_CAMOGM
};
int
lastDaemonBit
[
SENSOR_PORTS
]
=
{
DAEMON_BIT_CAMOGM
};
struct
framepars_all_t
*
frameParsAll
[
SENSOR_PORTS
];
struct
framepars_all_t
*
frameParsAll
[
SENSOR_PORTS
];
...
...
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