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
c1eee4db
Commit
c1eee4db
authored
Feb 18, 2013
by
Aurelio Colosimo
Committed by
Alessandro Rubini
Feb 19, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefile: actually build ppsi
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
0408b799
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
Makefile
Makefile
+23
-0
No files found.
Makefile
View file @
c1eee4db
...
...
@@ -66,6 +66,25 @@ obj-$(CONFIG_PTP_NOPOSIX) += wrc_ptp.o \
$(PTP_NOPOSIX)/libposix/freestanding-startup.o
\
$(PTP_NOPOSIX)/libposix/freestanding-wrapper.o
cflags-$(CONFIG_PPSI)
+=
\
-ffreestanding
\
-Iinclude
\
-I$(PPSI)/include
\
-I$(PPSI)/arch-spec/include
\
-I$(PPSI)/proto-ext-whiterabbit
\
-Iboards/spec
# FIXM: The following it temporary, untile we clean up
cflags-$(CONFIG_PPSI)
+=
\
-I$(PTP_NOPOSIX)/PTPWRd
\
-I$(PTP_NOPOSIX)/wrsw_hal
\
-include
$(PTP_NOPOSIX)/PTPWRd/dep/trace.h
\
obj-$(CONFIG_PPSI)
+=
wrc_ptp_ppsi.o
\
monitor/monitor_ppsi.o
\
$(PPSI)/ppsi.o
\
$(PPSI)/arch-spec/libarch.a
CFLAGS_PLATFORM
=
-mmultiply-enabled
-mbarrel-shift-enabled
LDFLAGS_PLATFORM
=
-mmultiply-enabled
-mbarrel-shift-enabled
\
-nostdlib
-T
$(LDS)
...
...
@@ -96,6 +115,10 @@ all: tools $(OUTPUT).ram $(OUTPUT).vhd
.PRECIOUS
:
%.elf %.bin
.PHONY
:
all tools clean gitmodules $(PPSI)/ppsi.o
$(PPSI)/ppsi.o
:
$(MAKE)
-C
$(PPSI)
ARCH
=
spec
PROTO_EXT
=
whiterabbit
HAS_FULL_DIAG
=
y
\
CROSS_COMPILE
=
$(CROSS_COMPILE)
$(OUTPUT).elf
:
$(LDS) $(AUTOCONF) gitmodules $(OUTPUT).o
$(CC)
$(CFLAGS)
-DGIT_REVISION
=
\"
$(REVISION)
\"
-c
revision.c
${
CC
}
-o
$@
revision.o
$(OUTPUT)
.o
$(LDFLAGS)
...
...
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