|
|
@ -63,21 +63,21 @@ endif |
|
|
|
ifndef $(PKG)_CONFIGURE_CMDS |
|
|
|
ifeq ($(PKG_MODE),CMAKE) |
|
|
|
ifeq ($(PKG_HOST_PACKAGE),YES) |
|
|
|
$(PKG)_CONFIGURE_CMDS = $$(HOST_CMAKE_CMDS) |
|
|
|
$(PKG)_CONFIGURE_CMDS = $$(HOST_CMAKE_CMDS_DEFAULT) |
|
|
|
else |
|
|
|
$(PKG)_CONFIGURE_CMDS = $$(TARGET_CMAKE_CMDS) |
|
|
|
$(PKG)_CONFIGURE_CMDS = $$(TARGET_CMAKE_CMDS_DEFAULT) |
|
|
|
endif |
|
|
|
else ifeq ($(PKG_MODE),MESON) |
|
|
|
ifeq ($(PKG_HOST_PACKAGE),YES) |
|
|
|
$(PKG)_CONFIGURE_CMDS = $$(HOST_MESON_CMDS) |
|
|
|
$(PKG)_CONFIGURE_CMDS = $$(HOST_MESON_CMDS_DEFAULT) |
|
|
|
else |
|
|
|
$(PKG)_CONFIGURE_CMDS = $$(TARGET_MESON_CMDS) |
|
|
|
$(PKG)_CONFIGURE_CMDS = $$(TARGET_MESON_CMDS_DEFAULT) |
|
|
|
endif |
|
|
|
else |
|
|
|
ifeq ($(PKG_HOST_PACKAGE),YES) |
|
|
|
$(PKG)_CONFIGURE_CMDS = $$(HOST_CONFIGURE_CMDS) |
|
|
|
$(PKG)_CONFIGURE_CMDS = $$(HOST_CONFIGURE_CMDS_DEFAULT) |
|
|
|
else |
|
|
|
$(PKG)_CONFIGURE_CMDS = $$(TARGET_CONFIGURE_CMDS) |
|
|
|
$(PKG)_CONFIGURE_CMDS = $$(TARGET_CONFIGURE_CMDS_DEFAULT) |
|
|
|
endif |
|
|
|
endif |
|
|
|
endif |
|
|
@ -101,15 +101,15 @@ endif |
|
|
|
ifndef $(PKG)_BUILD_CMDS |
|
|
|
ifeq ($(PKG_MODE),$(filter $(PKG_MODE),AUTOTOOLS CMAKE GENERIC KCONFIG)) |
|
|
|
ifeq ($(PKG_HOST_PACKAGE),YES) |
|
|
|
$(PKG)_BUILD_CMDS = $$(HOST_MAKE_BUILD_CMDS) |
|
|
|
$(PKG)_BUILD_CMDS = $$(HOST_MAKE_BUILD_CMDS_DEFAULT) |
|
|
|
else |
|
|
|
$(PKG)_BUILD_CMDS = $$(TARGET_MAKE_BUILD_CMDS) |
|
|
|
$(PKG)_BUILD_CMDS = $$(TARGET_MAKE_BUILD_CMDS_DEFAULT) |
|
|
|
endif |
|
|
|
else ifeq ($(PKG_MODE),$(filter $(PKG_MODE),MESON)) |
|
|
|
ifeq ($(PKG_HOST_PACKAGE),YES) |
|
|
|
$(PKG)_BUILD_CMDS = $$(HOST_NINJA_BUILD_CMDS) |
|
|
|
$(PKG)_BUILD_CMDS = $$(HOST_NINJA_BUILD_CMDS_DEFAULT) |
|
|
|
else |
|
|
|
$(PKG)_BUILD_CMDS = $$(TARGET_NINJA_BUILD_CMDS) |
|
|
|
$(PKG)_BUILD_CMDS = $$(TARGET_NINJA_BUILD_CMDS_DEFAULT) |
|
|
|
endif |
|
|
|
else |
|
|
|
$(PKG)_BUILD_CMDS = echo "$(PKG_NO_BUILD)" |
|
|
@ -135,15 +135,15 @@ endif |
|
|
|
ifndef $(PKG)_INSTALL_CMDS |
|
|
|
ifeq ($(PKG_MODE),$(filter $(PKG_MODE),AUTOTOOLS CMAKE GENERIC KCONFIG)) |
|
|
|
ifeq ($(PKG_HOST_PACKAGE),YES) |
|
|
|
$(PKG)_INSTALL_CMDS = $$(HOST_MAKE_INSTALL_CMDS) |
|
|
|
$(PKG)_INSTALL_CMDS = $$(HOST_MAKE_INSTALL_CMDS_DEFAULT) |
|
|
|
else |
|
|
|
$(PKG)_INSTALL_CMDS = $$(TARGET_MAKE_INSTALL_CMDS) |
|
|
|
$(PKG)_INSTALL_CMDS = $$(TARGET_MAKE_INSTALL_CMDS_DEFAULT) |
|
|
|
endif |
|
|
|
else ifeq ($(PKG_MODE),$(filter $(PKG_MODE),MESON)) |
|
|
|
ifeq ($(PKG_HOST_PACKAGE),YES) |
|
|
|
$(PKG)_INSTALL_CMDS = $$(HOST_NINJA_INSTALL_CMDS) |
|
|
|
$(PKG)_INSTALL_CMDS = $$(HOST_NINJA_INSTALL_CMDS_DEFAULT) |
|
|
|
else |
|
|
|
$(PKG)_INSTALL_CMDS = $$(TARGET_NINJA_INSTALL_CMDS) |
|
|
|
$(PKG)_INSTALL_CMDS = $$(TARGET_NINJA_INSTALL_CMDS_DEFAULT) |
|
|
|
endif |
|
|
|
else |
|
|
|
$(PKG)_INSTALL_CMDS = echo "$(PKG_NO_INSTALL)" |
|
|
|