aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-01-30 09:50:13 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-01-30 09:50:13 +0000
commitebf47824cc4f9453508b35c60bbd254b16d895c2 (patch)
tree079229711c87ec0a59952c2fbb27246c65542c86
parent7eec8ea5604378e0f7b2f755bb0c42ec732a1c7a (diff)
downloadbuildroot-novena-ebf47824cc4f9453508b35c60bbd254b16d895c2.tar.gz
buildroot-novena-ebf47824cc4f9453508b35c60bbd254b16d895c2.zip
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.
-rw-r--r--package/database/sqlite/sqlite.mk2
-rw-r--r--package/python/python.mk2
-rw-r--r--package/readline/Config.in6
-rw-r--r--package/readline/readline.mk13
4 files changed, 5 insertions, 18 deletions
diff --git a/package/database/sqlite/sqlite.mk b/package/database/sqlite/sqlite.mk
index cd0169bfe..ff1d4d25b 100644
--- a/package/database/sqlite/sqlite.mk
+++ b/package/database/sqlite/sqlite.mk
@@ -55,7 +55,7 @@ $(TARGET_DIR)/usr/bin/sqlite3: $(STAGING_DIR)/usr/bin/sqlite3
cp -dpf $(STAGING_DIR)/usr/lib/libsqlite3*.so* $(TARGET_DIR)/usr/lib/
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libsqlite3.so
-sqlite: uclibc readline-target ncurses $(TARGET_DIR)/usr/bin/sqlite3
+sqlite: uclibc ncurses $(TARGET_DIR)/usr/bin/sqlite3
sqlite-source: $(DL_DIR)/$(SQLITE_SOURCE)
diff --git a/package/python/python.mk b/package/python/python.mk
index 3173ad0c4..6c85b1f88 100644
--- a/package/python/python.mk
+++ b/package/python/python.mk
@@ -17,7 +17,7 @@ PYTHON_SITE_PACKAGE_DIR=$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site
BR2_PYTHON_DISABLED_MODULES=dbm zipfile
ifeq ($(BR2_PACKAGE_PYTHON_READLINE),y)
-PYTHON_DEPS += readline-target
+PYTHON_DEPS += readline
else
BR2_PYTHON_DISABLED_MODULES += readline
endif
diff --git a/package/readline/Config.in b/package/readline/Config.in
index 4234e2ebd..9ab61abc1 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 910b04150..44b1a01b0 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