From 7eec8ea5604378e0f7b2f755bb0c42ec732a1c7a Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Fri, 30 Jan 2009 09:50:02 +0000 Subject: [PATCH] readline: remove redundant BR2_PACKAGE_READLINE_HEADERS configuration Header files on target is globally controlled by BR2_HAVE_DEVFILES. --- package/readline/Config.in | 7 ------- package/readline/readline.mk | 3 --- 2 files changed, 10 deletions(-) diff --git a/package/readline/Config.in b/package/readline/Config.in index 6eafa6f8ce..4234e2ebdf 100644 --- a/package/readline/Config.in +++ b/package/readline/Config.in @@ -9,10 +9,3 @@ config BR2_PACKAGE_READLINE_TARGET depends on BR2_READLINE help Say yes here to install the readline libraries on the target. - -config BR2_PACKAGE_READLINE_HEADERS - bool "readline headers for the target" - depends on BR2_PACKAGE_READLINE_TARGET - help - Say yes here to install the readline headers and documentation - on the target. diff --git a/package/readline/readline.mk b/package/readline/readline.mk index 612275c331..910b041509 100644 --- a/package/readline/readline.mk +++ b/package/readline/readline.mk @@ -75,9 +75,6 @@ $(TARGET_DIR)/$(READLINE_TARGET_SHARED_BINARY): $(READLINE_DIR)/$(READLINE_BINAR -C $(READLINE_DIR) install-shared uninstall-doc 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) -ifneq ($(BR2_PACKAGE_READLINE_HEADERS),y) - rm -rf $(TARGET_DIR)/usr/include/readline -endif readline: ncurses $(STAGING_DIR)/usr/include/readline/readline.h -- 2.30.2