2006-06-27 00:35:46 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
2006-06-21 14:02:29 +00:00
|
|
|
|
2006-11-11 23:11:02 +00:00
|
|
|
include $(TMP_DIR)/.target.mk
|
2006-06-21 14:02:29 +00:00
|
|
|
|
2007-03-02 23:13:52 +00:00
|
|
|
define AddProfile
|
|
|
|
ifeq ($(CONFIG_LINUX_$(call confname,$(KERNEL)_$(1))),y)
|
|
|
|
PROFILE=$(1)
|
|
|
|
endif
|
|
|
|
endef
|
|
|
|
|
2007-01-10 21:52:28 +00:00
|
|
|
ifeq ($(IB),1)
|
|
|
|
$(TMP_DIR)/.target.mk: $(TOPDIR)/.target.mk
|
|
|
|
$(CP) $< $@
|
|
|
|
else
|
2006-12-18 18:28:38 +00:00
|
|
|
$(TMP_DIR)/.target.mk: $(TMP_DIR)/.targetinfo
|
2007-01-13 14:05:14 +00:00
|
|
|
$(SCRIPT_DIR)/metadata.pl target_mk < $(TMP_DIR)/.targetinfo > $@
|
2007-01-10 21:52:28 +00:00
|
|
|
endif
|
2006-06-21 14:02:29 +00:00
|
|
|
|