Switched from picking up the .rel for each subdirectory in the

BSP (BSP_PIECES) to picking up the .o files.  This should help
reduce the minimum size of an application.
This commit is contained in:
Joel Sherrill
1999-05-27 18:53:02 +00:00
parent 11cdbebd58
commit af84b96887
33 changed files with 33 additions and 33 deletions

View File

@@ -29,7 +29,7 @@ BSP_PIECES += shmsupp
endif
# bummer; have to use $foreach since % pattern subst rules only replace 1x
OBJS=$(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/$(piece).rel) \
OBJS=$(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
$(foreach piece, $(CPU_PIECES), \
../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel) \
$(foreach piece, $(GENERIC_PIECES), \