[Buildroot] [PATCH 1/2] ncurses: convert to autotools infrastructure

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat May 1 11:06:51 UTC 2010


On Fri, 30 Apr 2010 02:42:07 +0200
llandwerlin at gmail.com wrote:

> -	#use the local tic and not whatever the build system was going to find.
> -	$(SED) 's~\$$srcdir/shlib tic\$$suffix~/usr/bin/tic~' \
> -		$(NCURSES_DIR)/misc/run_tic.in

Was this useless ?

> -$(NCURSES_DIR)/lib/libncurses.so.$(NCURSES_VERSION): $(NCURSES_DIR)/.configured
> -	$(MAKE1) DESTDIR=$(STAGING_DIR) -C $(NCURSES_DIR) \
> -		libs panel menu form headers

It looks like a non-parallel make was used to build ncurses. Does using
the default make works ?

> +define NCURSES_INSTALL_TARGET_CMDS
> +	mkdir -p $(TARGET_DIR)/usr/lib
> +	cp -dpf $(NCURSES_DIR)/lib/libncurses.so* $(TARGET_DIR)/usr/lib/
> +	$(NCURSES_INSTALL_TARGET_PANEL)
> +	$(NCURSES_INSTALL_TARGET_FORM)
> +	$(BR2_PACKAGE_NCURSES_TARGET_MENU)

This should be NCURSES_INSTALL_TARGET_MENU

Once this last point is fixed:
 Acked-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>

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