aboutsummaryrefslogtreecommitdiff
path: root/package/readline
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2009-01-30 09:50:13 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2009-01-30 09:50:13 +0000
commitebf47824cc4f9453508b35c60bbd254b16d895c2 (patch)
tree079229711c87ec0a59952c2fbb27246c65542c86 /package/readline
parent7eec8ea5604378e0f7b2f755bb0c42ec732a1c7a (diff)
downloadbuildroot-ebf47824cc4f9453508b35c60bbd254b16d895c2.tar.gz
buildroot-ebf47824cc4f9453508b35c60bbd254b16d895c2.tar.bz2
readline: remove BR2_PACKAGE_READLINE_TARGET configuration option
Other packages don't have this, and several packages are depending on readline where they actually want readline-target instead.
Diffstat (limited to 'package/readline')
-rw-r--r--package/readline/Config.in6
-rw-r--r--package/readline/readline.mk13
2 files changed, 3 insertions, 16 deletions
diff --git a/package/readline/Config.in b/package/readline/Config.in
index 4234e2ebdf..9ab61abc11 100644
--- a/package/readline/Config.in
+++ b/package/readline/Config.in
@@ -3,9 +3,3 @@ config BR2_READLINE
bool "readline"
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 on the target.
diff --git a/package/readline/readline.mk b/package/readline/readline.mk
index 910b041509..44b1a01b03 100644
--- a/package/readline/readline.mk
+++ b/package/readline/readline.mk
@@ -76,23 +76,16 @@ $(TARGET_DIR)/$(READLINE_TARGET_SHARED_BINARY): $(READLINE_DIR)/$(READLINE_BINAR
chmod 775 $(TARGET_DIR)/usr/lib/libreadline.so.$(READLINE_VERSION) $(TARGET_DIR)/usr/lib/libhistory.so.$(READLINE_VERSION)
$(STRIPCMD) $(TARGET_DIR)/usr/lib/libreadline.so.$(READLINE_VERSION) $(TARGET_DIR)/usr/lib/libhistory.so.$(READLINE_VERSION)
-readline: ncurses $(STAGING_DIR)/usr/include/readline/readline.h
+readline: ncurses $(STAGING_DIR)/usr/include/readline/readline.h $(TARGET_DIR)/$(READLINE_TARGET_SHARED_BINARY)
readline-clean:
- $(MAKE) -C $(READLINE_DIR) DESTDIR=$(STAGING_DIR) uninstall
+ -$(MAKE) -C $(READLINE_DIR) DESTDIR=$(STAGING_DIR) uninstall
+ -$(MAKE) -C $(READLINE_DIR) DESTDIR=$(TARGET_DIR) uninstall
-$(MAKE) -C $(READLINE_DIR) clean
readline-dirclean:
rm -rf $(READLINE_DIR)
-readline-target: readline $(TARGET_DIR)/$(READLINE_TARGET_SHARED_BINARY)
-
-readline-target-clean:
- -$(MAKE) DESTDIR=$(TARGET_DIR) -C $(READLINE_DIR) uninstall
-
ifeq ($(BR2_READLINE),y)
TARGETS+=readline
endif
-ifeq ($(BR2_PACKAGE_READLINE_TARGET),y)
-TARGETS+=readline-target
-endif