aboutsummaryrefslogtreecommitdiff
path: root/package/readline/readline.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/readline/readline.mk')
-rw-r--r--package/readline/readline.mk13
1 files changed, 3 insertions, 10 deletions
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