6b13f685e
김민수
BSP 최초 추가
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
################################################################################
#
# moarvm
#
################################################################################
MOARVM_VERSION = 2016.04
MOARVM_SITE = http://moarvm.com/releases
MOARVM_SOURCE = MoarVM-$(MOARVM_VERSION).tar.gz
MOARVM_LICENSE = Artistic-2.0
MOARVM_LICENSE_FILES = Artistic2.txt
MOARVM_INSTALL_STAGING = YES
MOARVM_DEPENDENCIES = host-luajit libuv libtommath libatomic_ops
MOARVM_CONF_OPTS = \
--build=$(GNU_HOST_NAME) \
--host=$(GNU_TARGET_NAME) \
--ar="$(TARGET_AR)" \
--cc="$(TARGET_CC)" \
--ld="$(TARGET_CC)" \
--prefix="/usr" \
--lua=$(HOST_DIR)/usr/bin/luajit \
--has-libuv \
--has-libtommath \
--has-libatomic
ifeq ($(BR2_ENDIAN),"BIG")
MOARVM_CONF_OPTS += --big-endian
endif
define MOARVM_CONFIGURE_CMDS
(cd $(@D); perl Configure.pl $(MOARVM_CONF_OPTS))
endef
define MOARVM_BUILD_CMDS
$(MAKE) -C $(@D)
endef
define MOARVM_INSTALL_STAGING_CMDS
$(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install
endef
define MOARVM_INSTALL_TARGET_CMDS
$(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
endef
$(eval $(generic-package))
|