2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
12 define Config
/template
15 Preconfig-Default
: $(3)
21 Preconfig
/$(1) = $$(call Config
/template
,$(1),$(2),$(3),$(4))
22 preconfig_
$$(1) += $(1)
27 $(if
$(MENU
),Menu
: $(MENU
)
28 )$(if
$(SUBMENU
),Submenu
: $(SUBMENU
)
29 )$(if
$(SUBMENUDEP
),Submenu-Depends
: $(SUBMENUDEP
)
30 )$(if
$(DEFAULT
),Default
: $(DEFAULT
)
31 )$(if
$(findstring $(PREREQ_CHECK
),1),Prereq-Check
: 1
35 $(if
$(PKG_BUILD_DEPENDS
),Build-Depends
: $(PKG_BUILD_DEPENDS
)
36 )$(if
$(HOST_BUILD_DEPENDS
),Build-Depends
/host
: $(HOST_BUILD_DEPENDS
)
37 )$(if
$(BUILD_TYPES
),Build-Types
: $(BUILD_TYPES
)
41 Maintainer
: $(MAINTAINER
)
43 Type
: $(if
$(Package
/$(1)/targets
),$(Package
/$(1)/targets
),$(if
$(PKG_TARGETS
),$(PKG_TARGETS
),ipkg
))
44 $(if
$(KCONFIG
),Kernel-Config
: $(KCONFIG
)
45 )$(if
$(BUILDONLY
),Build-Only
: $(BUILDONLY
)
46 )Description
: $(if
$(Package
/$(1)/description
),$(Package
/$(1)/description
),$(TITLE
))
49 $(if
$(Package
/$(1)/config
),Config
:
50 $(Package
/$(1)/config
)
52 )$(foreach pc,$(preconfig_
$(1)),
This page took 0.043663 seconds and 5 git commands to generate.