com32: Per-object file LDFLAGS
authorMatt Fleming <matt.fleming@intel.com>
Wed, 13 Jun 2012 08:23:13 +0000 (09:23 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Wed, 20 Jun 2012 15:34:42 +0000 (16:34 +0100)
commitfb543aa635ff117187c73ce0ae3dccf8ffe32161
tree7be11edbcccb5e44ac621fe4f8bf54a1dbf3bb56
parent3e7446afe578dcad987076fdd340740d2c2f53d2
com32: Per-object file LDFLAGS

Some object files need to link against the ELF libraries. Allow them
to be specified with the following syntax in the Makefiles,

     LDFLAGS_$(object_file) = $(LIBS)

By adding libraries in this way DT_NEEDED entries are created in the
ELF modules and the required library dependencies are automatically
loaded before running the module.

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
com32/cmenu/Makefile
com32/hdt/Makefile
com32/modules/Makefile
com32/rosh/Makefile
com32/samples/Makefile
mk/elf.mk