d059946df0
There is no target elixir package, so setting a value to ELIXIR_DEPENDENCIES has no effect, HOST_ELIXIR_DEPENDENCIES must be used instead. Fixes: http://autobuild.buildroot.net/results/a3a37eb724ca5689f8e83c9b2af04d07afa80315/ Signed-off-by: Frank Vanbever <frank.vanbever@essensium.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
22 lines
626 B
Makefile
22 lines
626 B
Makefile
################################################################################
|
|
#
|
|
# elixir
|
|
#
|
|
################################################################################
|
|
|
|
ELIXIR_VERSION = 1.9.4
|
|
ELIXIR_SITE = $(call github,elixir-lang,elixir,v$(ELIXIR_VERSION))
|
|
ELIXIR_LICENSE = Apache-2.0
|
|
ELIXIR_LICENSE_FILES = LICENSE
|
|
HOST_ELIXIR_DEPENDENCIES = host-erlang
|
|
|
|
define HOST_ELIXIR_BUILD_CMDS
|
|
$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) compile
|
|
endef
|
|
|
|
define HOST_ELIXIR_INSTALL_CMDS
|
|
$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) PREFIX="$(HOST_DIR)" -C $(@D) install
|
|
endef
|
|
|
|
$(eval $(host-generic-package))
|