aboutsummaryrefslogtreecommitdiffstats
path: root/include/package.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-01-13 03:21:25 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-01-13 03:21:25 +0000
commiteb1c4db03967f28efd280ecb869009e9fe9c9dab (patch)
treed622c36d667a9dba9c1dfac56b6adde613fc5814 /include/package.mk
parentef6e3e880fd696d029f69168581893883ec69f58 (diff)
downloadupstream-eb1c4db03967f28efd280ecb869009e9fe9c9dab.tar.gz
upstream-eb1c4db03967f28efd280ecb869009e9fe9c9dab.tar.bz2
upstream-eb1c4db03967f28efd280ecb869009e9fe9c9dab.zip
add support for an optional staging directory for debug binaries
SVN-Revision: 14018
Diffstat (limited to 'include/package.mk')
-rw-r--r--include/package.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/package.mk b/include/package.mk
index 4e31258305..04625d9b94 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -27,6 +27,7 @@ include $(INCLUDE_DIR)/quilt.mk
include $(INCLUDE_DIR)/package-defaults.mk
include $(INCLUDE_DIR)/package-dumpinfo.mk
include $(INCLUDE_DIR)/package-ipkg.mk
+include $(INCLUDE_DIR)/package-debug.mk
include $(INCLUDE_DIR)/package-bin.mk
include $(INCLUDE_DIR)/autotools.mk
@@ -146,7 +147,7 @@ endif
$(Dumpinfo), \
$(foreach target, \
$(if $(Package/$(1)/targets),$(Package/$(1)/targets), \
- $(if $(PKG_TARGETS),$(PKG_TARGETS), ipkg ) \
+ $(if $(PKG_TARGETS),$(PKG_TARGETS), ipkg $(if $(CONFIG_DEBUG_DIR),debug)) \
), $(BuildTarget/$(target)) \
) \
)