b0a178e306d409319d0797fa11fe68c7edcc0a80
[openwrt-10.03/.git] / include / target.mk
1
2 # Copyright (C) 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 define AddProfile
9   ifeq ($(CONFIG_LINUX_$(1)),y)
10     $(call Profile/$(1))
11     PROFILE=$$(ID)
12   endif
13 endef
14
15 -include $(TMP_DIR)/.target.mk
16
17 ifeq ($(IB),1)
18 $(TMP_DIR)/.target.mk: $(TOPDIR)/.target.mk
19         $(CP) $< $@
20 endif
21