revert bogus target.mk change from [6465]
[openwrt-10.03/.git] / include / target.mk
1
2 # Copyright (C) 2006 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 include $(TMP_DIR)/.target.mk
9
10 ifeq ($(IB),1)
11 $(TMP_DIR)/.target.mk: $(TOPDIR)/.target.mk
12         $(CP) $< $@
13 else
14 $(TMP_DIR)/.target.mk: $(TMP_DIR)/.targetinfo
15         $(SCRIPT_DIR)/metadata.pl target_mk < $(TMP_DIR)/.targetinfo > $@
16 endif
17