[Buildroot] [PATCH v5 5/7] package: Introduce package-specific BINFMT_FLAT options.
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Apr 16 21:31:23 UTC 2013
Dear Sonic Zhang,
On Fri, 12 Apr 2013 18:18:27 +0800, Sonic Zhang wrote:
> +ifeq ($(BR2_BINFMT_FLAT),y)
> +TARGET_LDFLAGS += $(if $($(PKG)_FLAT_STACKSIZE),-Wl$(comma)-elf2flt=-s$($(PKG)_FLAT_STACKSIZE))
> +endif
I haven't tested this, but it follows Arnout suggestion, and I find it
quite nice. It just lacks some documentation update, but I'm otherwise
fine with this patch.
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