dynamically enable/disable kernel config options for kmod packages based on build...
[openwrt.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
9 define AddProfile
10 ifeq ($(CONFIG_LINUX_$(1)),y)
11 $(call Profile/$(1))
12 PROFILE=$$(ID)
13 endif
14 endef
15
16 include $(TMP_DIR)/.target.mk
17
18 ifeq ($(IB),1)
19 $(TMP_DIR)/.target.mk: $(TOPDIR)/.target.mk
20 $(CP) $< $@
21 else
22 $(TMP_DIR)/.target.mk: $(TMP_DIR)/.targetinfo
23 $(SCRIPT_DIR)/metadata.pl target_mk < $(TMP_DIR)/.targetinfo > $@
24 endif
25
This page took 0.046892 seconds and 5 git commands to generate.