mk: simplify conditions for libs to link
authorKeith Wiles <keith.wiles@intel.com>
Thu, 14 May 2015 14:21:31 +0000 (09:21 -0500)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 14 May 2015 17:53:29 +0000 (19:53 +0200)
commit501a9459c2925585eda3107e5ab133dc7f234b89
treebf8d4c2423a5c55a5c5b72b8455a1e31cbb987ee
parent125fc85f549729d0625078661114813b2f1bf14e
mk: simplify conditions for libs to link

Simplify the ifdefs in rte.app.mk to make the code more
readable and maintainable by introducing a internal
_LDLIBS-y variable to build up the LDLIBS variable.

The new internal variable _LDLIBS-y should not be
used outside of the rte.app.mk file.

Signed-off-by: Keith Wiles <keith.wiles@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
mk/rte.app.mk