From patchwork Tue Dec 18 18:51:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Weber X-Patchwork-Id: 1015562 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=rockwellcollins.com Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43K6ZR2Dgrz9rxp for ; Wed, 19 Dec 2018 05:51:58 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C10DA86233; Tue, 18 Dec 2018 18:51:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rn7FFDiKff9O; Tue, 18 Dec 2018 18:51:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id C0109861A3; Tue, 18 Dec 2018 18:51:49 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id E351D1BF331 for ; Tue, 18 Dec 2018 18:51:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E02D586233 for ; Tue, 18 Dec 2018 18:51:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RxBLdOgYtEg6 for ; Tue, 18 Dec 2018 18:51:47 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from ch3vs02.rockwellcollins.com (ch3vs02.rockwellcollins.com [205.175.226.29]) by whitealder.osuosl.org (Postfix) with ESMTPS id B47EA861A3 for ; Tue, 18 Dec 2018 18:51:47 +0000 (UTC) Received: from ofwch3n02.rockwellcollins.com (HELO crulimr01.rockwellcollins.com) ([205.175.226.14]) by ch3vs02.rockwellcollins.com with ESMTP; 18 Dec 2018 12:51:46 -0600 X-Received: from largo.rockwellcollins.com (unknown [192.168.140.76]) by crulimr01.rockwellcollins.com (Postfix) with ESMTP id 82224600B6; Tue, 18 Dec 2018 12:51:46 -0600 (CST) From: Matt Weber To: buildroot@buildroot.org Date: Tue, 18 Dec 2018 12:51:45 -0600 Message-Id: <1545159105-19680-1-git-send-email-matthew.weber@rockwellcollins.com> X-Mailer: git-send-email 1.9.1 Subject: [Buildroot] [PATCH] package/libeastl: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maury Anderson MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This patch adds the Entertainment Arts Standard Template Library. The initial version uses the latest hash so that the aarch64 support is included vs Buildroot having to apply the aarch64 support patch. Signed-off-by: Maury Anderson Signed-off-by: Matthew Weber --- DEVELOPERS | 1 + package/Config.in | 1 + package/libeastl/Config.in | 22 ++++++++++++++++++++++ package/libeastl/libeastl.hash | 2 ++ package/libeastl/libeastl.mk | 18 ++++++++++++++++++ 5 files changed, 44 insertions(+) create mode 100644 package/libeastl/Config.in create mode 100644 package/libeastl/libeastl.hash create mode 100644 package/libeastl/libeastl.mk diff --git a/DEVELOPERS b/DEVELOPERS index 59b549e..be73485 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1418,6 +1418,7 @@ F: package/kvm-unit-tests/ F: package/kvmtool/ F: package/libcsv/ F: package/libcurl/ +F: package/libeastl/ F: package/libfcgi/ F: package/libopenssl/ F: package/libselinux/ diff --git a/package/Config.in b/package/Config.in index c3e0691..7bf46b6 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1658,6 +1658,7 @@ menu "Other" source "package/libcrossguid/Config.in" source "package/libcsv/Config.in" source "package/libdaemon/Config.in" + source "package/libeastl/Config.in" source "package/libee/Config.in" source "package/libev/Config.in" source "package/libevdev/Config.in" diff --git a/package/libeastl/Config.in b/package/libeastl/Config.in new file mode 100644 index 0000000..07bfe2c --- /dev/null +++ b/package/libeastl/Config.in @@ -0,0 +1,22 @@ +config BR2_PACKAGE_LIBEASTL_ARCH_SUPPORTS + bool + default y if BR2_i386 + default y if BR2_x86_64 + default y if BR2_aarch64 + default y if BR2_powerpc + default y if BR2_powerpc64 + +config BR2_PACKAGE_LIBEASTL + bool "libeastl" + depends on BR2_PACKAGE_LIBEASTL_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14 + help + EASTL stands for Electronic Arts Standard Template Library. + It is an extensive and robust implementation that has an + emphasis on high performance. + + https://github.com/electronicarts/EASTL + +comment "libeastl needs a toolchain w/ gcc >= 4.9" + depends on BR2_PACKAGE_LIBEASTL_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/package/libeastl/libeastl.hash b/package/libeastl/libeastl.hash new file mode 100644 index 0000000..9347276 --- /dev/null +++ b/package/libeastl/libeastl.hash @@ -0,0 +1,2 @@ +sha256 b181ae3571648391801d7de87eeaf6cb41e85b3d2ffc9e23b87b23b39989800b libeastl-45469730d641868ce05433fff2e199510c7d45c3.tar.gz +sha256 82c0243a1a62b8af01dab3bce6ed2b0852604bd508b85a561ba7d32480e598e3 LICENSE diff --git a/package/libeastl/libeastl.mk b/package/libeastl/libeastl.mk new file mode 100644 index 0000000..4fdf552 --- /dev/null +++ b/package/libeastl/libeastl.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# libeastl +# +################################################################################ + +LIBEASTL_VERSION = 45469730d641868ce05433fff2e199510c7d45c3 +LIBEASTL_SITE = https://github.com/electronicarts/EASTL.git +LIBEASTL_SITE_METHOD = git +LIBEASTL_LICENSE = BSD-3-Clause +LIBEASTL_LICENSE_FILES = LICENSE +LIBEASTL_INSTALL_STAGING = YES + +define LIBEASTL_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/libEASTL.so $(TARGET_DIR)/usr/lib/ +endef + +$(eval $(cmake-package))