ar71xx: fix Arduino Yun enabling of level shifters outputs
[openwrt/openwrt.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 $(if $(ABI_VERSION),ABIVersion: $(ABI_VERSION)
28 )Depends: $(call PKG_FIXUP_DEPENDS,$(1),$(DEPENDS))
29 Conflicts: $(CONFLICTS)
30 Menu-Depends: $(MDEPENDS)
31 Provides: $(PROVIDES)
32 $(if $(VARIANT),Build-Variant: $(VARIANT)
33 $(if $(DEFAULT_VARIANT),Default-Variant: $(VARIANT)
34 ))Section: $(SECTION)
35 Category: $(CATEGORY)
36 $(if $(filter nonshared,$(PKGFLAGS)),,Repository: $(if $(FEED),$(FEED),base)
37 )Title: $(TITLE)
38 Maintainer: $(MAINTAINER)
39 $(if $(USERID),Require-User: $(USERID)
40 )Source: $(PKG_SOURCE)
41 $(if $(LICENSE),License: $(LICENSE)
42 )$(if $(LICENSE_FILES),LicenseFiles: $(LICENSE_FILES)
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 )$(if $(HIDDEN),Hidden: $(HIDDEN)
47 )Description: $(if $(Package/$(1)/description),$(Package/$(1)/description),$(TITLE))
48 $(if $(URL),$(URL)
49 )$(MAINTAINER)
50 @@
51 $(if $(Package/$(1)/config),Config:
52 $(Package/$(1)/config)
53 @@
54 ))
55 SOURCE_INFO :=
56 endef
57
58 dumpinfo: FORCE
59 $(if $(SOURCE_INFO),$(info $(SOURCE_INFO)))
60
61 endif