readline: remove redundant BR2_PACKAGE_READLINE_HEADERS configuration
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 30 Jan 2009 09:50:02 +0000 (09:50 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 30 Jan 2009 09:50:02 +0000 (09:50 -0000)
Header files on target is globally controlled by BR2_HAVE_DEVFILES.

package/readline/Config.in
package/readline/readline.mk

index 6eafa6f8ce5bde62e0085c0d41e49fdf518d2956..4234e2ebdf503267192e6acfcd6ea78c9e2bbc4e 100644 (file)
@@ -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.
index 612275c33117aac1c7fcf82ad1280ab9fc00e5ae..910b0415095f5813d8d1be4f55f2bd0742015c01 100644 (file)
@@ -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