Changeset 73dc152 in rtems
- Timestamp:
- 12/14/03 16:35:54 (19 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- dbb07c74
- Parents:
- 777db82f
- Location:
- c
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
c/ChangeLog
r777db82f r73dc152 1 2003-12-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 3 * Makefile.am: Remove RTEMS_BSP-subdir rule. 4 * configure.ac: Let AC_CONFIG_FILES(Makefile..) append explictit 5 rules for RTEMS_BSP-subdirs. 6 1 7 2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 8 -
c/Makefile.am
r777db82f r73dc152 14 14 SUBDIRS = . $(RTEMS_BSP) 15 15 16 ## Use @RTEMS_BSP_LIST@ here, using $(RTEMS_BSP_LIST) would trigger17 ## this rule for invalid BSPs18 @RTEMS_BSP_LIST@: src/configure19 @set fnord $(MAKEFLAGS); amf=$$2; \20 test -n "${RTEMS_BSP}" && for i in ${RTEMS_BSP}; do \21 echo "Configuring RTEMS_BSP=$$i"; \22 $(mkdir_p) $$i; \23 ( cd $$i && \24 CONFIG_SHELL=$(SHELL) RTEMS_BSP=$$i $(rtems_bsp_configure) ) \25 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \26 done27 28 16 ## Let all RTEMS' make targets depend on ${RTEMS_BSP} 29 17 all-local: ${RTEMS_BSP} … … 36 24 37 25 DIST_SUBDIRS = ${RTEMS_BSP} 38 ## -------------------------------------------------------39 26 40 27 include $(top_srcdir)/../automake/host.am -
c/configure.ac
r777db82f r73dc152 66 66 67 67 # Explicitly list all Makefiles here 68 AC_CONFIG_FILES([Makefile]) 68 AC_CONFIG_FILES([Makefile],[ 69 for bsp in : $RTEMS_BSP_LIST; do test "x$bsp" = x: && continue 70 cat >> Makefile << BSPEOF 71 72 $bsp: src/configure 73 @set fnord \$(MAKEFLAGS); amf=\[$]\[$]2; \\ 74 echo "Configuring RTEMS_BSP=$bsp"; \\ 75 \$(mkdir_p) $bsp; \\ 76 ( cd $bsp && \\ 77 CONFIG_SHELL=\$(SHELL) RTEMS_BSP=$bsp \$(rtems_bsp_configure) ) \\ 78 || case "\$\$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; 79 BSPEOF 80 done 81 ],[RTEMS_BSP_LIST="$RTEMS_BSP_LIST"]) 69 82 AC_OUTPUT 70 83
Note: See TracChangeset
for help on using the changeset viewer.