From: Eric Andersen Date: Wed, 29 May 2002 14:26:13 +0000 (-0000) Subject: Fixup the make install step X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2181513aee7abee047f39d2c98a3fb82f07a1cbf;p=buildroot.git Fixup the make install step --- diff --git a/make/ncurses.mk b/make/ncurses.mk index 6f564bbd3e..24fffd9129 100644 --- a/make/ncurses.mk +++ b/make/ncurses.mk @@ -5,7 +5,7 @@ # ############################################################# # Copyright (C) 2002 by Ken Restivo -# $Id: ncurses.mk,v 1.1 2002/05/23 19:21:23 andersen Exp $ +# $Id: ncurses.mk,v 1.2 2002/05/29 14:26:13 andersen Exp $ # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Library General Public License as @@ -57,7 +57,18 @@ $(NCURSES_DIR)/lib/libncurses.so: $(NCURSES_DIR)/Makefile $(STAGING_DIR)/lib/libncurses.so: $(NCURSES_DIR)/lib/libncurses.so @echo "==============installing ncurses into staging...." - make -C $(NCURSES_DIR) install DESTDIR=$(STAGING_DIR) + #make -C $(NCURSES_DIR) PREFIX=$(STAGING_DIR) install + $(STRIP) --strip-unneeded $(GDB_DIR)/gdb/gdb + cp -a $(NCURSES_DIR)/lib/libncurses.so* $(STAGING_DIR)/lib/ + cp -a $(NCURSES_DIR)/include/curses.h $(STAGING_DIR)/include/ + cp -a $(NCURSES_DIR)/include/eti.h $(STAGING_DIR)/include/ + cp -a $(NCURSES_DIR)/include/form.h $(STAGING_DIR)/include/ + cp -a $(NCURSES_DIR)/include/menu.h $(STAGING_DIR)/include/ + cp -a $(NCURSES_DIR)/include/panel.h $(STAGING_DIR)/include/ + cp -a $(NCURSES_DIR)/include/term.h $(STAGING_DIR)/include/ + cp -a $(NCURSES_DIR)/include/termcap.h $(STAGING_DIR)/include/ + cp -a $(NCURSES_DIR)/include/unctrl.h $(STAGING_DIR)/include/ + (cd $(STAGING_DIR)/include; ln -s curses.h ncurses.h) $(TARGET_DIR)/lib/libncurses.so: $(STAGING_DIR)/lib/libncurses.so @echo "==============installing ncurses into root dir...."