forked from Imagelibrary/rtems
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:
@@ -21,7 +21,7 @@ CPU_PIECES=reg_win
|
||||
GENERIC_PIECES=
|
||||
|
||||
# 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), \
|
||||
|
||||
Reference in New Issue
Block a user