remove silly echoing
This commit is contained in:
parent
50c50af468
commit
8461e82560
@ -5,7 +5,7 @@
|
||||
#
|
||||
#############################################################
|
||||
# Copyright (C) 2002 by Ken Restivo <ken@246gt.com>
|
||||
# $Id: ncurses.mk,v 1.2 2002/05/29 14:26:13 andersen Exp $
|
||||
# $Id: ncurses.mk,v 1.3 2002/05/31 10:45:43 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
|
||||
@ -28,11 +28,9 @@ NCURSES_DIR:=$(BUILD_DIR)/ncurses-5.2
|
||||
NCURSES_SOURCE:=ncurses-5.2.tar.gz
|
||||
|
||||
$(DL_DIR)/$(NCURSES_SOURCE):
|
||||
@echo "==============downloading ncurses...."
|
||||
wget -P $(DL_DIR) --passive-ftp $(NCURSES_SITE)/$(NCURSES_SOURCE)
|
||||
|
||||
$(NCURSES_DIR)/.dist: $(DL_DIR)/$(NCURSES_SOURCE)
|
||||
@echo "==============untarring and patching ncurses...."
|
||||
gunzip -c $(DL_DIR)/$(NCURSES_SOURCE) | tar -C $(BUILD_DIR) -xvf -
|
||||
#use the local tic and not whatever the build system was going to find.
|
||||
perl -i -p -e 's~\$$srcdir/shlib tic\$$suffix~/usr/bin/tic~' \
|
||||
@ -40,7 +38,6 @@ $(NCURSES_DIR)/.dist: $(DL_DIR)/$(NCURSES_SOURCE)
|
||||
touch $(NCURSES_DIR)/.dist
|
||||
|
||||
$(NCURSES_DIR)/Makefile: $(NCURSES_DIR)/.dist
|
||||
@echo "==============configuring ncurses...."
|
||||
(cd ${NCURSES_DIR}; \
|
||||
export PATH="${TARGET_PATH}"; \
|
||||
./configure --with-shared --prefix=/usr --target=arm-linux \
|
||||
@ -50,14 +47,11 @@ $(NCURSES_DIR)/Makefile: $(NCURSES_DIR)/.dist
|
||||
|
||||
|
||||
$(NCURSES_DIR)/lib/libncurses.so: $(NCURSES_DIR)/Makefile
|
||||
@echo "==============making ncurses...."
|
||||
make -C $(NCURSES_DIR) DESTDIR=$(STAGING_DIR) \
|
||||
CC="${TARGET_CC}" LD="${TARGET_LD}" AS="${TARGET_AS}" \
|
||||
BUILD_CC=/usr/bin/gcc
|
||||
|
||||
$(STAGING_DIR)/lib/libncurses.so: $(NCURSES_DIR)/lib/libncurses.so
|
||||
@echo "==============installing ncurses into staging...."
|
||||
#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/
|
||||
@ -71,7 +65,6 @@ $(STAGING_DIR)/lib/libncurses.so: $(NCURSES_DIR)/lib/libncurses.so
|
||||
(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...."
|
||||
cp -a $(STAGING_DIR)/lib/libncurses.so* $(TARGET_DIR)/lib/
|
||||
cp -a $(STAGING_DIR)/usr/share/tabset $(TARGET_DIR)/usr/share/
|
||||
cp -a $(STAGING_DIR)/usr/lib/terminfo $(TARGET_DIR)/usr/lib/
|
||||
@ -82,17 +75,13 @@ $(TARGET_DIR)/lib/libncurses.so: $(STAGING_DIR)/lib/libncurses.so
|
||||
done
|
||||
|
||||
ncurses-clean:
|
||||
@echo "==============cleaning ncurses...."
|
||||
rm -f $(STAGING_DIR)/lib/libncurses.so* $(TARGET_DIR)/lib/libncurses.so*
|
||||
rm -f $(STAGING_DIR)/usr/share/tabset $(TARGET_DIR)/usr/share/tabset
|
||||
rm -f $(STAGING_DIR)/usr/share/terminfo $(TARGET_DIR)/usr/share/terminfo
|
||||
make -C $(NCURSES_DIR) clean
|
||||
|
||||
ncurses-dirclean:
|
||||
@echo "==============cleaning ncurses...."
|
||||
rm -rf $(NCURSES_DIR)
|
||||
|
||||
ncurses: $(TARGET_DIR)/lib/libncurses.so
|
||||
|
||||
#EOF
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user