|
@ -119,7 +119,6 @@ ifndef $(PKG)_MAKE_OPTS |
|
|
endif |
|
|
endif |
|
|
|
|
|
|
|
|
# build commands
|
|
|
# build commands
|
|
|
# TODO: python
|
|
|
|
|
|
ifndef $(PKG)_BUILD_CMDS |
|
|
ifndef $(PKG)_BUILD_CMDS |
|
|
ifeq ($(PKG_MODE),$(filter $(PKG_MODE),AUTOTOOLS CMAKE GENERIC KCONFIG)) |
|
|
ifeq ($(PKG_MODE),$(filter $(PKG_MODE),AUTOTOOLS CMAKE GENERIC KCONFIG)) |
|
|
ifeq ($(PKG_PACKAGE),HOST) |
|
|
ifeq ($(PKG_PACKAGE),HOST) |
|
@ -133,6 +132,10 @@ ifndef $(PKG)_BUILD_CMDS |
|
|
else |
|
|
else |
|
|
$(PKG)_BUILD_CMDS = $$(TARGET_NINJA_BUILD_CMDS_DEFAULT) |
|
|
$(PKG)_BUILD_CMDS = $$(TARGET_NINJA_BUILD_CMDS_DEFAULT) |
|
|
endif |
|
|
endif |
|
|
|
|
|
else ifeq ($(PKG_MODE),PYTHON3) |
|
|
|
|
|
ifeq ($(PKG_PACKAGE),HOST) |
|
|
|
|
|
$(PKG)_BUILD_CMDS = $$(HOST_PYTHON3_BUILD_CMDS_DEFAULT) |
|
|
|
|
|
endif |
|
|
else ifeq ($(PKG_MODE),KERNEL) |
|
|
else ifeq ($(PKG_MODE),KERNEL) |
|
|
$(PKG)_BUILD_CMDS = $$(KERNEL_MODULE_BUILD_CMDS_DEFAULT) |
|
|
$(PKG)_BUILD_CMDS = $$(KERNEL_MODULE_BUILD_CMDS_DEFAULT) |
|
|
else |
|
|
else |
|
@ -159,7 +162,6 @@ ifndef $(PKG)_MAKE_INSTALL_OPTS |
|
|
endif |
|
|
endif |
|
|
|
|
|
|
|
|
# install commands
|
|
|
# install commands
|
|
|
# TODO: python
|
|
|
|
|
|
ifndef $(PKG)_INSTALL_CMDS |
|
|
ifndef $(PKG)_INSTALL_CMDS |
|
|
ifeq ($(PKG_MODE),$(filter $(PKG_MODE),AUTOTOOLS CMAKE GENERIC KCONFIG)) |
|
|
ifeq ($(PKG_MODE),$(filter $(PKG_MODE),AUTOTOOLS CMAKE GENERIC KCONFIG)) |
|
|
ifeq ($(PKG_PACKAGE),HOST) |
|
|
ifeq ($(PKG_PACKAGE),HOST) |
|
@ -173,6 +175,10 @@ ifndef $(PKG)_INSTALL_CMDS |
|
|
else |
|
|
else |
|
|
$(PKG)_INSTALL_CMDS = $$(TARGET_NINJA_INSTALL_CMDS_DEFAULT) |
|
|
$(PKG)_INSTALL_CMDS = $$(TARGET_NINJA_INSTALL_CMDS_DEFAULT) |
|
|
endif |
|
|
endif |
|
|
|
|
|
else ifeq ($(PKG_MODE),PYTHON3) |
|
|
|
|
|
ifeq ($(PKG_PACKAGE),HOST) |
|
|
|
|
|
$(PKG)_INSTALL_CMDS = $$(HOST_PYTHON3_INSTALL_CMDS_DEFAULT) |
|
|
|
|
|
endif |
|
|
else ifeq ($(PKG_MODE),KERNEL) |
|
|
else ifeq ($(PKG_MODE),KERNEL) |
|
|
$(PKG)_INSTALL_CMDS = $$(KERNEL_MODULE_INSTALL_CMDS_DEFAULT) |
|
|
$(PKG)_INSTALL_CMDS = $$(KERNEL_MODULE_INSTALL_CMDS_DEFAULT) |
|
|
else |
|
|
else |
|
|