[package] prevent rebuild issues on creation of lib64 with 64-bits targets
[openwrt.git] / include / package-debug.mk
1 #
2 # Copyright (C) 2006,2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 ifeq ($(DUMP),)
9 define BuildTarget/debug
10
11 DEBUG_STAMP_$(1) := $(DEBUG_DIR)/stamp/$(1)
12
13 ifdef Package/$(1)/install
14 ifneq ($(CONFIG_PACKAGE_$(1))$(SDK)$(DEVELOPER),)
15 compile: $$(DEBUG_STAMP_$(1))
16 endif
17 endif
18
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))
23
24
25 endef
26 endif
This page took 0.04425 seconds and 5 git commands to generate.