Also load compat_ioctl32 for V4L devices to load
[openwrt/svn-archive/archive.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