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.
10 preconfig_
$$(1) += echo
"Preconfig: $(1)"; echo
"Preconfig-Type: $(2)"; echo
"Preconfig-Default: $(3)"; echo
"Preconfig-Label: $(4)";
14 dumpinfo
: dumpinfo-
$(1)
15 .SILENT
: dumpinfo-
$(1)
17 @echo
"Package: $(1)" ; \
18 $(if
$(MENU
),echo
"Menu: $(MENU)";) \
19 $(if
$(SUBMENU
),echo
"Submenu: $(SUBMENU)";) \
20 $(if
$(SUBMENUDEP
),echo
"Submenu-Depends: $(SUBMENUDEP)";) \
21 $(if
$(DEFAULT
),echo
"Default: $(DEFAULT)";) \
22 if
[ "$$$$PREREQ_CHECK" = 1 ]; then echo
"Prereq-Check: 1"; fi
; \
23 echo
"Version: $(VERSION)"; \
24 echo
"Depends: $(DEPENDS)"; \
25 echo
"Provides: $(PROVIDES)"; \
26 echo
"Build-Depends: $(PKG_BUILD_DEPENDS)"; \
27 echo
"Section: $(SECTION)"; \
28 echo
"Category: $(CATEGORY)"; \
29 echo
"Title: $(TITLE)"; \
30 echo
"Maintainer: $(MAINTAINER)"; \
31 echo
"Type: $(if $(Package/$(1)/targets),$(Package/$(1)/targets),$(if $(PKG_TARGETS),$(PKG_TARGETS),ipkg))"; \
32 $(if
$(KCONFIG
),echo
"Kernel-Config: $(KCONFIG)";) \
33 echo
-n
"Description: "; \
34 getvar
$(call shvar
,Package
/$(1)/description
); \
35 $(if
$(URL
),echo
;echo
"$(URL)";) \
37 $$(if
$$(Package
/$(1)/config
),echo
"Config: "; getvar
$(call shvar
,Package
/$(1)/config
); echo
"@@"; ) \
38 $$(if
$$(preconfig_
$(1)),$$(preconfig_
$(1)) echo
"")
This page took 0.044343 seconds and 5 git commands to generate.