1 # SPDX-License-Identifier: GPL-2.0-only
3 # Copyright (C) 2006-2020 OpenWrt.org
9 $(if
$(PKG_BUILD_DEPENDS
),Build-Depends
: $(PKG_BUILD_DEPENDS
)
10 )$(if
$(HOST_BUILD_DEPENDS
),Build-Depends
/host
: $(HOST_BUILD_DEPENDS
)
11 )$(if
$(BUILD_TYPES
),Build-Types
: $(BUILD_TYPES
)
16 define Dumpinfo
/Package
17 $(info $(SOURCE_INFO
)Package
: $(1)
18 $(if
$(MENU
),Menu
: $(MENU
)
19 )$(if
$(SUBMENU
),Submenu
: $(SUBMENU
)
20 )$(if
$(SUBMENUDEP
),Submenu-Depends
: $(SUBMENUDEP
)
21 )$(if
$(DEFAULT
),Default
: $(DEFAULT
)
22 )$(if
$(findstring $(PREREQ_CHECK
),1),Prereq-Check
: 1
24 Depends
: $(call PKG_FIXUP_DEPENDS
,$(1),$(DEPENDS
))
25 Conflicts
: $(CONFLICTS
)
26 Menu-Depends
: $(MDEPENDS
)
28 $(if
$(VARIANT
),Build-Variant
: $(VARIANT
)
29 $(if
$(DEFAULT_VARIANT
),Default-Variant
: $(VARIANT
)
32 $(if
$(filter nonshared
,$(PKGFLAGS
)),,Repository
: $(if
$(FEED
),$(FEED
),base
)
34 Maintainer
: $(MAINTAINER
)
35 $(if
$(USERID
),Require-User
: $(USERID
)
36 )Source
: $(PKG_SOURCE
)
37 $(if
$(LICENSE
),License
: $(LICENSE
)
38 )$(if
$(LICENSE_FILES
),LicenseFiles
: $(LICENSE_FILES
)
39 )Type
: $(if
$(Package
/$(1)/targets
),$(Package
/$(1)/targets
),$(if
$(PKG_TARGETS
),$(PKG_TARGETS
),ipkg
))
40 $(if
$(KCONFIG
),Kernel-Config
: $(KCONFIG
)
41 )$(if
$(BUILDONLY
),Build-Only
: $(BUILDONLY
)
42 )$(if
$(HIDDEN
),Hidden
: $(HIDDEN
)
43 )Description
: $(if
$(Package
/$(1)/description
),$(Package
/$(1)/description
),$(TITLE
))
47 $(if
$(Package
/$(1)/config
),Config
:
48 $(Package
/$(1)/config
)
55 $(if
$(SOURCE_INFO
),$(info $(SOURCE_INFO
)))