mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
0d445dad98
This is an artifact and is not needed. We have already set the information 'Maintainer:' in the '.packageinfo-*' files. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
59 lines
1.7 KiB
Makefile
59 lines
1.7 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Copyright (C) 2006-2020 OpenWrt.org
|
|
|
|
ifneq ($(DUMP),)
|
|
|
|
|
|
define SOURCE_INFO
|
|
$(if $(PKG_BUILD_DEPENDS),Build-Depends: $(PKG_BUILD_DEPENDS)
|
|
)$(if $(HOST_BUILD_DEPENDS),Build-Depends/host: $(HOST_BUILD_DEPENDS)
|
|
)$(if $(BUILD_TYPES),Build-Types: $(BUILD_TYPES)
|
|
)
|
|
|
|
endef
|
|
|
|
define Dumpinfo/Package
|
|
$(info $(SOURCE_INFO)Package: $(1)
|
|
$(if $(MENU),Menu: $(MENU)
|
|
)$(if $(SUBMENU),Submenu: $(SUBMENU)
|
|
)$(if $(SUBMENUDEP),Submenu-Depends: $(SUBMENUDEP)
|
|
)$(if $(DEFAULT),Default: $(DEFAULT)
|
|
)$(if $(findstring $(PREREQ_CHECK),1),Prereq-Check: 1
|
|
)Version: $(VERSION)
|
|
Depends: $(call PKG_FIXUP_DEPENDS,$(1),$(DEPENDS))
|
|
Conflicts: $(CONFLICTS)
|
|
Menu-Depends: $(MDEPENDS)
|
|
Provides: $(PROVIDES)
|
|
$(if $(VARIANT),Build-Variant: $(VARIANT)
|
|
$(if $(DEFAULT_VARIANT),Default-Variant: $(VARIANT)
|
|
))Section: $(SECTION)
|
|
Category: $(CATEGORY)
|
|
$(if $(filter nonshared,$(PKGFLAGS)),,Repository: $(if $(FEED),$(FEED),base)
|
|
)Title: $(TITLE)
|
|
Maintainer: $(MAINTAINER)
|
|
$(if $(USERID),Require-User: $(USERID)
|
|
)Source: $(PKG_SOURCE)
|
|
$(if $(LICENSE),License: $(LICENSE)
|
|
)$(if $(LICENSE_FILES),LicenseFiles: $(LICENSE_FILES)
|
|
)$(if $(PKG_CPE_ID),CPE-ID: $(PKG_CPE_ID)
|
|
)$(if $(URL),URL: $(URL)
|
|
)$(if $(ABI_VERSION),ABI-Version: $(ABI_VERSION)
|
|
)Type: $(if $(Package/$(1)/targets),$(Package/$(1)/targets),$(if $(PKG_TARGETS),$(PKG_TARGETS),ipkg))
|
|
$(if $(KCONFIG),Kernel-Config: $(KCONFIG)
|
|
)$(if $(BUILDONLY),Build-Only: $(BUILDONLY)
|
|
)$(if $(HIDDEN),Hidden: $(HIDDEN)
|
|
)Description: $(if $(Package/$(1)/description),$(Package/$(1)/description),$(TITLE))
|
|
@@
|
|
$(if $(Package/$(1)/config),Config:
|
|
$(Package/$(1)/config)
|
|
@@
|
|
))
|
|
SOURCE_INFO :=
|
|
endef
|
|
|
|
dumpinfo: FORCE
|
|
$(if $(SOURCE_INFO),$(info $(SOURCE_INFO)))
|
|
|
|
endif
|