Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
wrpc-sw
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
hdl-core-lib
wr-cores
wrpc-sw
Commits
52fb757e
Commit
52fb757e
authored
11 years ago
by
Wesley W. Terpstra
Browse files
Options
Downloads
Patches
Plain Diff
w1: build sdbfs if gensdbfs is available
parent
8e0370f1
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tools/.gitignore
+1
-0
1 addition, 0 deletions
tools/.gitignore
tools/Makefile
+8
-1
8 additions, 1 deletion
tools/Makefile
with
9 additions
and
1 deletion
tools/.gitignore
+
1
−
0
View file @
52fb757e
...
...
@@ -5,3 +5,4 @@ wrpc-uart-sw
wrpc-w1-read
wrpc-w1-write
eb-w1-write
sdb-wrpc.bin
This diff is collapsed.
Click to expand it.
tools/Makefile
+
8
−
1
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
*
~
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment