2007-09-11 Joel Sherrill <joel.sherrill@OARcorp.com>

* Makefile.am, include/bsp.h: Do not include networking
	drivers if networking is disabled.
This commit is contained in:
Joel Sherrill
2007-09-11 14:06:39 +00:00
parent 5cd8b168f0
commit 38feb6d51d
3 changed files with 11 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2007-09-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, include/bsp.h: Do not include networking
drivers if networking is disabled.
2007-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* network/xiltemac.c: Remove duplicate prototype.

View File

@@ -12,7 +12,9 @@ dist_project_lib_DATA = bsp_specs
include_HEADERS = include/bsp.h
include_HEADERS += include/tm27.h
include_HEADERS += include/xparameters_dflt.h
if HAS_NETWORKING
include_HEADERS += network/xiltemac.h
endif
nodist_include_HEADERS = include/bspopts.h
DISTCLEANFILES = include/bspopts.h
@@ -82,7 +84,10 @@ noinst_LIBRARIES = libbsp.a
libbsp_a_SOURCES =
libbsp_a_LIBADD = startup.rel dlentry.rel bspconsole.rel opbintctrl.rel \
vectors.rel irq.rel network.rel
vectors.rel irq.rel
if HAS_NETWORKING
libbsp_a_LIBADD += network.rel
endif
libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \

View File

@@ -68,7 +68,6 @@ extern "C" {
#include <rtems/clockdrv.h>
#include <rtems/console.h>
#include <rtems/iosupp.h>
#include <rtems/rtems_bsdnet.h>
#include <bsp/irq.h>
#include <bsp/vectors.h>