summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-04-22 08:29:52 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-04-22 08:30:00 +0200
commit9de9cac2309ba5bddd9404e06ac7857181c88ddc (patch)
treefa1c9b25179dd00a7d365ecf4206c49b6268ff87
parent7d2126cac75f5dcfafd135551a7b872480706179 (diff)
fix debug builds
-rw-r--r--mk/package.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/package.mk b/mk/package.mk
index d61722989..8b99a78a6 100644
--- a/mk/package.mk
+++ b/mk/package.mk
@@ -179,7 +179,7 @@ $$(IDIR_$(1))/CONTROL/control: ${_PATCH_COOKIE}
@for file in conffiles preinst postinst prerm postrm; do \
[ ! -f ./files/$(2).$$$$file ] || cp ./files/$(2).$$$$file $$(IDIR_$(1))/CONTROL/$$$$file; \
done
-ifneq ($(ADK_DEBUG),y)
+ifeq ($(ADK_BUILD_WITH_DEBUG),y)
@echo "Package: $$(shell echo $(2) | tr '_' '-')-dbg" > $(WRKDIR)/.$(2)-dbg.control
@echo "Section: debug" >> $(WRKDIR)/.$(2)-dbg.control
@echo "Description: debugging symbols for $(2)" >> $(WRKDIR)/.$(2)-dbg.control
@@ -273,7 +273,7 @@ endif
ifeq (,$(filter devonly,$(7)))
$${PKG_BUILD} $${IDIR_$(1)} $${PACKAGE_DIR} $(MAKE_TRACE)
-ifneq ($(ADK_DEBUG),)
+ifneq ($(ADK_BUILD_WITH_DEBUG),)
$${PKG_BUILD} $${IDIR_$(1)_DBG} $${PACKAGE_DIR} $(MAKE_TRACE)
endif
endif