From patchwork Fri Jul 28 04:56:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 108869 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2932936qge; Thu, 27 Jul 2017 21:56:26 -0700 (PDT) X-Received: by 10.98.13.70 with SMTP id v67mr6473085pfi.182.1501217786271; Thu, 27 Jul 2017 21:56:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501217786; cv=none; d=google.com; s=arc-20160816; b=OzUHrJ+ZVGEpDsZAyW/k01Sw58twb4dL+Bbpwh+mD7agD5R20FYp286ijkbw/ViARm EJWp3ICV0+/sJyS8LwAIM9tcuMm4X86nTdpLOdJd3TkIItD9SaPzMQxRxdqfBkIqAkcC tBxoAMCWFh1TdIzoN6x9ZlvjSnKSxVPDCQBe44FK74IuyhY5AV0dmYHwUM3krfyCxBl9 sFqneT7R92gzLPu5LJVO4JrR3WADy+IC+Z6b11TOBva9mL+8f5wI/HriT1qQteUpAMDO kBZt+0zEeR0FA1tKn9l6zgtwhdrjjo4+Mh5lmxGbJfNhV/y0wMUmJONErv2FswSjJkXy yuKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=TY50sxl1gywGtoMoTCQuzl75el9FrOoj8DmltKdhHUE=; b=No1aR4u2eoIUeC+6XHN6l15+aZwin2Stkndh0Ai2HY2G6yUGRIaSpBpDG3wxzwNbzw sxJb5phDTuOfbTbj94u0Mlj3Snp2fBiSP8Itrz04ESUICIOEhfLrLx+jpU3cIO3Ji6T+ RHsGLzbejLrC4ERdVQpjrQV3wor63sOVELB/nvmd0y53wAu7IDM5z9aFRMh5a9g6SMea BmLDumudXkSyPpOQUeFRlKFWuRNa/onSNmushRaick2ASPuPWp0qud4lkas6n5yDaGRm o4EtzDczwJczBh01GOtUGjl1LIBrsmG1D2Az4uLcqRBN6PeoGtO2zTJh7CrVjJGEWJ4m idnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=Qn6pkB+A; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id b4si12482720plk.461.2017.07.27.21.56.25; Thu, 27 Jul 2017 21:56:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=Qn6pkB+A; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id A3B8878472; Fri, 28 Jul 2017 04:56:19 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f52.google.com (mail-pg0-f52.google.com [74.125.83.52]) by mail.openembedded.org (Postfix) with ESMTP id EAAB878466 for ; Fri, 28 Jul 2017 04:56:16 +0000 (UTC) Received: by mail-pg0-f52.google.com with SMTP id c14so13875314pgn.0 for ; Thu, 27 Jul 2017 21:56:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=g958lrOuo0xCtf5whtTSDplVeS7m8RLFe6w0kJK0IqU=; b=Qn6pkB+AcHlbkoCBdrp8+eeFEJtrUnRc99VLWlFt0ySK1vmvs59tfX0eM7RlLus51Q dG8x10f9OvHZ98eFemL168sU9z+jR2wrW7nzn4o+JfHJI9HgSHFySHDaREcYAdyT7OZh FHPw00C0WBeZkMq8hjv2wrQ5i1fm0if/4tn8JQ6G98svm7TQ06Nmds96xpdrWqU1DLvA rDl37ZJarLW0dP7+QrFFZafxp8iB/ffhvPPl8vQjrmBi3f/pe6Af0hCgU6JA78G+jJlH GwBJV6bZXTwcPWdlYghKqPkG8l1LHTLePk3VTIqiz0hC/2jHKkC7YU+5z76uPPuStSbf ww3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=g958lrOuo0xCtf5whtTSDplVeS7m8RLFe6w0kJK0IqU=; b=EUqOj8DTk+eCGbLK+nK/OcUKQROhWo57OAmxHw6oN2kvnQoE/oXs3QqnUSw3ARSCWR hH1o2Sf2agLgAd0K6EdIshcU8oJKVbfNVZ8ykxeEhTY+lf70+24k/WRyQA7FLg9u50EF LD+rwGCWTnYxJnk7cAnSUVmEksPuJOdxuKfsn5VMYrL1Lehn7p9R15tKL9kE1LmaiPxi L6PWqGWqDy0d/K4dzOF50LPS3hBxImY6ZHxSi85AzxwSRrB+cXDXkp+a3rvYIvCeS4Dh q2AUxwKIjxVXjZ6+5eGj8ugztTMt7GlyYJiKLXYMN3fYUuCoipylHYP9b3E8v1NdSGwL u4xA== X-Gm-Message-State: AIVw112GOOcnDtabPBZdwbmvDqbbajlXRpM+j/SxS4Jrsb+HZia95k3z x5EyDULV5XVHgiq6 X-Received: by 10.84.177.36 with SMTP id w33mr6910919plb.302.1501217777746; Thu, 27 Jul 2017 21:56:17 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id n80sm39912188pfj.118.2017.07.27.21.56.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Jul 2017 21:56:16 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Thu, 27 Jul 2017 21:56:06 -0700 Message-Id: X-Mailer: git-send-email 2.13.3 In-Reply-To: References: Subject: [OE-core] [PATCH 2/2] ninja: Add recipe X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org llvm is using it, therefore move it from meta-oe Signed-off-by: Khem Raj --- meta/recipes-devtools/ninja/ninja_1.7.2.bb | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 meta/recipes-devtools/ninja/ninja_1.7.2.bb -- 2.13.3 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/ninja/ninja_1.7.2.bb b/meta/recipes-devtools/ninja/ninja_1.7.2.bb new file mode 100644 index 0000000000..20dca2f0af --- /dev/null +++ b/meta/recipes-devtools/ninja/ninja_1.7.2.bb @@ -0,0 +1,29 @@ +SUMMARY = "Ninja is a small build system with a focus on speed." +HOMEPAGE = "http://martine.github.com/ninja/" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=a81586a64ad4e476c791cda7e2f2c52e" + +DEPENDS = "re2c-native ninja-native" + +SRCREV = "717b7b4a31db6027207588c0fb89c3ead384747b" + +SRC_URI = "git://github.com/martine/ninja.git;branch=release" + +S = "${WORKDIR}/git" + +do_configure[noexec] = "1" + +do_compile_class-native() { + ./configure.py --bootstrap +} + +do_compile() { + ./configure.py + ninja +} + +do_install() { + install -D -m 0755 ${S}/ninja ${D}${bindir}/ninja +} + +BBCLASSEXTEND = "native nativesdk"