- add BR2_PREFER_STATIC_LIB config option to be able to select if we prefer to build static or dynamic libs/bins.

- depending on the BR2_GNU_BUILD_SUFFIX, set the respective EXEEXT, LIBEXT, SHREXT extensions for use on the target.
Thanks to Tom for suplying a diff which implements these.
This commit is contained in:
Bernhard Reutner-Fischer
2007-06-01 22:16:28 +00:00
parent 961229caf5
commit 3096f34d27
4 changed files with 56 additions and 3 deletions

View File

@@ -10,6 +10,12 @@ else
MULTILIB:=--disable-multilib
endif
ifeq ($(BR2_PREFER_STATIC_LIB),y)
PREFERRED_LIB_FLAGS:=--enable-static --disable-shared
else
PREFERRED_LIB_FLAGS:=--disable-static --enable-shared
endif
# FIXME -- this is temporary
OPTIMIZE_FOR_CPU=$(ARCH)