package/pkg-kconfig: Support custom $(MAKE)
authorBrandon Maier <brandon.maier@rockwellcollins.com>
Tue, 4 Aug 2020 19:00:04 +0000 (14:00 -0500)
committerYann E. MORIN <yann.morin.1998@free.fr>
Thu, 6 Aug 2020 20:41:31 +0000 (22:41 +0200)
commite729d0d4b6d90004bb41e2e81d7e8cb354b990a9
treedf351d20cc41c97e1b9e341d56e022ddc212f30f
parentd0fc0c4885e62d800141b0d38b0d50b1fab8c323
package/pkg-kconfig: Support custom $(MAKE)

The U-Boot package requires GNU Make v4.0 or later, and so all U-Boot
"make" commands must use "$(BR2_MAKE)" so they use the host-make
package. Currently pkg-kconfig is hardcoded to uses $(MAKE), so add a
way to support $(BR2_MAKE). The package infra for pkg-automake and
pkg-cmake have a similar problem, and they solved it by defining a
$(PKG)_MAKE variable, and allowing each package to override it.

Signed-off-by: Brandon Maier <brandon.maier@rockwellcollins.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/pkg-kconfig.mk