Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Software for White Rabbit PTP Core
Commits
52fb757e
Commit
52fb757e
authored
Oct 25, 2013
by
Wesley W. Terpstra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
w1: build sdbfs if gensdbfs is available
parent
8e0370f1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
.gitignore
tools/.gitignore
+1
-0
Makefile
tools/Makefile
+8
-1
No files found.
tools/.gitignore
View file @
52fb757e
...
...
@@ -5,3 +5,4 @@ wrpc-uart-sw
wrpc-w1-read
wrpc-w1-write
eb-w1-write
sdb-wrpc.bin
tools/Makefile
View file @
52fb757e
EB
?=
no
EB
?=
no
SDBFS
?=
no
CFLAGS
=
-Wall
-ggdb
-DEXTERNAL_W1
-I
../include
LDFLAGS
=
-lutil
...
...
@@ -8,6 +9,9 @@ ALL += wrpc-w1-read wrpc-w1-write
ifneq
($(EB),no)
ALL
+=
eb-w1-write
endif
ifneq
($(SDBFS),no)
ALL
+=
sdb-wrpc.bin
endif
AS
=
as
LD
=
ld
...
...
@@ -33,5 +37,8 @@ wrpc-w1-write: wrpc-w1-write.c ../dev/w1.c ../dev/w1-eeprom.c ../dev/w1-hw.c
eb-w1-write
:
eb-w1-write.c ../dev/w1.c ../dev/w1-eeprom.c eb-w1.c
$(CC)
$(CFLAGS)
-I
$(EB)
$^
$(LDFLAGS)
-o
$@
-L
$(EB)
-letherbone
sdb-wrpc.bin
:
sdbfs
$(SDBFS)
/gensdbfs
$<
$@
clean
:
rm
-f
$(ALL)
*
.o
*
~
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