Commit 604073df authored by Adam Wujek's avatar Adam Wujek

Kconfig: get rid of CONFIG_WRPCSW_ROOT

The path to the WRPC's repo is passed in the env variable WRPCSW_ROOT
Signed-off-by: 's avatarAdam Wujek <adam.wujek@creotech.pl>
parent 1edda8d3
...@@ -87,11 +87,6 @@ config ARCH_LDFLAGS ...@@ -87,11 +87,6 @@ config ARCH_LDFLAGS
default "-m elf_x86_64" if ARCH_BARE_X86_64 default "-m elf_x86_64" if ARCH_BARE_X86_64
default "" default ""
config WRPCSW_ROOT
string "Source location of wrpc-sw"
depends on ARCH_WRPC
default "../wrpc-sw"
menu "Options" menu "Options"
menu "PTP Protocol Options" menu "PTP Protocol Options"
......
...@@ -10,9 +10,7 @@ CFLAGS += -ffreestanding \ ...@@ -10,9 +10,7 @@ CFLAGS += -ffreestanding \
-Itools -Iproto-standard \ -Itools -Iproto-standard \
$(CFLAGS-CPU-$(CPU_ARCH)) $(CFLAGS-CPU-$(CPU_ARCH))
# Root of wrpc-sw project # WRPCSW_ROOT shall be defined in the env by WRPC's Makefile
WRPCSW_ROOT ?= $(CONFIG_WRPCSW_ROOT)
CFLAGS += -I$(WRPCSW_ROOT)/include -I$(WRPCSW_ROOT)/include/std -I$(WRPCSW_ROOT)/softpll CFLAGS += -I$(WRPCSW_ROOT)/include -I$(WRPCSW_ROOT)/include/std -I$(WRPCSW_ROOT)/softpll
# TODOA: remove --no-gc-sections # TODOA: remove --no-gc-sections
......
...@@ -9,10 +9,6 @@ ...@@ -9,10 +9,6 @@
#define __PPSI_PPSI_H__ #define __PPSI_PPSI_H__
#include <generated/autoconf.h> #include <generated/autoconf.h>
#if defined(CONFIG_WRPCSW_ROOT)
#include "../../../include/generated/autoconf.h"
#endif
#include <stdint.h> #include <stdint.h>
#include <limits.h> #include <limits.h>
#include <stdarg.h> #include <stdarg.h>
......
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