Commit d447f096 authored by Alessandro Rubini's avatar Alessandro Rubini Committed by Grzegorz Daniluk

ppsi: get new release, and fix Makefile accordingly

This includes ppsi-v2014.07.

The new ppsi master is Kconfig-based, so our makefile must
make "wrpc_defconfig" in ppsi before building it.
Additionally, the link steps changed to the better in there, so we
don't link the "strange" $(PPSI)/proto-standard/libstd.a any more.

We may consider whether a local .config for ppsi should be
provided by this package instead of relying on its own choices;
not a big deal, though, as we maintain them at the same time.

Please note that any existent ppsi/.config is preserved, to allow
local tests. This should not have any impact on normal users.
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 2d4f4ca7
......@@ -74,8 +74,7 @@ cflags-$(CONFIG_PPSI) += \
-Iboards/spec
obj-ppsi = \
$(PPSI)/ppsi.o \
$(PPSI)/proto-standard/libstd.a
$(PPSI)/ppsi.o
obj-$(CONFIG_PPSI) += \
monitor/monitor_ppsi.o \
......@@ -128,7 +127,8 @@ endif
PPSI_USER_CFLAGS += -DDIAG_PUTS=uart_sw_write_string
$(obj-ppsi):
$(MAKE) -C $(PPSI) ARCH=wrpc PROTO_EXT=whiterabbit \
test -f $(PPSI)/.config || $(MAKE) -C $(PPSI) wrpc_defconfig
$(MAKE) -C $(PPSI) WRPCSW_ROOT=.. \
CROSS_COMPILE=$(CROSS_COMPILE) CONFIG_NO_PRINTF=y \
USER_CFLAGS="$(PPSI_USER_CFLAGS)"
......
ppsi @ 3a078045
Subproject commit 76d6d83987cfd11ff18a03aad01b27e386a83fa3
Subproject commit 3a0780456abd484509c39dfdf2e8a949e1486864
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment