forked from Imagelibrary/rtems
Removed need for use of separate include/networking directory.
This commit is contained in:
@@ -27,10 +27,6 @@ CFLAGS = $(CFLAGS_DEFAULT) $(XCFLAGS)
|
||||
CXXFLAGS = $(CFLAGS_DEFAULT) $(XCXXFLAGS)
|
||||
ASFLAGS = $(CPU_ASFLAGS) $(XASFLAGS)
|
||||
|
||||
# We only include the header files for networking if it is enabled.
|
||||
INCLUDE_NETWORKING_yes_V = -I$(PROJECT_INCLUDE)/networking
|
||||
INCLUDE_NETWORKING = $(INCLUDE_NETWORKING_$(HAS_NETWORKING)_V)
|
||||
|
||||
ifeq ($(RTEMS_USE_GCC272),yes)
|
||||
ifeq ($(RTEMS_CROSS_TARGET),no)
|
||||
|
||||
@@ -40,7 +36,7 @@ endif
|
||||
|
||||
# Used for posix bsps
|
||||
CPPFLAGS += \
|
||||
-I$(PROJECT_INCLUDE) $(INCLUDE_NETWORKING) \
|
||||
-I$(PROJECT_INCLUDE) \
|
||||
$(RTEMS_LIBC_INCLUDES)
|
||||
else
|
||||
# Used for embedded bsps
|
||||
@@ -48,7 +44,7 @@ else
|
||||
GCC_INCLUDE=$(shell $(CC) $(CPU_CFLAGS) -print-file-name=include $(GCCSED))
|
||||
|
||||
CPPFLAGS += -nostdinc \
|
||||
-I$(PROJECT_INCLUDE) $(INCLUDE_NETWORKING) \
|
||||
-I$(PROJECT_INCLUDE) \
|
||||
-I$(GCC_INCLUDE) \
|
||||
-I$(RTEMS_LIBC_DIR)/sys-include \
|
||||
-I$(RTEMS_LIBC_DIR)/include
|
||||
@@ -72,7 +68,7 @@ GCCSPECS = -B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems
|
||||
CC += $(GCCSPECS)
|
||||
CXX += $(GCCSPECS)
|
||||
|
||||
CPPFLAGS += $(INCLUDE_NETWORKING)
|
||||
CPPFLAGS +=
|
||||
|
||||
# default location of Standard C Library
|
||||
ifndef LIBC_LIBC
|
||||
|
||||
Reference in New Issue
Block a user