blob: c1ef7328e72440a5f0d7fb4ebb1878cddbf46a2f (
plain)
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
48
49
|
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xenomai
PKG_VERSION:= 3.0.5
PKG_RELEASE:= 1
PKG_HASH:= 84836a43b6a996dcdcb42b0b1653a3271cc201df2a2d42c1b4b3bafb2cca7c63
PKG_DESCR:= realtime extension
PKG_SECTION:= sys/misc
PKG_URL:= https://xenomai.org/
PKG_SITES:= https://xenomai.org/downloads/xenomai/stable/
DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_CHOICES_XENOMAI:= WITH_MERCURY
#PKG_CHOICES_XENOMAI:= WITH_MERCURY WITH_COBALT
PKGCD_WITH_MERCURY:= use mercury
#PKGCD_WITH_COBALT:= use cobalt
include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XENOMAI,xenomai,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
XAKE_FLAGS+= SUDO="echo"
CONFIGURE_ARGS+= --includedir=/usr/include/xenomai/ --disable-doc-install
ifeq (${ADK_PACKAGE_XENOMAI_WITH_MERCURY},y)
CONFIGURE_ARGS+= --with-core=mercury
endif
ifeq (${ADK_PACKAGE_XENOMAI_WITH_COBALT},y)
CONFIGURE_ARGS+= --with-core=cobalt
endif
xenomai-install:
$(INSTALL_DIR) $(IDIR_XENOMAI)/usr/bin
$(INSTALL_DIR) $(IDIR_XENOMAI)/usr/sbin
$(INSTALL_DIR) $(IDIR_XENOMAI)/usr/lib
$(CP) $(WRKINST)/usr/bin/* \
$(IDIR_XENOMAI)/usr/bin
$(CP) $(WRKINST)/usr/sbin/* \
$(IDIR_XENOMAI)/usr/sbin
$(CP) $(WRKINST)/usr/lib/* \
$(IDIR_XENOMAI)/usr/lib
include $(ADK_TOPDIR)/mk/pkg-bottom.mk
|