|
|
@ -40,6 +40,8 @@ define MESON_CROSS_CONFIG_HOOK # (dest dir) |
|
|
|
) > $(1)/meson-cross.config |
|
|
|
endef |
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
define TARGET_MESON_CONFIGURE |
|
|
|
@$(call MESSAGE,"Configuring") |
|
|
|
$(foreach hook,$($(PKG)_PRE_CONFIGURE_HOOKS),$(call $(hook))$(sep)) |
|
|
@ -70,6 +72,8 @@ define TARGET_NINJA_INSTALL |
|
|
|
$(HOST_NINJA_BINARY) -C $(PKG_BUILD_DIR)/build install |
|
|
|
endef |
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
define meson-package |
|
|
|
$(call PREPARE) |
|
|
|
$(call TARGET_MESON_CONFIGURE) |
|
|
@ -109,6 +113,8 @@ define HOST_NINJA_INSTALL |
|
|
|
$(HOST_NINJA_BINARY) -C $(PKG_BUILD_DIR)/build install |
|
|
|
endef |
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
define host-meson-package |
|
|
|
$(call PREPARE) |
|
|
|
$(call HOST_MESON_CONFIGURE) |
|
|
|