2 # Copyright (C) 2006,2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 define BuildTarget/debug
11 DEBUG_STAMP_$(1) := $(DEBUG_DIR)/stamp/$(1)
13 ifdef Package/$(1)/install
14 ifneq ($(CONFIG_PACKAGE_$(1))$(SDK)$(DEVELOPER),)
15 compile: $$(DEBUG_STAMP_$(1))
19 $$(DEBUG_STAMP_$(1)): $(PKG_BUILD_DIR)/.built
20 mkdir -p $(DEBUG_DIR)/stamp
21 $(call Package/$(1)/install,$(DEBUG_DIR))
22 touch $$(DEBUG_STAMP_$(1))