You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
785 B
28 lines
785 B
################################################################################
|
|
#
|
|
# Individual package infrastructure
|
|
#
|
|
################################################################################
|
|
|
|
define INDIVIDUAL
|
|
@$(call MESSAGE,"Individual build and/or install $(pkgname)")
|
|
$(foreach hook,$($(PKG)_INDIVIDUAL_HOOKS),$(call $(hook))$(sep))
|
|
endef
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
define individual-package
|
|
$(eval PKG_MODE = $(pkg-mode))
|
|
$(call PREPARE,$(1))
|
|
$(call INDIVIDUAL)
|
|
$(call TARGET_FOLLOWUP)
|
|
endef
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
define host-individual-package
|
|
$(eval PKG_MODE = $(pkg-mode))
|
|
$(call PREPARE,$(1))
|
|
$(call INDIVIDUAL)
|
|
$(call HOST_FOLLOWUP)
|
|
endef
|
|
|