[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

addition of RTEMS configure options



I'm having a bit of trouble implementing --enable-sci option into rtems.

it configures without any problem, but when it comes to making
(executing "make all") which seems to be doing alot of stuff, it passes
over my section, saying "make[7]: Nothing to be done for 'all'."

I have modified many configure.in and Makefile.am, plus 2 .m4 files, and
can't think of any other related file to modify.

Could some of you review the info provided below, and throw me some
suggestions as to what i'm possibly missing, should modify or add or how
to diagnose this problem.

Thanks

Salman

---------------------------------------------------
salman ~/work/rtems>cat c/src/lib/libbsp/i386/pc386/sci/Makefile.am

##
## $Id: Makefile.am,v 1.1 2003/02/10 00:02:59 salman Exp $
##

AUTOMAKE_OPTIONS = foreign 1.4

PGM = $(ARCH)/sci.rel

C_FILES = sci.c 

sci_rel_OBJECTS = $(C_FILES:%.c=$(ARCH)/%.o)

H_FILES = 

include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .cfg
include $(top_srcdir)/../../../../../../automake/lib.am

#
# (OPTIONAL) Add local stuff here using +=
#

$(PGM): $(sci_rel_OBJECTS)
	$(make-rel)

# the .rel file built here will be put into libbsp.a by
# 	../wrapup/Makefile

if HAS_SCI
all-local: $(ARCH) $(sci_rel_OBJECTS) $(PGM)
endif

.PRECIOUS: $(PGM)

EXTRA_DIST = sci.c 

include $(top_srcdir)/../../../../../../automake/local.am

-------------------------------------------------------------
salman ~/work/rtems>find ./ -name "Makefile.am" | xargs grep -ie SCI

./c/src/lib/libbsp/i386/pc386/sci/Makefile.am:PGM = $(ARCH)/sci.rel
./c/src/lib/libbsp/i386/pc386/sci/Makefile.am:C_FILES = sci.c 
./c/src/lib/libbsp/i386/pc386/sci/Makefile.am:sci_rel_OBJECTS = $(C_FILES:%.c=$(ARCH)/%.o)
./c/src/lib/libbsp/i386/pc386/sci/Makefile.am:$(PGM): $(sci_rel_OBJECTS)
./c/src/lib/libbsp/i386/pc386/sci/Makefile.am:if HAS_SCI
./c/src/lib/libbsp/i386/pc386/sci/Makefile.am:all-local: $(ARCH) $(sci_rel_OBJECTS) $(PGM)
./c/src/lib/libbsp/i386/pc386/sci/Makefile.am:EXTRA_DIST = sci.c 
./c/src/lib/libbsp/i386/pc386/Makefile.am:    3c509 sci wrapup
./c/src/lib/libbsp/i386/pc386/wrapup/Makefile.am:if HAS_SCI
./c/src/lib/libbsp/i386/pc386/wrapup/Makefile.am:SCI = sci
./c/src/lib/libbsp/i386/pc386/wrapup/Makefile.am:BSP_FILES = startup clock console timer $(NETWORK) $(SCI)
./c/src/lib/include/Makefile.am:    scidrv.h timerdrv.h vmeintr.h
./tools/cpu/sh/Makefile.am:shgen_SOURCES = sci.h sci.c shgen.c
./Makefile.am:    aclocal/check-sci.m4 \
./Makefile.am:    aclocal/enable-sci.m4 \

-------------------------------------------------------------
salman ~/work/rtems>find ./ -name "configure.in" | xargs grep -ie SCI

./c/src/lib/configure.in:RTEMS_ENABLE_SCI
./c/src/lib/configure.in:AM_CONDITIONAL(HAS_SCI,test "$HAS_SCI" = "yes")
./c/src/lib/libbsp/i386/pc386/configure.in:AM_CONDITIONAL(HAS_SCI,test "$HAS_SCI" = "yes")
./c/src/lib/libbsp/i386/pc386/configure.in:sci/Makefile
./c/src/make/configure.in:RTEMS_ENABLE_SCI
./c/src/make/configure.in:RTEMS_CHECK_SCI(RTEMS_BSP)
./c/src/configure.in:RTEMS_ENABLE_SCI
./c/src/configure.in:RTEMS_CHECK_SCI(RTEMS_BSP)
./c/src/configure.in:AM_CONDITIONAL(HAS_SCI, test "$HAS_SCI" = "yes" )
./c/make/configure.in:RTEMS_ENABLE_SCI
./configure.in:RTEMS_ENABLE_SCI

---------------------------------------------------------------
salman ~/work/build>grep -ie sci ./makeall.log

checking whether BSP supports sci... yes
running /bin/sh ../../../../../rtems/c/src/make/configure  --target=i386-rtems --disable-posix --disable-itron --disable-networking --enable-sci --disable-tcpip --disable-cxx --prefix=/home/salman/work/rtems_build --with-target-subdir=i386-rtems --cache-file=.././config.cache --srcdir=../../../../../rtems/c/src/make
checking whether BSP supports sci... (cached) yes
running /bin/sh ../../../../../rtems/c/src/exec/configure  --target=i386-rtems --disable-posix --disable-itron --disable-networking --enable-sci --disable-tcpip --disable-cxx --prefix=/home/salman/work/rtems_build --with-target-subdir=i386-rtems --cache-file=.././config.cache --srcdir=../../../../../rtems/c/src/exec
running /bin/sh ../../../../../../../../rtems/c/src/exec/score/cpu/i386/configure  --target=i386-rtems --disable-posix --disable-itron --disable-networking --enable-sci --disable-tcpip --disable-cxx --prefix=/home/salman/work/rtems_build --with-target-subdir=i386-rtems --cache-file=../../../.././config.cache --srcdir=../../../../../../../../rtems/c/src/exec/score/cpu/i386
running /bin/sh ../../../../../rtems/c/src/lib/configure  --target=i386-rtems --disable-posix --disable-itron --disable-networking --enable-sci --disable-tcpip --disable-cxx --prefix=/home/salman/work/rtems_build --with-target-subdir=i386-rtems --cache-file=.././config.cache --srcdir=../../../../../rtems/c/src/lib
running /bin/sh ../../../../../../rtems/c/src/lib/libcpu/configure  --target=i386-rtems --disable-posix --disable-itron --disable-networking --enable-sci --disable-tcpip --disable-cxx --prefix=/home/salman/work/rtems_build --with-target-subdir=i386-rtems --cache-file=../.././config.cache --srcdir=../../../../../../rtems/c/src/lib/libcpu
running /bin/sh ../../../../../../../rtems/c/src/lib/libcpu/i386/configure  --target=i386-rtems --disable-posix --disable-itron --disable-networking --enable-sci --disable-tcpip --disable-cxx --prefix=/home/salman/work/rtems_build --with-target-subdir=i386-rtems --cache-file=../../.././config.cache --srcdir=../../../../../../../rtems/c/src/lib/libcpu/i386
running /bin/sh ../../../../../../rtems/c/src/lib/libbsp/configure  --target=i386-rtems --disable-posix --disable-itron --disable-networking --enable-sci --disable-tcpip --disable-cxx --prefix=/home/salman/work/rtems_build --with-target-subdir=i386-rtems --cache-file=../.././config.cache --srcdir=../../../../../../rtems/c/src/lib/libbsp
running /bin/sh ../../../../../../../rtems/c/src/lib/libbsp/i386/configure  --target=i386-rtems --disable-posix --disable-itron --disable-networking --enable-sci --disable-tcpip --disable-cxx --prefix=/home/salman/work/rtems_build --with-target-subdir=i386-rtems --cache-file=../../.././config.cache --srcdir=../../../../../../../rtems/c/src/lib/libbsp/i386
running /bin/sh ../../../../../../../../rtems/c/src/lib/libbsp/i386/pc386/configure  --target=i386-rtems --disable-posix --disable-itron --disable-networking --enable-sci --disable-tcpip --disable-cxx --prefix=/home/salman/work/rtems_build --with-target-subdir=i386-rtems --cache-file=../../../.././config.cache --srcdir=../../../../../../../../rtems/c/src/lib/libbsp/i386/pc386
creating sci/Makefile
running /bin/sh ../../../../../../../../../rtems/c/src/lib/libbsp/i386/pc386/tools/configure  --target=i386-rtems --disable-posix --disable-itron --disable-networking --enable-sci --disable-tcpip --disable-cxx --prefix=/home/salman/work/rtems_build --with-target-subdir=i386-rtems --cache-file=../../../../.././config.cache --srcdir=../../../../../../../../../rtems/c/src/lib/libbsp/i386/pc386/tools
running /bin/sh ../../../../../rtems/c/src/libmisc/configure  --target=i386-rtems --disable-posix --disable-itron --disable-networking --enable-sci --disable-tcpip --disable-cxx --prefix=/home/salman/work/rtems_build --with-target-subdir=i386-rtems --cache-file=.././config.cache --srcdir=../../../../../rtems/c/src/libmisc
running /bin/sh ../../../../../rtems/c/src/libchip/configure  --target=i386-rtems --disable-posix --disable-itron --disable-networking --enable-sci --disable-tcpip --disable-cxx --prefix=/home/salman/work/rtems_build --with-target-subdir=i386-rtems --cache-file=.././config.cache --srcdir=../../../../../rtems/c/src/libchip
running /bin/sh ../../../../../rtems/c/src/tests/configure  --target=i386-rtems --disable-posix --disable-itron --disable-networking --enable-sci --disable-tcpip --disable-cxx --prefix=/home/salman/work/rtems_build --with-target-subdir=i386-rtems --cache-file=.././config.cache --srcdir=../../../../../rtems/c/src/tests
running /bin/sh ../../../../../../rtems/c/src/tests/tools/configure  --target=i386-rtems --disable-posix --disable-itron --disable-networking --enable-sci --disable-tcpip --disable-cxx --prefix=/home/salman/work/rtems_build --with-target-subdir=i386-rtems --cache-file=../.././config.cache --srcdir=../../../../../../rtems/c/src/tests/tools
running /bin/sh ../../../../../../../rtems/c/src/tests/tools/generic/configure  --target=i386-rtems --disable-posix --disable-itron --disable-networking --enable-sci --disable-tcpip --disable-cxx --prefix=/home/salman/work/rtems_build --with-target-subdir=i386-rtems --cache-file=../../.././config.cache --srcdir=../../../../../../../rtems/c/src/tests/tools/generic
running /bin/sh ../../../../../../rtems/c/src/tests/support/configure  --target=i386-rtems --disable-posix --disable-itron --disable-networking --enable-sci --disable-tcpip --disable-cxx --prefix=/home/salman/work/rtems_build --with-target-subdir=i386-rtems --cache-file=../.././config.cache --srcdir=../../../../../../rtems/c/src/tests/support
running /bin/sh ../../../../../../rtems/c/src/tests/samples/configure  --target=i386-rtems --disable-posix --disable-itron --disable-networking --enable-sci --disable-tcpip --disable-cxx --prefix=/home/salman/work/rtems_build --with-target-subdir=i386-rtems --cache-file=../.././config.cache --srcdir=../../../../../../rtems/c/src/tests/samples
/bin/install -c -m 644 ../../../../../../rtems/c/src/lib/include/scidrv.h ../../../../../pc386/lib/include/scidrv.h
Making preinstall in sci
make[8]: Entering directory `/home/salman/work/build/i386-rtems/c/pc386/lib/libbsp/i386/pc386/sci'
make[8]: Leaving directory `/home/salman/work/build/i386-rtems/c/pc386/lib/libbsp/i386/pc386/sci'
Making all in sci
make[7]: Entering directory `/home/salman/work/build/i386-rtems/c/pc386/lib/libbsp/i386/pc386/sci'
make[7]: Leaving directory `/home/salman/work/build/i386-rtems/c/pc386/lib/libbsp/i386/pc386/sci'