|
@ -17,6 +17,7 @@ PKG_PATCHES_DIR = $(PACKAGE_DIR)/$(subst host-,,$(pkgname))/patches |
|
|
|
|
|
|
|
|
# check for necessary $(PKG) variables
|
|
|
# check for necessary $(PKG) variables
|
|
|
define PKG_CHECK_VARIABLES |
|
|
define PKG_CHECK_VARIABLES |
|
|
|
|
|
|
|
|
# autoreconf
|
|
|
# autoreconf
|
|
|
ifndef $(PKG)_AUTORECONF |
|
|
ifndef $(PKG)_AUTORECONF |
|
|
$(PKG)_AUTORECONF = NO |
|
|
$(PKG)_AUTORECONF = NO |
|
@ -30,6 +31,7 @@ endif |
|
|
ifndef $(PKG)_AUTORECONF_OPTS |
|
|
ifndef $(PKG)_AUTORECONF_OPTS |
|
|
$(PKG)_AUTORECONF_OPTS = |
|
|
$(PKG)_AUTORECONF_OPTS = |
|
|
endif |
|
|
endif |
|
|
|
|
|
|
|
|
# cmake / configure / meson
|
|
|
# cmake / configure / meson
|
|
|
ifndef $(PKG)_CMAKE |
|
|
ifndef $(PKG)_CMAKE |
|
|
$(PKG)_CMAKE = cmake |
|
|
$(PKG)_CMAKE = cmake |
|
@ -43,6 +45,7 @@ endif |
|
|
ifndef $(PKG)_CONF_OPTS |
|
|
ifndef $(PKG)_CONF_OPTS |
|
|
$(PKG)_CONF_OPTS = |
|
|
$(PKG)_CONF_OPTS = |
|
|
endif |
|
|
endif |
|
|
|
|
|
|
|
|
# make
|
|
|
# make
|
|
|
ifndef $(PKG)_MAKE |
|
|
ifndef $(PKG)_MAKE |
|
|
$(PKG)_MAKE = $(MAKE) |
|
|
$(PKG)_MAKE = $(MAKE) |
|
@ -53,6 +56,7 @@ endif |
|
|
ifndef $(PKG)_MAKE_OPTS |
|
|
ifndef $(PKG)_MAKE_OPTS |
|
|
$(PKG)_MAKE_OPTS = |
|
|
$(PKG)_MAKE_OPTS = |
|
|
endif |
|
|
endif |
|
|
|
|
|
|
|
|
# make install
|
|
|
# make install
|
|
|
ifndef $(PKG)_MAKE_INSTALL_ENV |
|
|
ifndef $(PKG)_MAKE_INSTALL_ENV |
|
|
$(PKG)_MAKE_INSTALL_ENV = $($(PKG)_MAKE_ENV) |
|
|
$(PKG)_MAKE_INSTALL_ENV = $($(PKG)_MAKE_ENV) |
|
@ -60,6 +64,7 @@ endif |
|
|
ifndef $(PKG)_MAKE_INSTALL_OPTS |
|
|
ifndef $(PKG)_MAKE_INSTALL_OPTS |
|
|
$(PKG)_MAKE_INSTALL_OPTS = $($(PKG)_MAKE_OPTS) |
|
|
$(PKG)_MAKE_INSTALL_OPTS = $($(PKG)_MAKE_OPTS) |
|
|
endif |
|
|
endif |
|
|
|
|
|
|
|
|
# ninja
|
|
|
# ninja
|
|
|
ifndef $(PKG)_NINJA_ENV |
|
|
ifndef $(PKG)_NINJA_ENV |
|
|
$(PKG)_NINJA_ENV = |
|
|
$(PKG)_NINJA_ENV = |
|
@ -67,7 +72,8 @@ endif |
|
|
ifndef $(PKG)_NINJA_OPTS |
|
|
ifndef $(PKG)_NINJA_OPTS |
|
|
$(PKG)_NINJA_OPTS = |
|
|
$(PKG)_NINJA_OPTS = |
|
|
endif |
|
|
endif |
|
|
endef |
|
|
|
|
|
|
|
|
endef # PKG_CHECK_VARIABLES
|
|
|
|
|
|
|
|
|
pkg-check-variables = $(call PKG_CHECK_VARIABLES) |
|
|
pkg-check-variables = $(call PKG_CHECK_VARIABLES) |
|
|
|
|
|
|
|
|