From patchwork Mon Aug 20 18:59:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 144654 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp4324728ljj; Mon, 20 Aug 2018 12:00:16 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzDjx0koUpPXhbnPZpArF/YyjLEnLSkAWw6ocHU0oB7IkO+glcsGguBIZ6dLJrn/JUBxqRc X-Received: by 2002:a63:be05:: with SMTP id l5-v6mr22944828pgf.330.1534791616846; Mon, 20 Aug 2018 12:00:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534791616; cv=none; d=google.com; s=arc-20160816; b=06FJzqY4Wwcd5FspJuyYUf+Rcpo7E2VxrYi00TfkweSnXriStwbmWuglDT5BVgCv0B E/+JLjewEGYM2uPG82ht3WNIgAaiLkq1d3iMpGlzaFsPHPT+af0WLBmRp1HSag1fRPDn Uj83UzJk8wHgvUjx9+O6aQz8wYwhNaRlcgVFfxUpwTAh7sqJukOOGZvKXIKoMLlHlL0I NUbAsLPR8hSWsFEFHzTz6ze9ey/j1HOfRYWdRsjst2D2W+P3y1GE7wicDVdNveAOrVTZ m9kztxXV/i6ESqp09gI6XYzTbUvM8K5Q+nGwxduFdZrtkX+C312FA0bhrYnu0kJJP9vV dJaw== 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=UdVt2CkPcrrmqfSxbcHoCFKKWewWKYQ14Jc8SJq8xCA=; b=TzgqQNP+jx6SxpDeK8OPeG67SfJMUNtB14QLo9oK93L+Pk+dB0NJ6thTRx/dL+Ko/r iLPzF+ocjsiE4v8LUEB76dODQqDdGESE3P6oeHVTBzPtZSpwu3a54oaBnMhtB/X0TpRM ovZ56+oSzVRYyP84iukAdXVkd9+CrUn1LNoXkJ2oxVclGJIH2AlAn+4QphNcuEXyStIa /vThjOZVTcmB/QcDQJqiEPuZ3h3uajI/N6p2lsAXTE3pN0MrzxWhacayQWazqfNT2y/O /+ZSbRToDfm+7thAhIm1x+o8lzQAJHmTjXziPiv25xl1hKIXepgoEzwA2PrlTHj7sdfg CyeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=T9dJGlJP; 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=QUARANTINE 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 91-v6si10189604ply.405.2018.08.20.12.00.16; Mon, 20 Aug 2018 12:00:16 -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.s=20161025 header.b=T9dJGlJP; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 10A2379131; Mon, 20 Aug 2018 19:00:14 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by mail.openembedded.org (Postfix) with ESMTP id F1994790D6 for ; Mon, 20 Aug 2018 18:59:57 +0000 (UTC) Received: by mail-pf1-f174.google.com with SMTP id j26-v6so7214940pfi.10 for ; Mon, 20 Aug 2018 11:59:59 -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=ZC6275qcLiXjWLSyIpEoBHmm9WQh4bp7m+BjMy4B7K8=; b=T9dJGlJPDADF9x5JJs3LKI3irFFEZZZDu2TY4czUqE1hslAfR9jNiOVUiMc94t39Yw KpckZGwsjMECXy38VAaI7QheF+9EtZdH/YIT8v9NgOilBccfnHUCDdJ4q+yen+uduya0 laqhoSzekZfsXYSIuz4C/KW1CEBHxE1EgjoOuPrBHFew2v0yR1lpB0iR379s0d8a3AA7 A7dVOhTuELEdCh8mOURiNLFMyEArj2FyESiQsbf6IoiTmnTeeoJO06dRVzMjUuBIz3gi Z0zoihlHCqDOJ8ouQxoqK0fc27/1ZPUSHi0aHfvoxavA53FRA1t26Oh/9r2aXZ8sJ6Z8 ibGg== 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=ZC6275qcLiXjWLSyIpEoBHmm9WQh4bp7m+BjMy4B7K8=; b=J1b0to3fIkciJ/PVugt9ZBguvXQGlbVn4AsvBrONvzpknFbpohcGoxetM584SLvKIl mcS9qUIGVxjcJ/VoufmuSbm5FY7v26lMl3Z+SPGHPIuR4sdq3Ub8aCxTF/4U96Dpyn9H Q6j3PDyE7JSC5hZRhxdIip7186ZZfGSRWMHgtMYScagXU6OixmH8J6aHX/B4dT7lZFOg M9qEMQPVdzKN6Z4uU/+BPp7t3YQOSz+WeEG9NjcIP7dfEMzdNZ9lWcQCmCIKPHTmhxH4 JZQMFmSlvTJHp2RzBVw/R+KvThETY57K50OVI+LSrKguo56Md/pWiwgjiCPXpdQr3wi0 sL3g== X-Gm-Message-State: AOUpUlHk81zq3sr0p9Y4baNIbSDiPAwH/ZrpeaJ/ta9nBJR8M86Ivx33 ioFvp7I7L1p2Lc9tz+kDz/n48Lpe X-Received: by 2002:a62:c60e:: with SMTP id m14-v6mr49786499pfg.40.1534791598786; Mon, 20 Aug 2018 11:59:58 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::4add]) by smtp.gmail.com with ESMTPSA id j27-v6sm18773223pfj.91.2018.08.20.11.59.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Aug 2018 11:59:58 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Mon, 20 Aug 2018 11:59:47 -0700 Message-Id: <011962bd47ca60969fa50a3e890adadd6bddc487.1534791421.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: Subject: [OE-core] [PATCH 1/5] mesa: Enable gallium-llvm on x86 and x86_64 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 Signed-off-by: Khem Raj --- meta/recipes-graphics/cairo/cairo.inc | 3 ++- meta/recipes-graphics/mesa/mesa.inc | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) -- 2.18.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-graphics/cairo/cairo.inc b/meta/recipes-graphics/cairo/cairo.inc index 20e0d2c92a..7347f223ff 100644 --- a/meta/recipes-graphics/cairo/cairo.inc +++ b/meta/recipes-graphics/cairo/cairo.inc @@ -22,7 +22,8 @@ X11DEPENDS = "virtual/libx11 libsm libxrender libxext" DEPENDS = "libpng fontconfig pixman glib-2.0 zlib" PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcb', '', d)} \ - ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)}" + ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'opengl', '', d)}" PACKAGECONFIG[x11] = "--with-x=yes -enable-xlib,--with-x=no --disable-xlib,${X11DEPENDS}" PACKAGECONFIG[xcb] = "--enable-xcb,--disable-xcb,libxcb" diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 5afd0db4b7..dd626d9f00 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -48,6 +48,9 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland vulkan', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'x11 vulkan', 'dri3', '', d)} \ " +PACKAGECONFIG_append_x86 = " gallium-llvm gallium r600" +PACKAGECONFIG_append_x86-64 = " gallium-llvm gallium r600" + # "gbm" requires "dri", "opengl" PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm" From patchwork Mon Aug 20 18:59:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 144655 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp4324852ljj; Mon, 20 Aug 2018 12:00:22 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyXYu9E88IeOX5ZHv01FaCtiVx4UwiHxqczujFzovtc17ZaiiWFQy/PMqbizrZTqt4ExIWt X-Received: by 2002:a62:1449:: with SMTP id 70-v6mr49635929pfu.222.1534791622428; Mon, 20 Aug 2018 12:00:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534791622; cv=none; d=google.com; s=arc-20160816; b=TXEEXnMCJSKCiBoFXBC4//GIoBv2dUnB7a7AVh4gc0fTLY9WP6LHyPr+70OHoqh6t6 YuUEBXodElVXXU7Dvx8OtkvW2eClTBZRbNJSLJ4qVkmE6wb9MiYsBu6sJiuq/WiyiAn3 m+DCKHAnnpJjFVLQC/158knxDJN3NNaOgBrEI9jGCiH+2N3DIcCJ2aJd1LR0/+tDORX6 MJMMQBShUWBgs6OIPND5deIDZnBLrZbCDCflVbXFPQBGHvQukivca9RtxeiEFCL4TypF xa8y8GVECGeIecMnthwMlZ64UIuk6LJoh/fVjZx4PTv0w6AxNulfFcI8SSarLc0L2nZB ahRA== 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=pwGWMKfvLZeYLSNZKYRWCTUY1yCTK3ENU8V4ySIrvNQ=; b=AWxXvcrUW+bSdBHpeTyE5mq88JLX9xzgLOPrscHBDentbDzStgxy/weh9/KYHJNB+4 gapox71unKB2RdEfePjVLurgharufxpTS5glLvZMff8cQTRHMk5sIGG2beEasnFKQ0AA QB00PPIG3Q/7BBg3ao1vUMg0SKxPdanjsB3bjxIuc0YT/PxiKaUi2ry1zxj1xYNg6OMP h31x7TXs10EnhQ3/E7KUiWRftsGvdG2X9qAHpRJd0HRsa9xMkPc85L9K+Do1Vv4t7+WR CHnrFZj3hnvv4QTReSMoEmYtnB+Jq+Y39YsmeIvrFYckLRaFdHc4CI34n3bEK9K9S2hl KgtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b="hfSg/apC"; 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=QUARANTINE 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 t135-v6si11388227pfc.139.2018.08.20.12.00.22; Mon, 20 Aug 2018 12:00:22 -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.s=20161025 header.b="hfSg/apC"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id CE90379126; Mon, 20 Aug 2018 19:00:19 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) by mail.openembedded.org (Postfix) with ESMTP id 299D279074 for ; Mon, 20 Aug 2018 18:59:59 +0000 (UTC) Received: by mail-pg1-f174.google.com with SMTP id y4-v6so7223390pgp.9 for ; Mon, 20 Aug 2018 12:00:00 -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=+drmlVReINFpgVT8zC+g2o+eL0AzCILaEOH/FuMmHHg=; b=hfSg/apCJyJHpRz9qCkkvHtVzgUSAHwGFGMJFo/63yt1QrxT9Ze+5xwcFALpzZjPWf WnQLMKWMcFse8DTeKWQ+wHrOGs2UlkXDc9fJYZZ/Wag+5rqDhQmJieqDjE9D4TnJtwuV Jm9Mps0YT7sxdi7t2oTIilutyWy0tL6trdpOvUeKtSpexilXfkCm2OVEVMKIx7RtIxOK A7uPa8TejKnl33MVrSF0cbOECA9xqmEuNXbVZfQTUX/YQZo2wnXbSykCeYeZO0fnWhJu 7hmhVurVZD7I76gCSf714NlOx4h7SZ3oeZ/6X6NayqLeA0K69uCBw/mOAgMfNYvrGLsz fbAg== 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=+drmlVReINFpgVT8zC+g2o+eL0AzCILaEOH/FuMmHHg=; b=UllzO9ahdUoRIO6F5BcW3A7ByXioNwLefY3dLixdiKqYfQy6QUjspR6ydyknK1c26y yq6J5LIzVIIFKTFEH9lH7P/mzhzSGUbtYMTvVWXTPvXHx7M0rHUbUY1UyWdFrVHr8vRY 8kPXyuDEKhU9+ZvTYUAOAcHDOdJXCaCbOQpFjLQ8N0t7pPT9u9f0OboatFfCAEatC8Aq 4V/hZ5axzLiD6lq5BrUlIYtoq2HNRk7jrH/ncP9OSdVgplHp90vcj4ih7CoCkhPwa4mu 5zHzZkWfcCbY3jj9C9wmWYhVn52MiQBpnUa77h0wj6tGDPC9UYgm7VyOxczMu7j2VaTL 0MoA== X-Gm-Message-State: AOUpUlHkjV4Cms5Yv+a0REWv8DqM9avfQ5RBWYGdHi9qVbbQx7EdiWMV qtsjV+ZGnMHDoE65CLUal9sBnN5G X-Received: by 2002:a62:b0c:: with SMTP id t12-v6mr49237392pfi.36.1534791599956; Mon, 20 Aug 2018 11:59:59 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::4add]) by smtp.gmail.com with ESMTPSA id j27-v6sm18773223pfj.91.2018.08.20.11.59.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Aug 2018 11:59:59 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Mon, 20 Aug 2018 11:59:48 -0700 Message-Id: <53064c2e82573d4b78ac1cb71dbd0d7e4b191ba2.1534791421.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: Subject: [OE-core] [PATCH 2/5] gdb: Upgrade to 8.1.1 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 Signed-off-by: Khem Raj --- meta/recipes-devtools/gdb/{gdb-8.1.inc => gdb-8.1.1.inc} | 4 ++-- ...{gdb-cross-canadian_8.1.bb => gdb-cross-canadian_8.1.1.bb} | 0 .../gdb/{gdb-cross_8.1.bb => gdb-cross_8.1.1.bb} | 0 meta/recipes-devtools/gdb/{gdb_8.1.bb => gdb_8.1.1.bb} | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/gdb/{gdb-8.1.inc => gdb-8.1.1.inc} (89%) rename meta/recipes-devtools/gdb/{gdb-cross-canadian_8.1.bb => gdb-cross-canadian_8.1.1.bb} (100%) rename meta/recipes-devtools/gdb/{gdb-cross_8.1.bb => gdb-cross_8.1.1.bb} (100%) rename meta/recipes-devtools/gdb/{gdb_8.1.bb => gdb_8.1.1.bb} (100%) -- 2.18.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/gdb/gdb-8.1.inc b/meta/recipes-devtools/gdb/gdb-8.1.1.inc similarity index 89% rename from meta/recipes-devtools/gdb/gdb-8.1.inc rename to meta/recipes-devtools/gdb/gdb-8.1.1.inc index 4d9faa2d4b..ad80dd3e4d 100644 --- a/meta/recipes-devtools/gdb/gdb-8.1.inc +++ b/meta/recipes-devtools/gdb/gdb-8.1.1.inc @@ -18,6 +18,6 @@ SRC_URI = "http://ftp.gnu.org/gnu/gdb/gdb-${PV}.tar.xz \ file://package_devel_gdb_patches_120-sigprocmask-invalid-call.patch \ file://gdb-Fix-ia64-defining-TRAP_HWBKPT-before-including-g.patch \ " -SRC_URI[md5sum] = "f46487561f9a16916a8102316f7fd105" -SRC_URI[sha256sum] = "af61a0263858e69c5dce51eab26662ff3d2ad9aa68da9583e8143b5426be4b34" +SRC_URI[md5sum] = "372fa63a53adeee1bfbfd581d8da9e34" +SRC_URI[sha256sum] = "97dcc3169bd430270fc29adb65145846a58c1b55cdbb73382a4a89307bdad03c" diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_8.1.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_8.1.1.bb similarity index 100% rename from meta/recipes-devtools/gdb/gdb-cross-canadian_8.1.bb rename to meta/recipes-devtools/gdb/gdb-cross-canadian_8.1.1.bb diff --git a/meta/recipes-devtools/gdb/gdb-cross_8.1.bb b/meta/recipes-devtools/gdb/gdb-cross_8.1.1.bb similarity index 100% rename from meta/recipes-devtools/gdb/gdb-cross_8.1.bb rename to meta/recipes-devtools/gdb/gdb-cross_8.1.1.bb diff --git a/meta/recipes-devtools/gdb/gdb_8.1.bb b/meta/recipes-devtools/gdb/gdb_8.1.1.bb similarity index 100% rename from meta/recipes-devtools/gdb/gdb_8.1.bb rename to meta/recipes-devtools/gdb/gdb_8.1.1.bb From patchwork Mon Aug 20 18:59:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 144656 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp4324988ljj; Mon, 20 Aug 2018 12:00:28 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzhduW5boSm5naVuL7JZoSCS6byfikV4vZ4xrm3CTA8wd9V05YROW2oNXbuGY9K17e98jdt X-Received: by 2002:a62:e18:: with SMTP id w24-v6mr49310659pfi.145.1534791628327; Mon, 20 Aug 2018 12:00:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534791628; cv=none; d=google.com; s=arc-20160816; b=HAydBnwf+YHnpgWFXUIeBm6L5OiZienfJDY1B3YY5l3BPUW21VrIx2kCRs9EJgqF0m YGeZqp0lKvqnRfsCCHt0jyOIdQykenKZTI8S26NNTJ+K+l/8S4WqCuANoDDg8b7qu4Gs zStp+1+nKXmi6VaHx0wPhcHrR+ec2I2SGVyQ4YS/7f+iBwOY6xzDR3OW4WPxSDvUcjXs PdxxNorKTYleKGXvZz8DVrQt3UMCIHDY1Bjbs71gI/ZtYZsOXnBmxnocfyEjLsCODmv+ axgEkSEtjiVhJzy/SVKnw1j+7AjoV4L9Nl6WE1kINFgUdIzkVdk2LufL7c9di9UNPa7e atWA== 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=eNvAk/Z3BOf2PiNAaULlyvy4veolM8sgHX+d36dObac=; b=YhLdwBtvrZPU+W5IXzRDTIODtzOMmIQXXu/1gw98vqs819zx6PBqC5UDCPLNgvVZP0 6IoLJ9J8d68i1ZAe9ce8WewbVpSq2ojltRfOqDMePJgI+fXKUKfw5soye41qX616YB5b 6IHXsLUYZBM5hX7D3j5PuTKiSEpZ64b/ICsaR9VYHzpfUwQrcjas2fDISjjBG4toHC4X iPW57MUOEmCmjVJSyvdFByl873YryDg7t37xrG6HtaHiA7aMuMNCYPY6xqPFIM/QUNB8 ur+TeFlNnyHSAaZNWw98svAIHHV84y1OWojUbNPQfWBZCSrCcunzQuQ/iZ3pIzZG2Sfn j4Bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=d0GN43Wn; 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=QUARANTINE 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 w135-v6si10964041pff.8.2018.08.20.12.00.27; Mon, 20 Aug 2018 12:00:28 -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.s=20161025 header.b=d0GN43Wn; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 13C3B7914E; Mon, 20 Aug 2018 19:00:21 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com [209.85.215.173]) by mail.openembedded.org (Postfix) with ESMTP id 3D8E779074 for ; Mon, 20 Aug 2018 19:00:00 +0000 (UTC) Received: by mail-pg1-f173.google.com with SMTP id z25-v6so2533462pgu.7 for ; Mon, 20 Aug 2018 12:00:01 -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=SOM9N/pYMukLr8AT45/QXONPE2OWrYMBMbVnfyqJA3c=; b=d0GN43WnRfLJdYMXRwnXNb/REzmmZPxtHrZ86aSlmDxkW3KmKjpT8HzdWkTfk/FU8F zmhbKTn8ed6fMfBck46Htj1zHGrpG6Bh6CDAOGShWYhG84V5IxequfmwpU42YTtQq50F /9ya1pwYUdFIT8hhx0cZN/4ktVYhEPJ0cTdqV/5G39NUSK5w2RaMAGDh/O0exPRnEuoY Rjvu7xvDv6sVVzYI1zsD9qZYMkoJjod7btpnCB4tCgs2UCO07ansmEdqSm7u32ZfBzBM 1f3ShGnu+ffMpBnY6S+eEy33fNpPCa8isuj5uRY+nxyF4hNdLe/SyXkNZbVTC2sZIITf mC8g== 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=SOM9N/pYMukLr8AT45/QXONPE2OWrYMBMbVnfyqJA3c=; b=pijS47VyruHQbJ2sxN18SaSiMScF/WoIRop4OkcqkZKLTkCettlmdYCxyGIoPEsQGq p63o6fmWrISPFdWazLs+g/hpIfiK1YEtiENWaZmCSpBWMech6vL3IPL22yD0JqSLpIYw DaLpDdwlYFSl937vwvUoTl5Iwp8Y4P60EkYxcp8/Npciq1/yWz1Ky9G8EvEfOmuOz/yz etxMKr9jme3eSeyTpwWb8X1q0a5x2he3AJbEBSBCKud1GcoV5jOn7HYBgnK4fEKlwN99 LYoXmm+V/Vj5+dKxQWz/fXbkBvERmkQwKT2x0W3xNjr7XC9D5XxaLn29dClioGshrVEf y5lg== X-Gm-Message-State: AOUpUlF19Bv/CZ7rx50i4swovVXhJFtD1/1Bs3YpYLxbNGxCtZy5hifX tZcb1zKHkHHiKJAxUzyl4AAadVKH X-Received: by 2002:a63:4d06:: with SMTP id a6-v6mr43950566pgb.408.1534791600995; Mon, 20 Aug 2018 12:00:00 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::4add]) by smtp.gmail.com with ESMTPSA id j27-v6sm18773223pfj.91.2018.08.20.11.59.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Aug 2018 12:00:00 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Mon, 20 Aug 2018 11:59:49 -0700 Message-Id: <2c5a62b8c4afe40ff2c0fbe2263e9c96d40b63d7.1534791421.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: Subject: [OE-core] [PATCH 3/5] gdb: Alias rpl_stat to stat() on musl 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 Use CPPFLAGS instead of CFLAGS since there is C++ compiler being used for somefiles Fixes gdb/gdbserver/../../../gdb-8.1.1/gdb/gdbserver/../common/common-utils.c:419: undefined reference to `rpl_stat' | collect2: error: ld returned 1 exit status | make[4]: *** [Makefile:414: libinproctrace.so] Error 1 Signed-off-by: Khem Raj --- meta/recipes-devtools/gdb/gdb_8.1.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.18.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/gdb/gdb_8.1.1.bb b/meta/recipes-devtools/gdb/gdb_8.1.1.bb index 84ab08ce93..c6eac84dd8 100644 --- a/meta/recipes-devtools/gdb/gdb_8.1.1.bb +++ b/meta/recipes-devtools/gdb/gdb_8.1.1.bb @@ -26,4 +26,4 @@ EOF chmod +x ${WORKDIR}/python fi } -CFLAGS_append_libc-musl = " -Drpl_gettimeofday=gettimeofday" +CPPFLAGS_append_libc-musl = " -Drpl_gettimeofday=gettimeofday -Drpl_stat=stat" From patchwork Mon Aug 20 18:59:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 144657 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp4325095ljj; Mon, 20 Aug 2018 12:00:34 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyGQd0Q7t7+RqQQJapCfFg/ClRuLDVHOOPq1xZs72y3SgH72Y/EbubgIiq7+RPU7I26enwg X-Received: by 2002:a17:902:b70f:: with SMTP id d15-v6mr39204646pls.53.1534791634068; Mon, 20 Aug 2018 12:00:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534791634; cv=none; d=google.com; s=arc-20160816; b=H0De+7m+kQf8EC376YxBkWmbD/pPcdYgBNlNMaaBg1zzPkzWgnnuigjt+dPktlc5JA sAgSMnuTaZN6Hs4epBM8g+1zEgTIi8lu/QYGYKsJW8ISujF4lph+CBjxDVZNPJ4Y3i55 BGc4LnMcOicGjQfV4H2Gx20hKxr1biFsZxDoCQd9VmgNLPCoKxxbSeiDSKv6BAt6y9zT D4ambUyKvnzh0yDJGxffZ9DtDkZtMOHlm3354IujtLwQYCTnoiz4hIALK5ssUmdqGNDj S+FxAzJkgSZH4Hr4U/d3Swr6e6+vgf7hlwX0jG4sPXwwTmgfiAUlIMkqzDuui4xkCq8j iGKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=3gW2bQitb8UOEjGU2YUykzn1zQa9ykmCpV345LI2y2E=; b=yfSzVWRqV0LJyr4/3juuF2T2LU75Z3OJ2acQ2KWcxBuDidUre0+DQ6wVX4tnSjWKG3 rf0cF6CyekPtQDYl4W1xQU4KlW9NmV0UVvhQWsA4gDgJ8Nf0HlnX/5G5v+NniojPKos9 cAwI6ouhmycAQmb39JiVX/f6EvlCQo7GyBEDNsuIBd8BnbRGg5QxFJXXPSH6vfZ4J3pl TK44C2TExL+OCEhjOXDGuEBm1FXJQjJPbG6bVIoKwxE0GmW/EGudVsBbgxfjxvLJUWRM qSC8dLUPCihuKZ05zgUyf2RwOMiOZa6NLoonUzIWhLGwj4BvP0hXLGcvLO9kl7psXM80 MUHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=KkfyYDd0; 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=QUARANTINE 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 i21-v6si9960566pgg.513.2018.08.20.12.00.33; Mon, 20 Aug 2018 12:00:34 -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.s=20161025 header.b=KkfyYDd0; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 2DEB27915B; Mon, 20 Aug 2018 19:00:22 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by mail.openembedded.org (Postfix) with ESMTP id 8DBED79074 for ; Mon, 20 Aug 2018 19:00:01 +0000 (UTC) Received: by mail-pg1-f196.google.com with SMTP id y5-v6so7234610pgv.1 for ; Mon, 20 Aug 2018 12:00:03 -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 :mime-version:content-transfer-encoding; bh=1Xla9ji3hoQru14iiJACQqwyjaBZAsnDWEUXdW9eGOc=; b=KkfyYDd0PN0rbvimW9Joz1hjtqA+GNynlyB69hedZNe5PvtYiI3gYSs2JYnFSi6QoQ UfXV6gjF/PkG8A7MHVufncizuAYhVhdg7Q+QF+Q8jrg9oSIQ1KxZO4NRPMcvmmcs4S6/ h4HX6CFoT2jqryTLi2FS3xN4qc/NJmLZJ2iq9OwMfFbQm5JC/gdvm3H/4f7Z4NYFdOp6 aoZB1gd/Qetmq0Ja8BHQTkyLI5zNzfdFZe/fL+C9PFjkFm+UQAo3kWSwQ+aTkqJnyzFc pS6aZsKv2D8Ib+4EOVURLg19+W+AGMy7dL4xW/Od5bGnBcJr87wIlu1yQzjVlbBJY9Hn c1Lw== 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:mime-version:content-transfer-encoding; bh=1Xla9ji3hoQru14iiJACQqwyjaBZAsnDWEUXdW9eGOc=; b=kI2AHGtiTFFOLRLp+gZUWQVK72CgtB+EdsFJ/rBkyYjVxYsAebwgdyhyiDVQKxZw8Q elXcVpfA7FQX7sDdRkcHJ3+2IJh57g4gyvolOJFkD3JfyeSoZcrTBZcncE0HTE//IxqJ FTfKLiLwOOx20Uuxc4LyGXa1UJm89nmqha8ukG96q0BQ+i47zpkHT0GpUOJbDt55fkrG 3H0R8u5YCo6QMPmvozX1BIz7pPWrTcLa+TMkL33+jAkDWeLS9FoXHsKVwPz2r92UxtzU ubsKAQXM0M+sWc5AxN1k5nXhaZuIcHh046UjTBk5HWKJyC6qjfbr2Ai3OJm2u4oVsXFm 0dIQ== X-Gm-Message-State: AOUpUlFwuZhxnShNd2hQ1vjty0pb2kXHhVVrQVD6u12F6l6jlNMhDXyt T0vTkKfZD08UlQp5o/73N/JPmZYq X-Received: by 2002:a62:f50b:: with SMTP id n11-v6mr49279983pfh.120.1534791602206; Mon, 20 Aug 2018 12:00:02 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::4add]) by smtp.gmail.com with ESMTPSA id j27-v6sm18773223pfj.91.2018.08.20.12.00.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Aug 2018 12:00:01 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Mon, 20 Aug 2018 11:59:50 -0700 Message-Id: X-Mailer: git-send-email 2.18.0 In-Reply-To: References: MIME-Version: 1.0 Subject: [OE-core] [PATCH 4/5] dos2unix.bbclass: Move to oe-core 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: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org - Import from meta-oe layer - This is useful for many packages where CR-LF needs to be adjusted, many recipes depend on it e.g. meta-multimedia libebml and so on. - Add myself as maintainer for now Signed-off-by: Khem Raj --- meta/conf/distro/include/maintainers.inc | 1 + .../dos2unix/dos2unix_7.4.0.bb | 34 +++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 meta/recipes-support/dos2unix/dos2unix_7.4.0.bb diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 0d1c72a85f..19bd148700 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -134,6 +134,7 @@ RECIPE_MAINTAINER_pn-dmidecode = "Alexander Kanavin " RECIPE_MAINTAINER_pn-dnf = "Alexander Kanavin " RECIPE_MAINTAINER_pn-docbook-xml-dtd4 = "Yi Zhao " RECIPE_MAINTAINER_pn-docbook-xsl-stylesheets = "Yi Zhao " +RECIPE_MAINTAINER_pn-dos2unit = "Khem Raj " RECIPE_MAINTAINER_pn-dosfstools = "Yi Zhao " RECIPE_MAINTAINER_pn-dpkg = "Aníbal Limón " RECIPE_MAINTAINER_pn-dropbear = "Yi Zhao " diff --git a/meta/recipes-support/dos2unix/dos2unix_7.4.0.bb b/meta/recipes-support/dos2unix/dos2unix_7.4.0.bb new file mode 100644 index 0000000000..9964315ee7 --- /dev/null +++ b/meta/recipes-support/dos2unix/dos2unix_7.4.0.bb @@ -0,0 +1,34 @@ +SUMMARY = "Convert text file line endings between CRLF and LF" +DESCRIPTION = "The Dos2unix package includes utilities dos2unix and \ +unix2dos to convert plain text files in DOS or Mac format to Unix \ +format and vice versa." +HOMEPAGE = "http://waterlan.home.xs4all.nl/dos2unix.html" +SECTION = "support" + +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=1b78fca784db24f4a40e30b300787f3f" + +SRC_URI = "git://git.code.sf.net/p/dos2unix/dos2unix" + +# Release 7.4.0 +SRCREV = "1182533bde3c1fe65be2ead465e87671faa2c027" + +S = "${WORKDIR}/git/dos2unix" + +inherit gettext perlnative + +# The dos2unix NLS relies on po4a-native, while po4a recipe is +# provided by meta-perl layer, so make it optional here, you +# need have meta-perl in bblayers.conf before enabling nls in +# PACKAGECONFIG. +PACKAGECONFIG ??= "" +PACKAGECONFIG[nls] = "ENABLE_NLS=1,ENABLE_NLS=,po4a-native" + +EXTRA_OEMAKE = "${PACKAGECONFIG_CONFARGS} LDFLAGS_USER='${LDFLAGS}'" +EXTRA_OEMAKE_class-native = "ENABLE_NLS=" + +do_install () { + oe_runmake DESTDIR="${D}${base_prefix}" install +} + +BBCLASSEXTEND = "native nativesdk" From patchwork Mon Aug 20 18:59:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 144658 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp4325253ljj; Mon, 20 Aug 2018 12:00:40 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwXz1XfBaMY3YJzP7O1JnJrX/F8g0hDkXdown1y8ZEUA95qgR2rhuaJYcCcsnc0XcGIMqkx X-Received: by 2002:a63:d613:: with SMTP id q19-v6mr44249242pgg.327.1534791640285; Mon, 20 Aug 2018 12:00:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534791640; cv=none; d=google.com; s=arc-20160816; b=ACfMhfUZyKMF+YaoJGua6amPrAXhdpBs4E4cW5j+SRkt8agvCauNhb18RJtaCVN5Sx 5qUzSUteZa1TyU9Bl2WOWWAUPDTiNB9I+PrjV1S/OaA1TLbd7LRmELWqb47x3hIda8Tm smC+CuiW+C+OABD6Bwl5oDicjTV5V3Ok/LnVqnTSnc+QG4bJoHhqohnF2aoTXmFNy11J WZzSaYy11QAOoI86twuYOr65IbOPy89WXbk72sysOL/4ow05sU/Pppqv3B2t6K4KlJAD Wmio4+TWWXbOgDJ3ZFmotiB1Elhg/jrrW+BvJ3C1vpPqL3cH6T/TozXUzYaZQ0Gca53s 6BJQ== 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=H0rubBsQ0IQBDP7uHgR1cAtxpz3Dj31QNPpwxQ9ZA8E=; b=T0CxOEVcR3YdsmlNWI6l8YNbd7JlDKO3diq6P9YNRMlKyXLy+wXN99eTMylg81F9Kb AjZsZ2rWAKZfdJZOqP7bSi/DQt/SoMQOX2iRtQauKXcU4EdtQ1bAQywNFGyYK3oDdyPE VeeCG1cjDvB/yjC1xRnHujhqtaP7ZADN4cwvBp4rlvJP0J0Twj0N0Kv+izDYw6aawZ7I B6jO+e2thOPxr3EvSrJPQLDgWSwij9LhmIRZ1//iDHzHHXPBIRPSCwZ2QVm04qQzaXKR YT567iUDjm/TBq7eRf3FISRMtnBrNNOT4+jOInYIcFoUe/SVF+ZxH00rcGakCd24i4Hh czgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=f2hG+TQ4; 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=QUARANTINE 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 c6-v6si9655066pgd.81.2018.08.20.12.00.39; Mon, 20 Aug 2018 12:00:40 -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.s=20161025 header.b=f2hG+TQ4; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 4B3E37913B; Mon, 20 Aug 2018 19:00:23 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by mail.openembedded.org (Postfix) with ESMTP id 05AE579133 for ; Mon, 20 Aug 2018 19:00:02 +0000 (UTC) Received: by mail-pf1-f174.google.com with SMTP id u24-v6so7212136pfn.13 for ; Mon, 20 Aug 2018 12:00:03 -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=hlOu/LqJXrQmznLLLaunjMMCkg8wJHX/AM4qVPbpTL8=; b=f2hG+TQ4L7Hqi6aZRb30l8pavInD3mvT2/VYU8q+2WLhxrM9Lfyz+bV8pSTbAp9y23 Kxf8SrljfSi4paLVUYFBi2sV3mKM9Rj0Lu7tAL9lBb0j1DUlTYNkvzlebYnUA/h2HdGr nHu499YNr8nuN+Su/O5eat2kGSslX1gFHS3iAgO71UadsZic9ZIpyW3ezaXllykXthqc ee1dC37Fgu/6VxwQhc+YER1J54ge485+9GCBwbCX2zrnSJQ/FG5KExcGOP9ZreXGdzJP HfZHyZwFRHtK7SCR6FSmMp6x18E8ShoN3pPQnMP4DaF8x+mxfhKrj6PldBW7hDehflf5 u9DQ== 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=hlOu/LqJXrQmznLLLaunjMMCkg8wJHX/AM4qVPbpTL8=; b=ouOXAy54dopZkZQ/aZBPjTRsJLeRyfJ0+BH6VFJGNVfh0IxbGefkGMxY39lvsTg+/p X+mFgb4r9/tGlIP8QlqleBh/t0DncR73XJWhjFF8iX/furANzTzecWo9J3754aw5JSP0 odei7YKfrCwkUysXBN9dgjiq0dBPIEua0SfeShuaBF14qLhtpi6XP1fcigMfhqF4gPXk E49ZqBRfGssIrp80U9ZPpUrh/1Maaf/1vyQ+7LS0WR+a3JF9DLRMELNX8fhv4TXeVZ69 iYKXAqY/QiFM1n62V29RAEHFXa4uRJrTb+ykKLsAU4+WBGDEEa5MpwwJBwzVoiDiSbuk xujQ== X-Gm-Message-State: AOUpUlFd5sDugiQwMLnH+SipiXhgNna/3668QKDgMIs8CwU46K5Y5cPt zJbWGYGCUxZcahRx97v8KQuIuW15 X-Received: by 2002:a62:2ac8:: with SMTP id q191-v6mr49555902pfq.139.1534791602912; Mon, 20 Aug 2018 12:00:02 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::4add]) by smtp.gmail.com with ESMTPSA id j27-v6sm18773223pfj.91.2018.08.20.12.00.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Aug 2018 12:00:02 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Mon, 20 Aug 2018 11:59:51 -0700 Message-Id: X-Mailer: git-send-email 2.18.0 In-Reply-To: References: Subject: [OE-core] [PATCH 5/5] llvm: Use HOST_ARCH in LLVM_TARGETS_TO_BUILD for builds 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_TARGETS_TO_BUILD is needed to represent HOST_ARCH for builds and target specific additions should use class-target override Signed-off-by: Khem Raj --- meta/recipes-devtools/llvm/llvm_git.bb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) -- 2.18.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb index d853d4151d..df7c1dddd3 100644 --- a/meta/recipes-devtools/llvm/llvm_git.bb +++ b/meta/recipes-devtools/llvm/llvm_git.bb @@ -44,14 +44,15 @@ def get_llvm_arch(bb, d, arch_var): else: raise bb.parse.SkipRecipe("Cannot map '%s' to a supported LLVM architecture" % a) -def get_llvm_target_arch(bb, d): - return get_llvm_arch(bb, d, 'TARGET_ARCH') +def get_llvm_host_arch(bb, d): + return get_llvm_arch(bb, d, 'HOST_ARCH') + # # Default to build all OE-Core supported target arches (user overridable). # -LLVM_TARGETS ?= "${@get_llvm_target_arch(bb, d)}" -LLVM_TARGETS_prepend_x86 = "AMDGPU;" -LLVM_TARGETS_prepend_x86-64 = "AMDGPU;" +LLVM_TARGETS ?= "${@get_llvm_host_arch(bb, d)}" +LLVM_TARGETS_prepend_class-target_x86 = "AMDGPU;" +LLVM_TARGETS_prepend_class-target_x86-64 = "AMDGPU;" ARM_INSTRUCTION_SET_armv5 = "arm" ARM_INSTRUCTION_SET_armv4t = "arm"