From patchwork Wed Sep 12 00:18:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 146489 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4203571ljw; Tue, 11 Sep 2018 17:19:06 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbUHDQkGMAQnE8XC0fAhAO2lty0+eO0ujQFQiKE3m+MJeoriEj0cgZ7DbDmW9uLe5XgXtGt X-Received: by 2002:a62:4808:: with SMTP id v8-v6mr32326996pfa.89.1536711546832; Tue, 11 Sep 2018 17:19:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536711546; cv=none; d=google.com; s=arc-20160816; b=MJ47IP/+5MEs85atNx78NYqHSz8MD4tjkV7mRHmFrYZYIuuAi36hVIhkJu6mV+1Aa7 uWBStmYA4HP1JrsOFP2kTFOr5k6wm58dG15YH26HdZ+g5S0h+ree6idkdapwRTt+PApg lCObepWOfbi5bptgYj9Q6Du1a30eTbBiU1MwZZSnYcO7LdepQhiCVWqCHBQjCSXZpn9E RycZbgxMSfuGTVNIShWBV074LxTSmdnyy7fI9KkBzZ/oy/fqTmdAW6kqMQ+NS5MJgx1s 2VU62v12eCo5tVD6wslgq4hkFtL4TOZsWjF4HQvNKuEgJukqYeE9ePra4O+66rxVopMk 6P/A== 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:message-id:date:to:from:dkim-signature :delivered-to; bh=0GLb96BRqyvawo624YTyA89r4k1xpLdIbuavYA2Gojo=; b=Hn/aTOkg53mvpSw2aef56sNOnscAGV5dz5tIeReV0NSIABvnAz+W8EUQ1BROUfdej4 YM06dRjczUw7nFaGAUe8VQfEHsimO/2wC+HFwS6CdvcPiqiq+byIyv/uG/v3TjBfoWJu Mfz8ubxiEeloqkv9i8ZUWOBqfQNJunnmaynpsidihTJkQE8kunQsWovbSWK5Bgu0qKTe XDinsv6uT2Z3V9aOE5CIsrVtoO1Ly32cD5zns2SFEW1Qc83ep78YlQAdguDEjlrAI4JJ OgcjW1H7gjNXS0wvFu+VfMPvcn2cqwAENFD613S2WVBLekYL2jt8R2vdiuOwG+ssDY2t gNdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=dboeNfwH; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 m10-v6si20078521pgv.374.2018.09.11.17.19.06; Tue, 11 Sep 2018 17:19:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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=dboeNfwH; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 CCE57795D5; Wed, 12 Sep 2018 00:19:00 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) by mail.openembedded.org (Postfix) with ESMTP id D4B6B79567 for ; Wed, 12 Sep 2018 00:18:59 +0000 (UTC) Received: by mail-pg1-f178.google.com with SMTP id r1-v6so61768pgp.11 for ; Tue, 11 Sep 2018 17:19: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; bh=9//mPoHJvSIukvytMJKGTKcA3CMVmMnUUWm1gwdDPD8=; b=dboeNfwHFvEid/ILywOLUJSUeQx1ICf3g51DfaqplUdQAHJxJmCzE9Wf9uPqOzAmbT KwGArFzV/mu0ZeIhqwE4Q5rzMkcaZZyeeTuDCxQOZl+fyp7BaC8xqEh/kpTaO8RI0kKN ECeYXJ7KjpG3XWhnX9/rPIGYP23wh7QJ8+O0poIU9+yI1vObq5C/e/BDmO/e/WHcpuZx cOfGM23E70r9DdnRhlpE53ahzMz5LEIEaUw+GknVobWGHP4npTkQnbdXAnypNcsNwBsh Bwn7rO8gSGtcsAJKOfYcK4kxEAP77VhC+kS19Od6zIBY0prj2aCSO/wBsa1aCRFtzYWm IBzA== 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; bh=9//mPoHJvSIukvytMJKGTKcA3CMVmMnUUWm1gwdDPD8=; b=MFh2Kf4i3M7ltjvbhu6Cf1D+Y40XE9SsyToNYCzmUsV5P2hwt7on26glz2UPNwUXnD mfaZBhS86PBya7OoyAzmuHUunaltAihzwKCQi+waBc/TOO3car9+Sf3pPJ8fZ8RWdjTg hcZY7BavJy9lvmMWZUk1dEU0AnyNBlicIUKAEaiyga2pO0ck8K6MAj0psj6TYy+msm/B CILfvFVHt8SRJM9Av9fiA9GMGfcsDeBV8jdKAc9kZWFk48rTzp1QsPaMnsK7g7gcSXAj hj7ZemAy3GIXv3Wk+g1Ug1DLHpwTil04DPHUdVTXuDwDSy/NOb+oqygjW++DqWM/AgHQ sgfQ== X-Gm-Message-State: APzg51Dvdker3v2+3uzpv1zasmvq0B4wB2d+kkGgBdSYzWnqOH3rfMMv EhjW9BimFidCqK/ril7omDWDVzFA X-Received: by 2002:a62:dbc5:: with SMTP id f188-v6mr32669295pfg.182.1536711540243; Tue, 11 Sep 2018 17:19:00 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::2887]) by smtp.gmail.com with ESMTPSA id g25-v6sm39781692pfd.23.2018.09.11.17.18.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Sep 2018 17:18:59 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 11 Sep 2018 17:18:50 -0700 Message-Id: <20180912001851.7181-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 Subject: [oe] [meta-oe][PATCH 1/2] start-stop-daemon: Recognise musleabi triplet in dpkg X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../0001-Add-linux-musleabi-to-ostable.patch | 39 +++++++++++++++++++ .../start-stop-daemon_1.17.25.bb | 1 + 2 files changed, 40 insertions(+) create mode 100644 meta-oe/recipes-support/start-stop-daemon/start-stop-daemon/0001-Add-linux-musleabi-to-ostable.patch -- 2.18.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/start-stop-daemon/start-stop-daemon/0001-Add-linux-musleabi-to-ostable.patch b/meta-oe/recipes-support/start-stop-daemon/start-stop-daemon/0001-Add-linux-musleabi-to-ostable.patch new file mode 100644 index 0000000000..269441fc8b --- /dev/null +++ b/meta-oe/recipes-support/start-stop-daemon/start-stop-daemon/0001-Add-linux-musleabi-to-ostable.patch @@ -0,0 +1,39 @@ +From 087840efdbc86b1432ebdd81f25b4cb78c75f818 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 11 Sep 2018 12:28:10 -0700 +Subject: [PATCH] Add linux-musleabi to ostable + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- + ostable | 1 + + triplettable | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/ostable b/ostable +index 3bb6819..d0ffdc7 100644 +--- a/ostable ++++ b/ostable +@@ -15,6 +15,7 @@ + uclibceabi-linux linux-uclibceabi linux[^-]*-uclibceabi + uclibc-linux linux-uclibc linux[^-]*-uclibc + musleabihf-linux linux-musleabihf linux[^-]*-musleabihf ++musleabi-linux linux-musleabi linux[^-]*-musleabi + musl-linux linux-musl linux[^-]*-musl + gnueabihf-linux linux-gnueabihf linux[^-]*-gnueabihf + gnueabi-linux linux-gnueabi linux[^-]*-gnueabi +diff --git a/triplettable b/triplettable +index 7257744..45864c3 100644 +--- a/triplettable ++++ b/triplettable +@@ -6,6 +6,7 @@ + uclibceabi-linux-arm uclibc-linux-armel + uclibc-linux- uclibc-linux- + musleabihf-linux-arm musl-linux-armhf ++musleabi-linux-arm musl-linux-arm + musl-linux- musl-linux- + gnueabihf-linux-arm armhf + gnueabi-linux-arm armel +-- +2.18.0 + diff --git a/meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.17.25.bb b/meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.17.25.bb index cc2727b758..b9b22a316e 100644 --- a/meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.17.25.bb +++ b/meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.17.25.bb @@ -9,6 +9,7 @@ RCONFLICTS_${PN} = "dpkg" SRC_URI = " \ ${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.xz \ file://0001-dpkg-start-stop-daemon-Accept-SIG-prefixed-signal-na.patch \ + file://0001-Add-linux-musleabi-to-ostable.patch \ " SRC_URI[md5sum] = "e48fcfdb2162e77d72c2a83432d537ca" From patchwork Wed Sep 12 00:18: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: 146490 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4203870ljw; Tue, 11 Sep 2018 17:19:34 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYAVcmg8WnnNIT9HRdHQgXK95fWkpPjykiHgDpl2sFlhqRWff7eOrwhrSss/ugRhH/QTED9 X-Received: by 2002:a63:24c4:: with SMTP id k187-v6mr31093040pgk.162.1536711574321; Tue, 11 Sep 2018 17:19:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536711574; cv=none; d=google.com; s=arc-20160816; b=H24ZWk99u+mE9OU17jrv5zXnZXcH79iea/X5bI2M9ZY2QSnJFhsV+RtLGuHWK1BobC 9uBZb61gGzFfpxIoXV8AcLimMR0oIBoWrZygqJUSoPEqlNaXqMlt3fn4cmdllWcbMay2 3pIjetd7snbzjbzWLEKo3G2cDFGuNArJPKwJ6waJpw478bsN1jTIjDDDFsS1SAnBXWYC tVSJApzPtGvEeT2/yI0E92TD601//9NVXQZb1unUcXHROQXPEn2eHO4yZfn3s12BD7Lf ubFd5bfrbCx0VUQU27qXhI3coTiLz+tfXG1jwYHorOvm3VVdxp0aYpjeAyFDikx7f96T kL2A== 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; bh=MNfj12URCXr5GSv/9Ges2wpR8l5qOIkqd1Xl3AnQeeE=; b=t4OSm49wBg7pCXWQDOSVsMPy4o/N7Wmsqqxwg27xm+COqm16uijT886dZ8uO13LS+8 NZr4cOvAo0Zd53SQbv3J38QUav6KgZbmM3ffK7tbHQh9c8MD9b1hcjKh+LYj19GhiYFL XkpoiF08125e4mY4JIfMJCE28ABg3GuEtftduCBTypEeU+2483UcNTu+AIVdvKVYJo7I Tpkx5GrzqCoXDgJX6IhkVxZ7nG8FEeg3rbF3qp03ykT/2D0s4aZ1S7kmwLxVVe0FXwtO HrMjQ7/dkpLQh9tpSOABZp29X79dJzfXiYmMtaL09eWV5mokUXSMtIGO0aXk+3VFn4cx Qbqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Wrc6srwa; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 t7-v6si22948006pgh.307.2018.09.11.17.19.33; Tue, 11 Sep 2018 17:19:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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=Wrc6srwa; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 1D88C795D5; Wed, 12 Sep 2018 00:19:31 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@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 6433079567 for ; Wed, 12 Sep 2018 00:19:00 +0000 (UTC) Received: by mail-pg1-f196.google.com with SMTP id d1-v6so79517pgo.3 for ; Tue, 11 Sep 2018 17:19: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=fXTAjaCzMCShTzI9GIfLV5PEh7ZuewCsbnOxfT/wJE0=; b=Wrc6srwanD9HacGB8801TwbmY41QZNeDU2rVXvYoDLG5/jHyWUz9zyXg7FFVCucf8/ 0u73WvG35HfFLMdnsGJf6oav8eQC0mcgMEwf5nQV7O316xudItn3GJXZ4fF43eB7EVtx rJQKEuAa8KDh0ocPOj6SSxPDkggm6rDfbY3hvMgtsA63EYVRan4fmKltYlXdCUeVygFM rnYDrcmcH/Lk+joKH/5L6CnoN2yX0FU4Zu9mIjdO2k7kFmojopA7CQ0cSwNzd28j7gp/ d7rhDaq8WOsI5iOb5QIsD5Ab+hCK0OAG4zUZ3E8PXlFDxpYKgGiikuy89aenxlPhHx8O er9w== 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=fXTAjaCzMCShTzI9GIfLV5PEh7ZuewCsbnOxfT/wJE0=; b=dgPaNFRW3pRyTXfpwn5jiov28QVjTyPzS2ogCvUUmyCpBQTGoBFFdnXrd/YZ3FDsSW HPJzNZD2kSlhhmMUrWGtV3btn8p7gwoIT/bMr4aPd1YseeHcVCgexWTio4c4bBf7M2dn emSY1mT96mr0ZeQyWsJ8nHnqSGwpLtgrEllbTK21x/FIgs1OMDdhOZGh/MN25b7d3xTs KDVzCm1sUkcaBuBqb5cN5THWCPW45BEZ5yXyCK3dR9qGlXyBO9vi6hJT0cKACTEae1TT 6oOlc+AAOsSUNidRc58pjP0a2wmd1f8Uu6FepN2vQObIYTmG/mNLBfh0bAMEiWd8POVR f1YA== X-Gm-Message-State: APzg51CADcB2fAllO40ZlrTULUhjtiO5ICKFUvzN7NHij2u71CqBm7tX Np/s96Y3hzTMjP57Tk6Yf040KP+W X-Received: by 2002:a62:3001:: with SMTP id w1-v6mr32150014pfw.19.1536711541007; Tue, 11 Sep 2018 17:19:01 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::2887]) by smtp.gmail.com with ESMTPSA id g25-v6sm39781692pfd.23.2018.09.11.17.19.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Sep 2018 17:19:00 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 11 Sep 2018 17:18:51 -0700 Message-Id: <20180912001851.7181-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180912001851.7181-1-raj.khem@gmail.com> References: <20180912001851.7181-1-raj.khem@gmail.com> Subject: [oe] [meta-initramfs][PATCH 2/2] klibc: Fix build with security flags X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Drop -Os which is also causing the relro Fixes | x86_64-bec-linux-musl-ld.bfd: discarded output section: `.got.plt' Signed-off-by: Khem Raj Cc: Andrea Adami --- ...libc-Kbuild-Accept-EXTRA_KLIBCAFLAGS.patch | 28 +++++++++++++++++++ .../recipes-devtools/klibc/klibc.inc | 9 +++--- 2 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-klibc-Kbuild-Accept-EXTRA_KLIBCAFLAGS.patch -- 2.18.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-klibc-Kbuild-Accept-EXTRA_KLIBCAFLAGS.patch b/meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-klibc-Kbuild-Accept-EXTRA_KLIBCAFLAGS.patch new file mode 100644 index 0000000000..94818e3669 --- /dev/null +++ b/meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-klibc-Kbuild-Accept-EXTRA_KLIBCAFLAGS.patch @@ -0,0 +1,28 @@ +From cdc6edc2cfcd0ce88d6e66654d605dad303b1a75 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 11 Sep 2018 17:03:36 -0700 +Subject: [PATCH] klibc/Kbuild: Accept EXTRA_KLIBCAFLAGS + +For passing additional assembler flags + +Upstream-Status: Pending + +Signed-off-by: Khem Raj +--- + usr/klibc/Kbuild | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild +index 98caf2e9..b34521e0 100644 +--- a/usr/klibc/Kbuild ++++ b/usr/klibc/Kbuild +@@ -168,7 +168,8 @@ $(SOHASH): $(SOLIB) $(SOLIB).hash + targets += interp.o + + quiet_cmd_interp = BUILD $@ +- cmd_interp = $(KLIBCCC) $(klibccflags) -D__ASSEMBLY__ \ ++ cmd_interp = $(KLIBCCC) $(klibccflags) $(EXTRA_KLIBCAFLAGS) \ ++ -D__ASSEMBLY__ \ + -DLIBDIR=\"$(SHLIBDIR)\" \ + -DSOHASH=\"$(SOLIBHASH)\" \ + -c -o $@ $< diff --git a/meta-initramfs/recipes-devtools/klibc/klibc.inc b/meta-initramfs/recipes-devtools/klibc/klibc.inc index f0b20bc7fd..3d25e96cd4 100644 --- a/meta-initramfs/recipes-devtools/klibc/klibc.inc +++ b/meta-initramfs/recipes-devtools/klibc/klibc.inc @@ -21,9 +21,10 @@ SRC_URI = "git://git.kernel.org/pub/scm/libs/klibc/klibc.git \ file://0001-Kbuild.klibc-Use-print-libgcc-file-name-instead-of-p.patch \ file://0001-Kbuild.klibc-Add-path-to-compiler-headers-via-isyste.patch \ file://0001-arm-Do-not-set-a-fallback-march-and-mtune.patch \ - file://0001-klibc_2.0.4-add-kexec_file_load-syscall.patch \ + file://0001-klibc_2.0.4-add-kexec_file_load-syscall.patch \ file://0001-klibc-add-getrandom-syscall.patch \ -" + file://0001-klibc-Kbuild-Accept-EXTRA_KLIBCAFLAGS.patch \ + " ARMPATCHES ?= "" @@ -31,7 +32,6 @@ ARMPATCHES_arm = "file://klibc-config-eabi.patch \ file://armv4-fix-v4bx.patch \ " - S = "${WORKDIR}/git" PARALLEL_MAKE = "" @@ -44,9 +44,10 @@ EXTRA_OEMAKE = "'KLIBCARCH=${KLIBC_ARCH}' \ 'INSTALLDIR=${libdir}/klibc' \ 'SHLIBDIR=${libdir}' \ '${KLIBCTHUMB}' \ - 'KLIBCOPTFLAGS=${TUNE_CCARGS} -Os' \ + 'KLIBCOPTFLAGS=${TUNE_CCARGS}' \ V=1 \ " +EXTRA_OEMAKE += 'EXTRA_KLIBCAFLAGS="-Wa,--noexecstack" EXTRA_KLIBCLDFLAGS="-z noexecstack"' export FIX_ARMV4_EABI_BX = "${FIX_V4BX}" KLIBCTHUMB = "${@['CONFIG_KLIBC_THUMB=n', 'CONFIG_KLIBC_THUMB=y'][(d.getVar('ARM_INSTRUCTION_SET') == 'thumb')]}"