]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
package/ncurses: Remove duplicated library install code
authorJeremy Kerr <jk@ozlabs.org>
Wed, 12 Mar 2014 03:54:05 +0000 (11:54 +0800)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 23 Mar 2014 22:23:48 +0000 (23:23 +0100)
commit16bfc11df4caff46e39aaf013c1952c400edab1b
tree1a0bb5b88ed89ab4465d6f69388cc5bc5bcfdd3a
parenta1a86ebfbad1bcce471376ae74e42304553e725e
package/ncurses: Remove duplicated library install code

Currently, the ncurses package conditionally defines macros to install
the panel, form and menu libraries. This means we duplicate the install
step for each library type.

Rather than defining a set of macros, this change introduces a variable
for the set of installed libraries, $(NCURSES_LIBS-y). We use this in a
single macro to perform the library installation in one place.

Based on a change suggested by Thomas Petazzoni
<thomas.petazzoni@free-electrons.com>.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/ncurses/ncurses.mk