kernel: bump 4.9 to 4.9.106
[openwrt/staging/wigyori.git] / include / package-dumpinfo.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 ifneq ($(DUMP),)
9
10
11 define SOURCE_INFO
12 $(if $(PKG_BUILD_DEPENDS),Build-Depends: $(PKG_BUILD_DEPENDS)
13 )$(if $(HOST_BUILD_DEPENDS),Build-Depends/host: $(HOST_BUILD_DEPENDS)
14 )$(if $(BUILD_TYPES),Build-Types: $(BUILD_TYPES)
15 )
16
17 endef
18
19 define Dumpinfo/Package
20 $(info $(SOURCE_INFO)Package: $(1)
21 $(if $(MENU),Menu: $(MENU)
22 )$(if $(SUBMENU),Submenu: $(SUBMENU)
23 )$(if $(SUBMENUDEP),Submenu-Depends: $(SUBMENUDEP)
24 )$(if $(DEFAULT),Default: $(DEFAULT)
25 )$(if $(findstring $(PREREQ_CHECK),1),Prereq-Check: 1
26 )Version: $(VERSION)
27 Depends: $(call PKG_FIXUP_DEPENDS,$(1),$(DEPENDS))
28 Conflicts: $(CONFLICTS)
29 Menu-Depends: $(MDEPENDS)
30 Provides: $(PROVIDES)
31 $(if $(VARIANT),Build-Variant: $(VARIANT)
32 $(if $(DEFAULT_VARIANT),Default-Variant: $(VARIANT)
33 ))Section: $(SECTION)
34 Category: $(CATEGORY)
35 $(if $(filter nonshared,$(PKGFLAGS)),,Repository: $(if $(FEED),$(FEED),base)
36 )Title: $(TITLE)
37 Maintainer: $(MAINTAINER)
38 $(if $(USERID),Require-User: $(USERID)
39 )Source: $(PKG_SOURCE)
40 $(if $(LICENSE),License: $(LICENSE)
41 )$(if $(LICENSE_FILES),LicenseFiles: $(LICENSE_FILES)
42 )Type: $(if $(Package/$(1)/targets),$(Package/$(1)/targets),$(if $(PKG_TARGETS),$(PKG_TARGETS),ipkg))
43 $(if $(KCONFIG),Kernel-Config: $(KCONFIG)
44 )$(if $(BUILDONLY),Build-Only: $(BUILDONLY)
45 )$(if $(HIDDEN),Hidden: $(HIDDEN)
46 )Description: $(if $(Package/$(1)/description),$(Package/$(1)/description),$(TITLE))
47 $(if $(URL),$(URL)
48 )$(MAINTAINER)
49 @@
50 $(if $(Package/$(1)/config),Config:
51 $(Package/$(1)/config)
52 @@
53 ))
54 SOURCE_INFO :=
55 endef
56
57 dumpinfo: FORCE
58 $(if $(SOURCE_INFO),$(info $(SOURCE_INFO)))
59
60 endif