From: Peter Korsgaard Date: Sat, 3 Oct 2009 20:42:52 +0000 (+0200) Subject: ncurses: remove dedicated target-headers option X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=58508f39c;p=buildroot.git ncurses: remove dedicated target-headers option Instead, simply only copy headers/static lib if BR2_HAVE_DEVFILES is enabled. Signed-off-by: Peter Korsgaard --- diff --git a/package/ncurses/Config.in b/package/ncurses/Config.in index bfbd139734..d80f5733d4 100644 --- a/package/ncurses/Config.in +++ b/package/ncurses/Config.in @@ -23,9 +23,3 @@ config BR2_PACKAGE_NCURSES_TARGET_MENU depends on BR2_PACKAGE_NCURSES help Includes ncurses dynamic libmenu in target - -config BR2_PACKAGE_NCURSES_TARGET_HEADERS - bool "ncurses headers in target" - depends on BR2_PACKAGE_NCURSES - help - Ncurses headers in target diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk index da2230a79c..2c7bf79d24 100644 --- a/package/ncurses/ncurses.mk +++ b/package/ncurses/ncurses.mk @@ -152,12 +152,11 @@ $(TARGET_DIR)/usr/lib/libncurses.a: $(NCURSES_DIR)/lib/libncurses.a -$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libncurses.so.$(NCURSES_VERSION) touch -c $@ -ncurses: $(TARGET_DIR)/usr/lib/libncurses.so.$(NCURSES_VERSION) +ncurses: $(TARGET_DIR)/usr/lib/libncurses.so.$(NCURSES_VERSION) \ + $(if $(BR2_HAVE_DEVFILES),$(TARGET_DIR)/usr/lib/libncurses.a) ncurses-unpacked: $(NCURSES_DIR)/.patched -ncurses-headers: $(TARGET_DIR)/usr/lib/libncurses.a - ncurses-source: $(DL_DIR)/$(NCURSES_SOURCE) ncurses-clean: @@ -178,6 +177,3 @@ ncurses-dirclean: ifeq ($(BR2_PACKAGE_NCURSES),y) TARGETS+=ncurses endif -ifeq ($(BR2_PACKAGE_NCURSES_TARGET_HEADERS),y) -TARGETS+=ncurses-headers -endif