forked from Imagelibrary/rtems
Patches from Eric Norum
This commit is contained in:
@@ -18,10 +18,6 @@ CPLUS_CPPFLAGS=$(CFLAGS) $(XCPPFLAGS)
|
||||
|
||||
# default flags
|
||||
|
||||
# We only include the header files for KA9Q if it is enabled.
|
||||
INCLUDE_KA9Q_yes_V = -I$(PROJECT_INCLUDE)/ka9q
|
||||
INCLUDE_KA9Q = $(INCLUDE_KA9Q_$(HAS_KA9Q)_V)
|
||||
|
||||
# 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)
|
||||
@@ -36,7 +32,6 @@ endif
|
||||
# Used for posix bsps
|
||||
CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \
|
||||
-I$(PROJECT_INCLUDE) \
|
||||
$(INCLUDE_KA9Q) \
|
||||
$(INCLUDE_NETWORKING) \
|
||||
$(RTEMS_LIBC_INCLUDES) $(DEFINES)
|
||||
|
||||
@@ -50,7 +45,6 @@ GCC_INCLUDE=$(shell $(CC) $(CPU_CFLAGS) -print-file-name=include $(GCCSED))
|
||||
|
||||
CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \
|
||||
-nostdinc -I$(PROJECT_INCLUDE) \
|
||||
$(INCLUDE_KA9Q) \
|
||||
$(INCLUDE_NETWORKING) \
|
||||
-I$(RTEMS_LIBC_DIR)/include -I$(GCC_INCLUDE) $(DEFINES)
|
||||
|
||||
@@ -71,7 +65,7 @@ endif
|
||||
else
|
||||
CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \
|
||||
-B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems \
|
||||
$(INCLUDE_KA9Q) $(INCLUDE_NETWORKING) $(DEFINES)
|
||||
$(INCLUDE_NETWORKING) $(DEFINES)
|
||||
|
||||
ASMFLAGS=$(CPU_DEFINES) $(CPU_CFLAGS) -g -I$(srcdir) \
|
||||
-B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems $(DEFINES)
|
||||
|
||||
Reference in New Issue
Block a user