diff options
author | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2007-07-16 11:14:44 +0000 |
---|---|---|
committer | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2007-07-16 11:14:44 +0000 |
commit | ce01a666dc6027b6696442526fb0a217457a2a79 (patch) | |
tree | a941b1a0ca0976adb760bfd40f2cd912fa7af0ca /package/readline/readline.mk | |
parent | 21f3e48d6cd9a0e3c09929dab77190ced4a664a2 (diff) |
Avoid rebuilding 'readline-5.1'
Diffstat (limited to 'package/readline/readline.mk')
-rw-r--r-- | package/readline/readline.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/package/readline/readline.mk b/package/readline/readline.mk index 655543b23..fec297dcb 100644 --- a/package/readline/readline.mk +++ b/package/readline/readline.mk @@ -9,7 +9,9 @@ READLINE_SOURCE:=readline-$(READLINE_VERSION).tar.gz READLINE_DIR:=$(BUILD_DIR)/readline-$(READLINE_VERSION) READLINE_CAT:=$(ZCAT) READLINE_BINARY:=libhistory.a +READLINE_SHARED_BINARY:=libhistory.so READLINE_TARGET_BINARY:=lib/$(READLINE_BINARY) +READLINE_TARGET_SHARED_BINARY:=lib/$(READLINE_SHARED_BINARY) $(DL_DIR)/$(READLINE_SOURCE): $(WGET) -P $(DL_DIR) $(READLINE_SITE)/$(READLINE_SOURCE) @@ -48,6 +50,7 @@ $(READLINE_DIR)/.configured: $(READLINE_DIR)/.unpacked $(READLINE_DIR)/$(READLINE_BINARY): $(READLINE_DIR)/.configured $(MAKE) -C $(READLINE_DIR) + ls $(READLINE_DIR)/$(READLINE_BINARY) touch -c $@ $(STAGING_DIR)/$(READLINE_TARGET_BINARY): $(READLINE_DIR)/.configured @@ -61,7 +64,7 @@ $(STAGING_DIR)/usr/include/readline/readline.h: $(READLINE_DIR)/$(READLINE_BINAR touch -c $@ # Install to Target directory -$(TARGET_DIR)/$(READLINE_TARGET_BINARY): $(READLINE_DIR)/$(READLINE_BINARY) +$(TARGET_DIR)/$(READLINE_TARGET_SHARED_BINARY): $(READLINE_DIR)/$(READLINE_BINARY) # make sure we don't end up with lib{readline,history}...old $(MAKE1) DESTDIR=$(TARGET_DIR) -C $(READLINE_DIR) uninstall BUILD_CC=$(TARGET_CC) HOSTCC="$(HOSTCC)" CC=$(TARGET_CC) \ @@ -77,7 +80,7 @@ readline-clean: readline-dirclean: rm -rf $(READLINE_DIR) -readline-target: $(TARGET_DIR)/$(READLINE_TARGET_BINARY) +readline-target: $(TARGET_DIR)/$(READLINE_TARGET_SHARED_BINARY) readline-target-clean: $(MAKE1) DESTDIR=$(TARGET_DIR) -C $(READLINE_DIR) uninstall |