summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-02-24 23:43:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-02-24 23:43:05 +0000
commit15fecc9e6c2df765a148b3ceee46c4dbb12e1392 (patch)
treebaed0f5be3ecc303950aa5b17d578f53f5d1f936 /include
parent001736d84888e2fc0c682c6cb36a4ec6fb9096f6 (diff)
downloadmtk-20170518-15fecc9e6c2df765a148b3ceee46c4dbb12e1392.zip
mtk-20170518-15fecc9e6c2df765a148b3ceee46c4dbb12e1392.tar.gz
mtk-20170518-15fecc9e6c2df765a148b3ceee46c4dbb12e1392.tar.bz2
remove support for DEBUG_DIR, it has lost its purpose since STAGING_DIR_ROOT was added
SVN-Revision: 19849
Diffstat (limited to 'include')
-rw-r--r--include/package-debug.mk26
-rw-r--r--include/package.mk3
2 files changed, 1 insertions, 28 deletions
diff --git a/include/package-debug.mk b/include/package-debug.mk
deleted file mode 100644
index 2a85bfe..0000000
--- a/include/package-debug.mk
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-# Copyright (C) 2006,2007 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-ifeq ($(DUMP),)
- define BuildTarget/debug
-
- DEBUG_STAMP_$(1) := $(DEBUG_DIR)/stamp/$(1)
-
- ifdef Package/$(1)/install
- ifneq ($(CONFIG_PACKAGE_$(1))$(SDK)$(DEVELOPER),)
- compile: $$(DEBUG_STAMP_$(1))
- endif
- endif
-
- $$(DEBUG_STAMP_$(1)): $(PKG_BUILD_DIR)/.built
- mkdir -p $(DEBUG_DIR)/stamp
- $(call Package/$(1)/install,$(DEBUG_DIR))
- touch $$(DEBUG_STAMP_$(1))
-
-
- endef
-endif
diff --git a/include/package.mk b/include/package.mk
index 90aa51c..f48c790 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -26,7 +26,6 @@ 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
@@ -179,7 +178,7 @@ endif
$(Dumpinfo/Package), \
$(foreach target, \
$(if $(Package/$(1)/targets),$(Package/$(1)/targets), \
- $(if $(PKG_TARGETS),$(PKG_TARGETS), ipkg $(if $(CONFIG_DEBUG_DIR),debug)) \
+ $(if $(PKG_TARGETS),$(PKG_TARGETS), ipkg) \
), $(BuildTarget/$(target)) \
) \
)