Changeset 385b2e2 in rtems
- Timestamp:
- Feb 18, 2003, 12:58:44 PM (18 years ago)
- Children:
- f7276a9b
- Parents:
- a0d2c79a
- Location:
- cpukit
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/ChangeLog
ra0d2c79a r385b2e2 1 2003-02-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 3 * automake/local.am: Introduce depend-gcc. 4 Remove ${ARCH}. 5 * automake/compile.am: Remove GCCSPECS, GCC_SPECS, CONFIG.CC, CC, 6 CPP. Add ${ARCH}. depend-gcc. 7 * aclocal/prog-cc.m4: Set up RTEMS_CPPFLAGS. 8 * aclocal/env-rtemscpu.m4: Remove GCC_SPECS. 9 * aclocal/env-rtemsbsp.m4: Remove GCC_SPECS. 10 1 11 2003-02-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 12 -
cpukit/aclocal/env-rtemsbsp.m4
ra0d2c79a r385b2e2 35 35 AC_SUBST(RTEMS_ROOT) 36 36 37 GCC_SPECS="-isystem \$(PROJECT_INCLUDE)"38 AC_SUBST(GCC_SPECS)39 40 37 RTEMS_ENABLE_BARE 41 38 AC_SUBST(BARE_CPU_MODEL) -
cpukit/aclocal/env-rtemscpu.m4
ra0d2c79a r385b2e2 13 13 [MULTISUBDIR="/$with_multisubdir"]) 14 14 AC_SUBST(MULTISUBDIR) 15 16 GCC_SPECS="-isystem \$(PROJECT_INCLUDE)"17 AC_SUBST(GCC_SPECS)18 15 19 16 PROJECT_INCLUDE="\$(PROJECT_ROOT)/lib/include" -
cpukit/aclocal/prog-cc.m4
ra0d2c79a r385b2e2 36 36 RTEMS_CFLAGS="$RTEMS_CFLAGS -Wall" 37 37 m4_if([$1],,[],[RTEMS_CFLAGS="$RTEMS_CFLAGS $1"]) 38 RTEMS_CPPFLAGS="-isystem \$(PROJECT_INCLUDE)" 39 else 40 RTEMS_CPPFLAGS="-I\$(PROJECT_INCLUDE)" 38 41 fi 42 AC_SUBST(RTEMS_CPPFLAGS) 39 43 ]) -
cpukit/automake/compile.am
ra0d2c79a r385b2e2 41 41 ## cf. make.info ("Implicit rules/variables" for details) 42 42 43 if RTEMS_USE_GCC44 ## All the stuff below is specific to gcc45 ## gcc >= 2.8.x46 GCCSPECS = $(GCC_SPECS)47 else48 ## fall back to the old style compilers/*.cfg49 ## CONFIG.CC is supposed to be provided by <BSP>.cfg50 include $(CONFIG.CC)51 endif # RTEMS_USE_GCC52 53 43 DEFS = @DEFS@ 54 44 … … 88 78 # 89 79 80 if RTEMS_USE_GCC 90 81 ## HACK: Specific to gcc 91 82 ## FIXME: The approach below is known to be conceptionally broken. 92 depend- am: $(C_FILES) $(CC_FILES) $(S_FILES)83 depend-gcc: $(C_FILES) $(CC_FILES) $(S_FILES) 93 84 ## Use gcc -M to generate dependencies 94 85 ## Replace foo.$(OBJEXT) with $(ARCH)/foo.$(OBJEXT) … … 99 90 -e 's?$(ARCH)/?$$(ARCH)/?' >$(DEPEND).tmp 100 91 mv $(DEPEND).tmp $(DEPEND) 101 depend: depend-am102 92 103 93 # pull in dependencies if they exist … … 105 95 include ${DEPEND} 106 96 @ENDIF@ 97 endif 98 depend: depend-gcc 107 99 108 100 ## ------------------------------------------------------------------------- … … 127 119 ARCH__V = $(ARCH_OPTIMIZE_V) 128 120 ARCH = $(ARCH_$(VARIANT_V)_V) 121 122 ${ARCH}: 123 mkdir ${ARCH} 129 124 130 125 ## Setup the library suffix … … 159 154 160 155 ## ------------------------------------------------------------------------- 161 162 CC = @CC@ $(GCCSPECS)163 CPP = @CPP@ $(GCCSPECS)164 165 ##166 156 AM_CPPFLAGS = $(RTEMS_CPPFLAGS) 167 157 AM_CFLAGS = -
cpukit/automake/local.am
ra0d2c79a r385b2e2 21 21 .PHONY: preinstall preinstall-am 22 22 23 depend-am: 23 depend-am: depend-gcc 24 24 depend: depend-am 25 .PHONY: depend depend-am 26 27 ${ARCH}: 28 mkdir ${ARCH} 25 .PHONY: depend depend-am depend-gcc 29 26 30 27 clean-local:
Note: See TracChangeset
for help on using the changeset viewer.