diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-04-13 01:44:42 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-04-13 01:44:42 +0000 |
commit | 680545fb4249c9cb26806b3f6cce3f70e9e3db53 (patch) | |
tree | 838241ef784acec7c5bcc4c889fa2db297af5b37 /include/makeinclude/Makefile.rtems | |
parent | 5c5ad76c14d14d01a590353e0222b48f88455648 (diff) | |
download | ATCD-680545fb4249c9cb26806b3f6cce3f70e9e3db53.tar.gz |
ChangeLogTag:Thu Apr 12 20:36:30 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
Diffstat (limited to 'include/makeinclude/Makefile.rtems')
-rw-r--r-- | include/makeinclude/Makefile.rtems | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/include/makeinclude/Makefile.rtems b/include/makeinclude/Makefile.rtems index e6273953e60..39a44334129 100644 --- a/include/makeinclude/Makefile.rtems +++ b/include/makeinclude/Makefile.rtems @@ -1,25 +1,31 @@ -# Makefile +# $id: Makefile $ +#export RTEMS_MAKEFILE_PATH=/opt/rtems/sparc-rtems/erc32/ include $(RTEMS_MAKEFILE_PATH)/Makefile.inc include $(RTEMS_CUSTOM) include $(PROJECT_ROOT)/make/leaf.cfg + print_cxx: - @echo sparc-rtems-g++ + @echo "$(CXX)" print_cc: - @echo sparc-rtems-gcc + @echo "$(CC_FOR_TARGET)" print_cflags: - @echo -B/opt/rtems/sparc-rtems/erc32/lib/ -specs bsp_specs -qrtems -mcpu=cypress + @echo "$(GCCSPECS) $(CPU_CFLAGS)" print_prefix: - @echo /opt/rtems + @echo $(prefix) print_target: - @echo sparc-rtems + @echo $(NM_FOR_TARGET:%nm=%) is_big_endian: t=`echo "#include <rtems.h>" | \ - sparc-rtems-gcc -B/opt/rtems/sparc-rtems/erc32/lib/ -specs bsp_specs -qrtems -mcpu=cypress -E -dM - | \ + $(CC_FOR_TARGET) $(GCCSPECS) $(CPU_CFLAGS) -E -dM - | \ grep CPU_BIG_ENDIAN | cut -d' ' -f3` ; echo $$t + +rtems_init.o: rtems_init.c + $(CC_FOR_TARGET) $(GCCSPECS) $(CPU_CFLAGS) -c rtems_init.c + |