From 4a1eb75b90fed12fc298fcb4e45832abeb8addfd Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 11 Sep 2007 13:10:12 +0000 Subject: 2007-09-11 Joel Sherrill * Makefile.am, configure.ac: Do not build networking drivers if networking is disabled. --- c/src/lib/libcpu/powerpc/ChangeLog | 5 +++++ c/src/lib/libcpu/powerpc/Makefile.am | 4 +++- c/src/lib/libcpu/powerpc/configure.ac | 3 +++ 3 files changed, 11 insertions(+), 1 deletion(-) (limited to 'c') diff --git a/c/src/lib/libcpu/powerpc/ChangeLog b/c/src/lib/libcpu/powerpc/ChangeLog index e04c821b80..2e18475661 100644 --- a/c/src/lib/libcpu/powerpc/ChangeLog +++ b/c/src/lib/libcpu/powerpc/ChangeLog @@ -1,3 +1,8 @@ +2007-09-11 Joel Sherrill + + * Makefile.am, configure.ac: Do not build networking drivers if + networking is disabled. + 2007-09-06 Joel Sherrill * mpc6xx/mmu/pte121.c: Fix warning. diff --git a/c/src/lib/libcpu/powerpc/Makefile.am b/c/src/lib/libcpu/powerpc/Makefile.am index b562212a71..cfc7e45660 100644 --- a/c/src/lib/libcpu/powerpc/Makefile.am +++ b/c/src/lib/libcpu/powerpc/Makefile.am @@ -331,13 +331,15 @@ if mpc83xx include_mpc83xxdir = $(includedir)/mpc83xx include_mpc83xx_HEADERS = mpc83xx/include/mpc83xx.h include_mpc83xx_HEADERS += mpc83xx/network/tsec.h + ## mpc83xx/network +if HAS_NETWORKING noinst_PROGRAMS += mpc83xx/tsec.rel mpc83xx_tsec_rel_SOURCES = mpc83xx/network/tsec.c mpc83xx_tsec_rel_CPPFLAGS = $(AM_CPPFLAGS) mpc83xx_tsec_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D__BSD_VISIBLE mpc83xx_tsec_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) - +endif ## mpc83xx/i2c include_mpc83xx_HEADERS += mpc83xx/i2c/mpc83xx_i2cdrv.h noinst_PROGRAMS += mpc83xx/i2c.rel diff --git a/c/src/lib/libcpu/powerpc/configure.ac b/c/src/lib/libcpu/powerpc/configure.ac index b202ed7c4e..fcce76ce97 100644 --- a/c/src/lib/libcpu/powerpc/configure.ac +++ b/c/src/lib/libcpu/powerpc/configure.ac @@ -77,6 +77,9 @@ AM_CONDITIONAL(ppc403,[test "$RTEMS_CPU_MODEL" = "ppc403" \ || test "$RTEMS_CPU_MODEL" = "ppc405"]) AM_CONDITIONAL(ppc405, test "$RTEMS_CPU_MODEL" = "ppc405") +RTEMS_CHECK_NETWORKING +AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") + RTEMS_AMPOLISH3 # Explicitly list all Makefiles here -- cgit v1.2.3