From: aldot at uclibc.org <aldot@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/readline
Date: Tue, 20 Mar 2007 10:50:23 -0700 (PDT) [thread overview]
Message-ID: <20070320175023.093F74809B@busybox.net> (raw)
Author: aldot
Date: 2007-03-20 10:50:23 -0700 (Tue, 20 Mar 2007)
New Revision: 18183
Log:
- provide means to install readline into the target. Closes #968
Modified:
trunk/buildroot/package/readline/Config.in
trunk/buildroot/package/readline/readline.mk
Changeset:
Modified: trunk/buildroot/package/readline/Config.in
===================================================================
--- trunk/buildroot/package/readline/Config.in 2007-03-20 17:21:35 UTC (rev 18182)
+++ trunk/buildroot/package/readline/Config.in 2007-03-20 17:50:23 UTC (rev 18183)
@@ -5,3 +5,9 @@
help
Enable GNU readline support?
+config BR2_PACKAGE_READLINE_TARGET
+ bool "readline for the target"
+ depends on BR2_READLINE
+ help
+ Say yes here to install the readline libraries and headers
+ on the target.
Modified: trunk/buildroot/package/readline/readline.mk
===================================================================
--- trunk/buildroot/package/readline/readline.mk 2007-03-20 17:21:35 UTC (rev 18182)
+++ trunk/buildroot/package/readline/readline.mk 2007-03-20 17:50:23 UTC (rev 18183)
@@ -14,6 +14,8 @@
$(DL_DIR)/$(READLINE_SOURCE):
$(WGET) -P $(DL_DIR) $(READLINE_SITE)/$(READLINE_SOURCE)
+readline-source: $(DL_DIR)/$(READLINE_SOURCE)
+
$(READLINE_DIR)/.unpacked: $(DL_DIR)/$(READLINE_SOURCE)
mkdir -p $(READLINE_DIR)
tar -C $(BUILD_DIR) -zxf $(DL_DIR)/$(READLINE_SOURCE)
@@ -22,6 +24,7 @@
$(READLINE_DIR)/.configured: $(READLINE_DIR)/.unpacked
(cd $(READLINE_DIR); rm -rf config.cache; \
+ bash_cv_func_sigsetjmp=yes \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
@@ -59,16 +62,15 @@
touch -c $(STAGING_DIR)/include/readline/readline.h
-# Install only run-time to Target directory
+# Install to Target directory
$(TARGET_DIR)/include/readline/readline.h: $(READLINE_DIR)/$(READLINE_BINARY)
BUILD_CC=$(TARGET_CC) HOSTCC="$(HOSTCC)" CC=$(TARGET_CC) \
- $(MAKE1) DESTDIR=$(TARGET_DIR) -C $(READLINE_DIR) install-shared
+ $(MAKE1) DESTDIR=$(TARGET_DIR) -C $(READLINE_DIR) install-shared \
+ uninstall-doc
touch -c $(TARGET_DIR)/include/readline/readline.h
readline: $(STAGING_DIR)/include/readline/readline.h
-readline-target: $(TARGET_DIR)/include/readline/readline.h
-
readline-clean:
$(MAKE) -C $(READLINE_DIR) uninstall
-$(MAKE) -C $(READLINE_DIR) clean
@@ -76,8 +78,11 @@
readline-dirclean:
rm -rf $(READLINE_DIR)
-readline-source: $(DL_DIR)/$(READLINE_SOURCE)
+readline-target: $(TARGET_DIR)/include/readline/readline.h
+readline-target-clean:
+ $(MAKE1) DESTDIR=$(TARGET_DIR) -C $(READLINE_DIR) uninstall
+
ifeq ($(strip $(BR2_READLINE)),y)
TARGETS+=readline
endif
next reply other threads:[~2007-03-20 17:50 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-20 17:50 aldot at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-01-30 9:50 [Buildroot] svn commit: trunk/buildroot/package/readline jacmet at uclibc.org
2008-03-31 14:32 jacmet at uclibc.org
2008-03-06 18:22 ninevoltz at uclibc.org
2008-03-06 23:59 ` Hamish Moffatt
2008-02-06 1:26 hamish at uclibc.org
2008-02-06 1:26 hamish at uclibc.org
2007-10-13 23:11 ulf at uclibc.org
2007-09-23 9:53 ulf at uclibc.org
2007-09-23 11:14 ` Bernhard Fischer
2007-07-16 11:14 ulf at uclibc.org
2007-04-06 16:32 aldot at uclibc.org
2007-03-21 8:04 aldot at uclibc.org
2007-01-28 13:34 aldot at uclibc.org
2006-09-26 15:56 jacmet at uclibc.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070320175023.093F74809B@busybox.net \
--to=aldot@uclibc.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox