Initial Commit
- initial default booting image
This commit is contained in:
16
package/ace/Config.in
Normal file
16
package/ace/Config.in
Normal file
@@ -0,0 +1,16 @@
|
||||
config BR2_PACKAGE_ACE
|
||||
bool "ace"
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14
|
||||
help
|
||||
The ADAPTIVE Communication Environment (ACE(TM))
|
||||
An OO Network Programming Toolkit in C++.
|
||||
|
||||
http://www.dre.vanderbilt.edu/~schmidt/ACE.html
|
||||
|
||||
comment "ACE needs a glibc toolchain, dynamic library, C++, gcc >= 4.9"
|
||||
depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || \
|
||||
!BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
6
package/ace/ace.hash
Normal file
6
package/ace/ace.hash
Normal file
@@ -0,0 +1,6 @@
|
||||
# From https://download.dre.vanderbilt.edu/previous_versions/ACE-7.1.1.tar.bz2.md5:
|
||||
md5 6c86ec6c7879703783b9749d5409a67f ACE-7.1.1.tar.bz2
|
||||
|
||||
# Locally Computed:
|
||||
sha256 fe5fdeab1dddf4fdd99f73c59420886cf61ca2ce92adf2cc6b612b752986df62 ACE-7.1.1.tar.bz2
|
||||
sha256 687bf9d16119e0caf6fb5c18214928fd6ea0da10df91e906255b7613af8061d8 COPYING
|
||||
75
package/ace/ace.mk
Normal file
75
package/ace/ace.mk
Normal file
@@ -0,0 +1,75 @@
|
||||
################################################################################
|
||||
#
|
||||
# ace
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ACE_VERSION = 7.1.1
|
||||
ACE_SOURCE = ACE-$(ACE_VERSION).tar.bz2
|
||||
ACE_SITE = http://download.dre.vanderbilt.edu/previous_versions
|
||||
ACE_LICENSE = DOC
|
||||
ACE_LICENSE_FILES = COPYING
|
||||
ACE_INSTALL_STAGING = YES
|
||||
ACE_CPE_ID_VENDOR = vanderbilt
|
||||
ACE_CPE_ID_PRODUCT = adaptive_communication_environment
|
||||
|
||||
# Note: We are excluding examples, apps and tests
|
||||
# Only compiling ACE libraries (no TAO)
|
||||
ACE_LIBRARIES = ace ACEXML Kokyu netsvcs protocols/ace
|
||||
|
||||
ACE_CPPFLAGS = $(TARGET_CPPFLAGS) -std=c++14
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_101915),y)
|
||||
ACE_CPPFLAGS += -O0
|
||||
endif
|
||||
|
||||
# ACE uses DEFFLAGS as C++ pre-processor flags, and CCFLAGS as the C++ flags.
|
||||
# Ace passes the pre-processor flags after the C++ flags, so we pass our
|
||||
# C++ flags as pre-processor flags, via DEFFLAGS.
|
||||
ACE_MAKE_OPTS = \
|
||||
ACE_ROOT="$(@D)" \
|
||||
DEFFLAGS="$(ACE_CPPFLAGS)"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
ACE_LIBRARIES += ace/SSL
|
||||
ACE_DEPENDENCIES += openssl
|
||||
define ACE_CONFIGURE_SSL
|
||||
echo "ssl = 1" >> $(@D)/include/makeinclude/platform_macros.GNU
|
||||
endef
|
||||
endif
|
||||
|
||||
# configure the target build
|
||||
# refer: http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/ACE-INSTALL.html#unix
|
||||
define ACE_CONFIGURE_CMDS
|
||||
# create a config file
|
||||
echo ' #include "ace/config-linux.h" ' >> $(@D)/ace/config.h
|
||||
|
||||
# Create platform/compiler-specific Makefile configurations
|
||||
$(INSTALL) -m 0644 package/ace/platform_macros.GNU $(@D)/include/makeinclude/
|
||||
|
||||
$(ACE_CONFIGURE_SSL)
|
||||
endef
|
||||
|
||||
define ACE_BUILD_CMDS
|
||||
$(foreach lib,$(ACE_LIBRARIES), \
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/$(lib) \
|
||||
$(ACE_MAKE_OPTS) all
|
||||
)
|
||||
endef
|
||||
|
||||
define ACE_LIBRARIES_INSTALL
|
||||
mkdir -p $(1)/usr/share/ace
|
||||
$(foreach lib,$(ACE_LIBRARIES), \
|
||||
$(MAKE) -C $(@D)/$(lib) $(ACE_MAKE_OPTS) DESTDIR=$(1) install
|
||||
)
|
||||
endef
|
||||
|
||||
define ACE_INSTALL_TARGET_CMDS
|
||||
$(call ACE_LIBRARIES_INSTALL,$(TARGET_DIR))
|
||||
endef
|
||||
|
||||
define ACE_INSTALL_STAGING_CMDS
|
||||
$(call ACE_LIBRARIES_INSTALL,$(STAGING_DIR))
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
14
package/ace/platform_macros.GNU
Normal file
14
package/ace/platform_macros.GNU
Normal file
@@ -0,0 +1,14 @@
|
||||
# help: http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/ACE-INSTALL.html#unix
|
||||
|
||||
# create a platform macros file
|
||||
include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
|
||||
|
||||
# disable RPATH
|
||||
install_rpath = 0
|
||||
|
||||
# set the installation prefix
|
||||
INSTALL_PREFIX = /usr
|
||||
|
||||
# fix link error with ARM EABI tools
|
||||
# http://list.isis.vanderbilt.edu/pipermail/ace-users/2008-January/002742.html
|
||||
no_hidden_visibility = 1
|
||||
Reference in New Issue
Block a user