summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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