diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-10-03 22:42:52 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-10-03 22:42:52 +0200 |
commit | 58508f39cc9afba83adf230bdad5a38c8dca62a9 (patch) | |
tree | 83ea1766eb68a01ddd166f1e5b0469b7b1a56bbe /package/ncurses/ncurses.mk | |
parent | d1bce5051b7220ac14d5ba55ee6fb7fd96f62585 (diff) |
ncurses: remove dedicated target-headers option
Instead, simply only copy headers/static lib if BR2_HAVE_DEVFILES
is enabled.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/ncurses/ncurses.mk')
-rw-r--r-- | package/ncurses/ncurses.mk | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk index da2230a79..2c7bf79d2 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 |