From 069568e895fa7158c149b33b7877511c8214d38f Mon Sep 17 00:00:00 2001 From: vanhofen Date: Thu, 7 Jul 2022 20:32:35 +0200 Subject: [PATCH] - pkg-meson: add pkg-control flags --- package/pkg-meson.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/pkg-meson.mk b/package/pkg-meson.mk index c39a8515..87de5018 100644 --- a/package/pkg-meson.mk +++ b/package/pkg-meson.mk @@ -159,7 +159,7 @@ define host-meson-package $(eval PKG_MODE = $(pkg-mode)) $(call PREPARE,$(1)) $(call HOST_MESON_CONFIGURE) - $(call HOST_NINJA_BUILD) - $(call HOST_NINJA_INSTALL) + $(if $(filter $(1),$(PKG_NO_BUILD)),,$(call HOST_NINJA_BUILD)) + $(if $(filter $(1),$(PKG_NO_INSTALL)),,$(call HOST_NINJA_INSTALL)) $(call HOST_FOLLOWUP) endef