|
|
@ -63,7 +63,7 @@ define TARGET_MESON_CONFIGURE |
|
|
|
$(foreach hook,$($(PKG)_POST_CONFIGURE_HOOKS),$(call $(hook))$(sep)) |
|
|
|
endef |
|
|
|
|
|
|
|
define TARGET_NINJA_CMDS |
|
|
|
define TARGET_NINJA_BUILD_CMDS |
|
|
|
$(CHDIR)/$($(PKG)_DIR)/$($(PKG)_SUBDIR); \
|
|
|
|
$(TARGET_MAKE_ENV) $($(PKG)_NINJA_ENV) \
|
|
|
|
$(HOST_NINJA_BINARY) -C $(PKG_BUILD_DIR)/build \
|
|
|
@ -77,7 +77,7 @@ define TARGET_NINJA_BUILD |
|
|
|
$(foreach hook,$($(PKG)_POST_BUILD_HOOKS),$(call $(hook))$(sep)) |
|
|
|
endef |
|
|
|
|
|
|
|
define TARGET_NINJA_INSTALL |
|
|
|
define TARGET_NINJA_INSTALL_CMDS |
|
|
|
$(CHDIR)/$($(PKG)_DIR)/$($(PKG)_SUBDIR); \
|
|
|
|
$(TARGET_MAKE_ENV) $($(PKG)_NINJA_ENV) \
|
|
|
|
DESTDIR=$(TARGET_DIR) \
|
|
|
@ -85,6 +85,13 @@ define TARGET_NINJA_INSTALL |
|
|
|
$($(PKG)_NINJA_OPTS) |
|
|
|
endef |
|
|
|
|
|
|
|
define TARGET_NINJA_INSTALL |
|
|
|
@$(call MESSAGE,"Installing") |
|
|
|
$(foreach hook,$($(PKG)_PRE_INSTALL_HOOKS),$(call $(hook))$(sep)) |
|
|
|
$(Q)$(call $(PKG)_INSTALL_CMDS) |
|
|
|
$(foreach hook,$($(PKG)_POST_INSTALL_HOOKS),$(call $(hook))$(sep)) |
|
|
|
endef |
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
define meson-package |
|
|
@ -118,7 +125,7 @@ define HOST_MESON_CONFIGURE |
|
|
|
$(foreach hook,$($(PKG)_POST_CONFIGURE_HOOKS),$(call $(hook))$(sep)) |
|
|
|
endef |
|
|
|
|
|
|
|
define HOST_NINJA_CMDS |
|
|
|
define HOST_NINJA_BUILD_CMDS |
|
|
|
$(CHDIR)/$($(PKG)_DIR)/$($(PKG)_SUBDIR); \
|
|
|
|
$(HOST_MAKE_ENV) $($(PKG)_NINJA_ENV) \
|
|
|
|
$(HOST_NINJA_BINARY) -C $(PKG_BUILD_DIR)/build \
|
|
|
@ -132,13 +139,20 @@ define HOST_NINJA_BUILD |
|
|
|
$(foreach hook,$($(PKG)_POST_BUILD_HOOKS),$(call $(hook))$(sep)) |
|
|
|
endef |
|
|
|
|
|
|
|
define HOST_NINJA_INSTALL |
|
|
|
define HOST_NINJA_INSTALL_CMDS |
|
|
|
$(CHDIR)/$($(PKG)_DIR)/$($(PKG)_SUBDIR); \
|
|
|
|
$(HOST_MAKE_ENV) $($(PKG)_NINJA_ENV) \
|
|
|
|
$(HOST_NINJA_BINARY) -C $(PKG_BUILD_DIR)/build install \
|
|
|
|
$($(PKG)_NINJA_OPTS) |
|
|
|
endef |
|
|
|
|
|
|
|
define HOST_NINJA_INSTALL |
|
|
|
@$(call MESSAGE,"Installing") |
|
|
|
$(foreach hook,$($(PKG)_PRE_INSTALL_HOOKS),$(call $(hook))$(sep)) |
|
|
|
$(Q)$(call $(PKG)_INSTALL_CMDS) |
|
|
|
$(foreach hook,$($(PKG)_POST_INSTALL_HOOKS),$(call $(hook))$(sep)) |
|
|
|
endef |
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
define host-meson-package |
|
|
|