From: aldot at uclibc.org <aldot@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/readline
Date: Wed, 21 Mar 2007 01:04:20 -0700 (PDT) [thread overview]
Message-ID: <20070321080420.43B5B48073@busybox.net> (raw)
Author: aldot
Date: 2007-03-21 01:04:19 -0700 (Wed, 21 Mar 2007)
New Revision: 18190
Log:
- install target headers into the correct dir
- make sure not to create libwhatever...old cruft
Modified:
trunk/buildroot/package/readline/readline.mk
Changeset:
Modified: trunk/buildroot/package/readline/readline.mk
===================================================================
--- trunk/buildroot/package/readline/readline.mk 2007-03-21 04:13:14 UTC (rev 18189)
+++ trunk/buildroot/package/readline/readline.mk 2007-03-21 08:04:19 UTC (rev 18190)
@@ -20,7 +20,7 @@
mkdir -p $(READLINE_DIR)
tar -C $(BUILD_DIR) -zxf $(DL_DIR)/$(READLINE_SOURCE)
$(CONFIG_UPDATE) $(READLINE_DIR)
- touch $(READLINE_DIR)/.unpacked
+ touch $@
$(READLINE_DIR)/.configured: $(READLINE_DIR)/.unpacked
(cd $(READLINE_DIR); rm -rf config.cache; \
@@ -45,29 +45,30 @@
--mandir=/usr/man \
--infodir=/usr/info \
);
- touch $(READLINE_DIR)/.configured
+ touch $@
$(READLINE_DIR)/$(READLINE_BINARY): $(READLINE_DIR)/.configured
$(MAKE) -C $(READLINE_DIR)
- touch -c $(READLINE_DIR)/$(READLINE_BINARY)
+ touch -c $@
$(STAGING_DIR)/$(READLINE_TARGET_BINARY): $(READLINE_DIR)/.configured
$(MAKE) -C $(READLINE_DIR) install
- touch -c $(STAGING_DIR)/$(READLINE_TARGET_BINARY)
+ touch -c $@
# Install to Staging area
$(STAGING_DIR)/include/readline/readline.h: $(READLINE_DIR)/$(READLINE_BINARY)
BUILD_CC=$(TARGET_CC) HOSTCC="$(HOSTCC)" CC=$(TARGET_CC) \
- $(MAKE1) DESTDIR=$(STAGING_DIR) -C $(READLINE_DIR) install;
- touch -c $(STAGING_DIR)/include/readline/readline.h
+ $(MAKE1) DESTDIR=$(STAGING_DIR) -C $(READLINE_DIR) install
+ touch -c $@
-
# Install to Target directory
-$(TARGET_DIR)/include/readline/readline.h: $(READLINE_DIR)/$(READLINE_BINARY)
+$(TARGET_DIR)/$(READLINE_TARGET_BINARY): $(READLINE_DIR)/$(READLINE_BINARY)
+ # make sure we don't end up with lib{readline,hostory}...old
+ $(MAKE1) DESTDIR=$(TARGET_DIR) includedir=/usr/include \
+ -C $(READLINE_DIR) uninstall
BUILD_CC=$(TARGET_CC) HOSTCC="$(HOSTCC)" CC=$(TARGET_CC) \
- $(MAKE1) DESTDIR=$(TARGET_DIR) -C $(READLINE_DIR) install-shared \
- uninstall-doc
- touch -c $(TARGET_DIR)/include/readline/readline.h
+ $(MAKE1) DESTDIR=$(TARGET_DIR) includedir=/usr/include \
+ -C $(READLINE_DIR) install-shared uninstall-doc
readline: $(STAGING_DIR)/include/readline/readline.h
@@ -78,10 +79,11 @@
readline-dirclean:
rm -rf $(READLINE_DIR)
-readline-target: $(TARGET_DIR)/include/readline/readline.h
+readline-target: $(TARGET_DIR)/$(READLINE_TARGET_BINARY)
readline-target-clean:
- $(MAKE1) DESTDIR=$(TARGET_DIR) -C $(READLINE_DIR) uninstall
+ $(MAKE1) DESTDIR=$(TARGET_DIR) includedir=/usr/include \
+ -C $(READLINE_DIR) uninstall
ifeq ($(strip $(BR2_READLINE)),y)
TARGETS+=readline
next reply other threads:[~2007-03-21 8:04 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-21 8:04 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-20 17:50 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=20070321080420.43B5B48073@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