[Buildroot] [PATCH V2 1/2] tcl: add support for static builds

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Mar 7 13:42:33 UTC 2015

Dear Vicente Olivert Riera,

On Sat, 7 Mar 2015 13:22:41 +0000, Vicente Olivert Riera wrote:

> +ifeq ($(BR2_STATIC_LIBS),y)
> +# Do not build tclsh with dynamic loading support when building it
> +# statically because it needs dlopen() and friends.
> +TCL_CONF_OPTS += --disable-load
> +# Also, build only the binaries and libraries and don't build the
> +# 'packages' because they are shared objects which are intended to be
> +# loaded dynamically.
> +TCL_MAKE_OPTS = binaries libraries
> +TCL_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install-binaries install-libraries
> +endif

But, if we don't build the 'packages', is the tcl stuff still useful?

Best regards,

Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering

More information about the buildroot mailing list