[Buildroot] [git commit] mii-diag: link statically if configured to do so

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Jun 29 10:16:02 UTC 2012


Hello,

Le Wed, 27 Jun 2012 22:03:59 +0200,
Peter Korsgaard <jacmet at sunsite.dk> a écrit :

> +MII_DIAG_MAKE_OPT = $(TARGET_CONFIGURE_OPTS)
> +
> +ifeq ($(BR2_PREFER_STATIC_LIB),y)
> +MII_DIAG_MAKE_OPT += CFLAGS="$(TARGET_CFLAGS) -static"
> +endif

I am not fully sure I like this. Do we want to have the same stuff in
all packages, or should we think about doing this globally in some way?

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list