From patchwork Thu Mar 7 16:52:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Seiderer X-Patchwork-Id: 1909388 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TrFj44k1cz20Qg for ; Fri, 8 Mar 2024 03:52:40 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 5BBAE41BBD; Thu, 7 Mar 2024 16:52:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k4QdgVpsNDgA; Thu, 7 Mar 2024 16:52:36 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 3137F41BB6 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 3137F41BB6; Thu, 7 Mar 2024 16:52:36 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 775251BF5AA for ; Thu, 7 Mar 2024 16:52:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 43CB482998 for ; Thu, 7 Mar 2024 16:52:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yi6w93DzOdLK for ; Thu, 7 Mar 2024 16:52:25 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=212.227.15.18; helo=mout.gmx.net; envelope-from=ps.report@gmx.net; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org B739882983 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org B739882983 Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by smtp1.osuosl.org (Postfix) with ESMTPS id B739882983 for ; Thu, 7 Mar 2024 16:52:22 +0000 (UTC) X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from localhost.fritz.box ([62.216.208.100]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MQMuR-1rUiJ82BPd-00MLgn; Thu, 07 Mar 2024 17:52:19 +0100 To: buildroot@busybox.net Date: Thu, 7 Mar 2024 17:52:15 +0100 Message-ID: <20240307165218.10027-1-ps.report@gmx.net> X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:Njp9oWnRaWzAgbZWtw0M7vlRqj3sU3XfQMDWBNEQFYWD/jsnS1B SeV//rBwJBa1SOnDt/lY4LFz6aMCJLbC5Lza+RgFU0221a2wWrB06BgK/I44r2CpV0yR2MU eEmxu1TQ/AlVbx+vUpXzW0NWGSfa8Gb5tKD4D3VgXiESCVauKVsKUHYoKH4fd4S6ToSbTrH kndI8/idbbSstA9f/Z7hA== UI-OutboundReport: notjunk:1;M01:P0:CrdsbzDE+U8=;jxUjcwtfUABEUfGpJd/zlfDWmLn OdVAvRFQenfnfaWQx6ik0D3Cxs/OgUqlCKLNxgZQNlh5C1zFyPv/5+wvrtlbQxS5dE0GDcWn6 cKe/jLrXpKh/kwSCxR8Sa0Ner4rS66rxQ/QC0qCa5ac+EbhNjt0SDiYcQVss9iK6XCDvEDkLn c/O1xvRbQ/hMqOz4yu55ndpUrRcbcK6LLCUPWGMy1VeFccc4jclR/uPz1lIqvOjXkAboAPI07 Lr/c+Vl6C9ksQ2DQTaCJMiqwSx1V6NEX/muZOu022AgknK1S0idk0GW1PczgUqORDJvpc6NCC NYflmw+aFvsjP2ASq6CMAyuPvbixYQ8dtfMXK4NSJCo+/H9GDejISMLI9acqGWpMbF8aY4xf4 JEzHcYpVzvQfNZR0abyYYLOtCfssMh1sfuJy5Ig+5AYpaqgPlxgT66fljOKL+4ujev0BRegFC Uo78wJZPu6DoMwvQHQNFt/HLNGowjYoArcrthiyhAMi1NoWOsIjRof4ATtZFAmEsIrdEyiVEj LaTE/zzYkhxOck6nACl/6I4jxY2Adfx/f3TSpg2qOJbKU9iYD79ORdA3VwB/AxYRx3EKpB9Ho BUqIP+/c/lYxFHxkDXfkHHgvFK3lpFKzYlH0ZkIgCHnENHOptw3yg0AuOG2T6jqNdq4v/CnPj +juNqOADfDveZrzhEsCv+AfcW5jXUHUozFANG6iCUARENsWGmAR0M+gIGhHp6Nx16Y+MXom67 HnbnNLUsmMCQJOvjUGbeDOsAQNzmqEZAO4LjQAdgX7ZYvtxXqfcQgF20a6i30r1XdyRi18oof yjkPBKvqp1aG1xnycP+fWLB5KIr7pNMOlt/05xKsGM9Vc= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1709830339; x=1710435139; i=ps.report@gmx.net; bh=aWThDUvoveAEQKg85YK6Qp0GHChqymWz4Q2eu9hx7Rs=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=U5EcKPo3GYeym9SKkaZp0OcK8k+V68y/06Kk14MivuHC6EG0Tev+L3NyzjswHYQp AGSJJgg14zfRmCF3s/3o0qWqzyPG6/ds+Uee/oqMLw1liwyhAqBddqHtGCW6KSHjK J+ERRp9OOPj2mSECe+AJOMKJbQaC6LxAVXR70C39WKJzfCG1MuqX+i6cFz4R4/VZV kpKw1oQHcyCcqxWbqQwxt52+0NHx6Z1coqUrfs1p9fqNnk2cYg7E3RU/UUYJZzBJ4 lKqodoKl3zlFA6JqKU64EGe8a1KtmwJvs/ti1qEuBWn1Sbsvw14R3tE2oUFPEz9EF Wvc+DJYZJPTROH3cWw== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.net X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=gmx.net header.i=ps.report@gmx.net header.a=rsa-sha256 header.s=s31663417 header.b=U5EcKPo3 Subject: [Buildroot] [PATCH v1 1/4] package/xz: bump version to 5.6.0 X-BeenThere: buildroot@buildroot.org 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: , X-Patchwork-Original-From: Peter Seiderer via buildroot From: Peter Seiderer Reply-To: Peter Seiderer Cc: Samuel Martin Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" - bump version to 5.6.0 - change homepage URL to https://xz.tukaani.org/xz-utils/ - add BSD-0-Clause and update license file hash accordingly (see [1], [2], and [3]) For details see [4]. [1] https://github.com/tukaani-project/xz/commit/b1ee6cf259bb49ce91abe9f622294524e37edf4c [2] https://github.com/tukaani-project/xz/commit/689e0228baeb95232430e90d628379db89583d71 [3] https://github.com/tukaani-project/xz/commit/28ce45e38fbed4b5f54f2013e38dab47d22bf699 [4] https://github.com/tukaani-project/xz/blob/master/NEWS Signed-off-by: Peter Seiderer --- package/xz/Config.in | 2 +- package/xz/xz.hash | 7 ++++--- package/xz/xz.mk | 6 +++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/package/xz/Config.in b/package/xz/Config.in index 687bd55482..7130fa5e8e 100644 --- a/package/xz/Config.in +++ b/package/xz/Config.in @@ -12,4 +12,4 @@ config BR2_PACKAGE_XZ invoked via appropriate symlinks will emulate the behavior of the commands in the lzma package. - https://tukaani.org/xz/ + https://xz.tukaani.org/xz-utils/ diff --git a/package/xz/xz.hash b/package/xz/xz.hash index e8025a8065..71c2c65a3e 100644 --- a/package/xz/xz.hash +++ b/package/xz/xz.hash @@ -1,9 +1,10 @@ # Locally calculated after checking pgp signature -# https://github.com/tukaani-project/xz/releases/download/v5.4.6/xz-5.4.6.tar.bz2.sig -sha256 913851b274e8e1d31781ec949f1c23e8dbcf0ecf6e73a2436dc21769dd3e6f49 xz-5.4.6.tar.bz2 +# https://github.com/tukaani-project/xz/releases/download/v5.6.0/xz-5.6.0.tar.bz2.sig +sha256 88c8631cefba91664fdc47b14bb753e1876f4964a07db650821d203992b1e1ea xz-5.6.0.tar.bz2 # Hash for license files -sha256 29a1e305b2e34eefe5d4602d00cde1d528b71c5d9f2eec5106972cf6ddb6f73f COPYING +sha256 0864e508475f20b43a2393957fdb5a966558099ffa8fed1e3e73fe2b3eebb145 COPYING +sha256 0b01625d853911cd0e2e088dcfb743261034a091bb379246cb25a14cc4c74bf1 COPYING.0BSD sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING.GPLv2 sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING.GPLv3 sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPLv2.1 diff --git a/package/xz/xz.mk b/package/xz/xz.mk index 40fa59ca7c..e35fbc0268 100644 --- a/package/xz/xz.mk +++ b/package/xz/xz.mk @@ -4,13 +4,13 @@ # ################################################################################ -XZ_VERSION = 5.4.6 +XZ_VERSION = 5.6.0 XZ_SOURCE = xz-$(XZ_VERSION).tar.bz2 XZ_SITE = https://github.com/tukaani-project/xz/releases/download/v$(XZ_VERSION) XZ_INSTALL_STAGING = YES XZ_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' -XZ_LICENSE = Public Domain, GPL-2.0+, GPL-3.0+, LGPL-2.1+ -XZ_LICENSE_FILES = COPYING COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv2.1 +XZ_LICENSE = Public Domain, BSD-0-Clause, GPL-2.0+, GPL-3.0+, LGPL-2.1+ +XZ_LICENSE_FILES = COPYING COPYING.0BSD COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv2.1 XZ_CPE_ID_VENDOR = tukaani ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) From patchwork Thu Mar 7 16:52:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Seiderer X-Patchwork-Id: 1909385 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TrFhv3vbYz20Qg for ; Fri, 8 Mar 2024 03:52:30 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 0E7B241919; Thu, 7 Mar 2024 16:52:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QkhKKAvEE2Gh; Thu, 7 Mar 2024 16:52:26 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org C977F41944 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id C977F41944; Thu, 7 Mar 2024 16:52:25 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 242BD1BF5AA for ; Thu, 7 Mar 2024 16:52:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 11651829B1 for ; Thu, 7 Mar 2024 16:52:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5m2VrHwdk4Nf for ; Thu, 7 Mar 2024 16:52:23 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=212.227.15.15; helo=mout.gmx.net; envelope-from=ps.report@gmx.net; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org B72AF82969 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org B72AF82969 Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by smtp1.osuosl.org (Postfix) with ESMTPS id B72AF82969 for ; Thu, 7 Mar 2024 16:52:22 +0000 (UTC) X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from localhost.fritz.box ([62.216.208.100]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MyKHm-1quZ4x2ynU-00yiFQ; Thu, 07 Mar 2024 17:52:19 +0100 To: buildroot@busybox.net Date: Thu, 7 Mar 2024 17:52:16 +0100 Message-ID: <20240307165218.10027-2-ps.report@gmx.net> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240307165218.10027-1-ps.report@gmx.net> References: <20240307165218.10027-1-ps.report@gmx.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:Ptjs9nXRVOST/7FDnnpOma4cDFcwoN0rG8MXDZmOS2uKoi8vXgC +FibdnWjsgz4+mae6zskt/r0ZmrvLi7u9ipP4xxr3k6HGGyxwfQGbzD/23PRfUQc4Rsmn0J VtA0HYoJpUNTKcE4Gc2h3wJO1bxDJ7IrOCAgVw3cTaIzgVLULcKritDjFAyFCZSkKd2+c0X ifICFBh5TFGgQq064mWQg== UI-OutboundReport: notjunk:1;M01:P0:PNd1zahscQE=;G5ZF7cbV3+h6s4lRqtIhM5L/mHz ad3GhQJHJbgskvh/AK5AKyi/x47U2I+9jJNMLgEjVxm8JSdPplyN7oXw36lOtNd8mWCk6xq6k pdcTijAwV0Z/iV/6+SnnIzyTNBg+nUmuFaUgEb5ieKq1sQoCqwV4SbVKSiiG9tYcFQp6w4odM X8/paKIkHtgJm4Rzb3Rk+mXgLs4IMjXVSEOQZ5Rq9hFS7Oe3bi8ZmQalX4hAeCGLjr76AmWrJ VuEsxZGQFIvQyslISnKBkYNIq/5Jq94p6sDPSl6h+5zlHelIE3LC8kP5qIP6UlTBF2blIVcoj +jR0fUiXc7S8/ocDGVWrklDaoj+QIp4il/mrJJYSOba5D5NhdKjsFuppk/6qbPh67hJ7hz80Z 6GYqyMfhr5Kre2FNSqHoqpAQ3rwYc0QLloUWiLpy8P9LFXiy0Cq9SPwESrEDUvbySwKB+/28f fL5k7xpNvmE+OcJkVLhGfPrTjzgOEldMvOr4rtJ7VrHLqqv/VtorWhUjAZT3ff1S+X26d8yXn fMk/y2eW2pLqiCi1XWiMG6LjcoNAO+6fDaens6euaYikyOoKVuxbP0/QKEETJH7ApGUOn3052 FU/w57nlCL7/vbjDlQ+0osCKSn/MQWX+f5PiLUqcgOdKczDP56m4bADBksvDoqbrp1frejL79 BrTdlO4esBMTiAQSCjIFNIaOzK1mdmojPSN7GDKrcCzokoXVd2+9dgVZAuhhCnL4LSbb5Hlri iRMUsd3j/tWe0nMrk+DAtZwToXIGHlyp4PEO0I6WBoHTRF+TNIjP2IBqECh332ieFaTevD+K4 PwyFdXkiMTUyMJmHsQwesfQ3XjouRsP/80iICpC/bfIIE= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1709830339; x=1710435139; i=ps.report@gmx.net; bh=1kdR/IESD9tBcY7e5P3edZ9evTpwe5G8PjFUtLUOOQ0=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To: References; b=GBWyKKG8YtLGl3HJ9giG2qve8G4sJobE+kRuoz4QVRWFH87UHbiShcggWx/MI5tt +AlGDhVL36Xosxd65CaS6OjrQMa5uoO/p/FwY8eZEuzbelt3h3VbCAi5fzHn4zEeA 1A9Jsy1h1wub8w3MWqVrNLyYfluNmOfQEvNxzHBcIIff114d/W7LsaUyjBUSyYzt2 ariuxGLyBTCT82HQyaXNXqchdgq2xnBYGprJKCt/3LzQOnKNDuHWsbv7wusA4ks7O S/B3ykE1ipvAIyLL7GSbDwemtKXFd2aQrI0niq4aHQeXbWRahRnR0tFpahw0Cztbq +t2lVSk8F0TzPaqO6w== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.net X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=gmx.net header.i=ps.report@gmx.net header.a=rsa-sha256 header.s=s31663417 header.b=GBWyKKG8 Subject: [Buildroot] [PATCH v1 2/4] package/xz: determine all autoconf options X-BeenThere: buildroot@buildroot.org 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: , X-Patchwork-Original-From: Peter Seiderer via buildroot From: Peter Seiderer Reply-To: Peter Seiderer Cc: Samuel Martin Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Determine all autoconf options (with default values) with the following special cases: - sandbox: use 'auto' (which will compile detect landlock in case kernel headers >= 5.13) - unaligned-access: use 'auto' (which will default to yes for x86, x86-64, powerpc, powerpc64 and powcerpc64le and use compile detection for arm, aarch64 and riscv, see xz-5.6.0/configure line 21323 ff) Signed-off-by: Peter Seiderer --- package/xz/xz.mk | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/package/xz/xz.mk b/package/xz/xz.mk index e35fbc0268..a9e33bd3df 100644 --- a/package/xz/xz.mk +++ b/package/xz/xz.mk @@ -13,6 +13,46 @@ XZ_LICENSE = Public Domain, BSD-0-Clause, GPL-2.0+, GPL-3.0+, LGPL-2.1+ XZ_LICENSE_FILES = COPYING COPYING.0BSD COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv2.1 XZ_CPE_ID_VENDOR = tukaani +XZ_CONF_OPTS = \ + --enable-encoders=lzma1,lzma2,delta,x86,powerpc,ia64,arm,armthumb,arm64,sparc,riscv \ + --enable-decoders=lzma1,lzma2,delta,x86,powerpc,ia64,arm,armthumb,arm64,sparc,riscv \ + --enable-match-finders=hc3,hc4,bt2,bt3,bt4 \ + --enable-checks=crc32,crc64,sha256 \ + --disable-external-sha256 \ + --enable-microlzma \ + --enable-lzip-decoder \ + --enable-assembler \ + --enable-clmul-crc \ + --enable-arm64-crc32 \ + --disable-small \ + --enable-assume-ram=128 \ + --enable-xz \ + --enable-xzdec \ + --enable-lzmadec \ + --enable-lzmainfo \ + --enable-lzma-links \ + --enable-scripts \ + --enable-sandbox=auto \ + --enable-symbol-versions \ + --enable-rpath \ + --enable-largfile \ + --enable-ifunc \ + --enable-unaligned-access=auto \ + --disable-unsafe-type-punning \ + --disable-werror \ + --disable-year2038 + +HOST_XZ_CONF_OPTS = \ + $(XZ_CONF_OPTS) \ + --enable-nls \ + --enable-threads + +ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) +XZ_CONF_OPTS += --enable-nls +else +Z_CONF_OPTS += --disable-nls +endif + ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) XZ_CONF_OPTS += --enable-threads else From patchwork Thu Mar 7 16:52:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Seiderer X-Patchwork-Id: 1909387 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TrFj15Qqjz20Qg for ; Fri, 8 Mar 2024 03:52:37 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 76AEB41BB0; Thu, 7 Mar 2024 16:52:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xWWHl4yvX1lK; Thu, 7 Mar 2024 16:52:33 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org ADFB441BA1 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id ADFB441BA1; Thu, 7 Mar 2024 16:52:32 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 666701BF5AA for ; Thu, 7 Mar 2024 16:52:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id EDA6F82969 for ; Thu, 7 Mar 2024 16:52:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1MNuHxuza7OK for ; Thu, 7 Mar 2024 16:52:25 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=212.227.15.18; helo=mout.gmx.net; envelope-from=ps.report@gmx.net; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org BB60F82998 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org BB60F82998 Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by smtp1.osuosl.org (Postfix) with ESMTPS id BB60F82998 for ; Thu, 7 Mar 2024 16:52:22 +0000 (UTC) X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from localhost.fritz.box ([62.216.208.100]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MCKFk-1rZzWL3md8-009P9e; Thu, 07 Mar 2024 17:52:19 +0100 To: buildroot@busybox.net Date: Thu, 7 Mar 2024 17:52:17 +0100 Message-ID: <20240307165218.10027-3-ps.report@gmx.net> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240307165218.10027-1-ps.report@gmx.net> References: <20240307165218.10027-1-ps.report@gmx.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:oObgG97yCJalWwRUGpT7PknRu8IpKmQoSRwpz5GGwvXCvctXqZC I9kL4Aoo9Z/d0g6lzUuC84WJz77eFP5OLYJW9UCmJvGJWv9Cdt0uBrEbszzF1N0sTehYOvn eM1N8pOpoclWJCQakoaZixHHYH3uvY/o840A0IffMAqapXc3mua3EqNeoMlKfD/mB5hK/Pw 6kfglRqjPvSFubgk8z/0Q== UI-OutboundReport: notjunk:1;M01:P0:bWr/5UtiM20=;M3eIfQfGpbNoLX/GfJ+c+4Ic2ou zFnAkkq4txahEYjZJgyfwCAI/6v9uAIf0Bhqngg7imRzhe0zFy6HMfUZOywmDRpZ8URLnKB/K 2I/Ibyp+KhSNnv9KS9u/dTp7i9OLb64E12b74wLX2iYnhfYnCD9w0LAEx2vaiAwsErbtRXqoY iHMdcluXp1+HWc9jV9x8J0AVNZM9Pm0K5socWGeSvI/qQ+oZxZ6tb8Gn/9q91a6b8hasLDFvs QIeU6R8UTO9dg0VQb4pEZM+CITBU7hjrp+hEX/ZVzssti3MprjU4nOulmifiel7NNRfSfkQ4V hVVyMJKq2czNWHj3nMrc6jImvDOciRQSU7W2S+wmRbwQzEsglyxC8GDa9KvTy/8jY1hLWtRHv x7HOkq5KmXGaES63JKYGqqQhKK/XTFHFCGYqiXfhIYxdDZUb7GV7TRq8d9TCriByQWJa8J6fk zsnhB9/bpYOcf1HxdvFvQsecX3PUYQb38MQ3jku9FLyKOGdPrgGJgFN0V1i2UFX6AGvm9vN/Q U2fScfFkz/61VgYMq8xoMN3PZdu2T2YlR7g3D/8oXGJrmB0m1MHJZwZAO7atCS1is98ayBC1u RzGwDdq56ptGDLmARcG/+u+ueA92+d3pWlq21/zeXyiPDWZ0gpsxznE0qNVFe52Wu8EvWmQdn vfoYLUvPgeYpx4CKN1nBELRpfzg4voC5D0zhZ1/k1fqIABi77rRiKk2E4aNClGSEanIZUKbOV fFwvLS5Hp3e9amjfJY6LkrrlJwlhuNslp2y2qoQ6JHcZXnlfdbCGi7XlekL6Sj8fY1R3ovZRY n4d/YlkjItBM5P156bfR5R8VvEhzAsNP0SxKP0yrJovrw= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1709830340; x=1710435140; i=ps.report@gmx.net; bh=rmJ17Cf6lSr9JiN0vBqUgdbZ5Nuyf4KPkM8Keq0ZMUE=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To: References; b=fkpJH6is0uIic5eXbOpyrzHo56dBVkIcyemqSUnt7JMGHcJ83KeLhjxK+SGpF1Wa NSnY0JSf8rZavRyezwx52v++l3d0dMhgb62ea4TaZFxevWQ81KV60ONA1gTyeeDJk Csezz6wEF60K49oCGZBfZTTmr4gqBNyPyM/ZcQwOz0z9NxvrJgWHRLUAq5M59Yd7o tL2xOsoZu96fG+i9J0OssItz66WH9gxFemE0ZqsEwl5KA7s8T6b+amTEypeQaE49G 7Lid+OKogPZHD+l61s1q3hG22xOzZ8GuuYbjwAl1WXhCbknjsFfAyFdnqJR7S8vWD cmN3ypzwV5vZ/Ylf4Q== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.net X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=gmx.net header.i=ps.report@gmx.net header.a=rsa-sha256 header.s=s31663417 header.b=fkpJH6is Subject: [Buildroot] [RFC v1 3/4] package/xz: enable year2038 option X-BeenThere: buildroot@buildroot.org 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: , X-Patchwork-Original-From: Peter Seiderer via buildroot From: Peter Seiderer Reply-To: Peter Seiderer Cc: Samuel Martin Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Signed-off-by: Peter Seiderer --- Notes: - From autoconf-2.72 release notes ([1]): *** Support for ensuring time_t is Y2038-safe configure can now ensure that time_t can represent moments in time after 18 January 2038, i.e. 2**31 - 1 seconds after the Unix epoch. On most 64-bit systems this is true by default; the new feature is detection of systems where time_t is a 32-bit signed integer by default, *and* there is an alternative mode in which it is larger, in which case that mode will be enabled. In this release, all configure scripts that use AC_SYS_LARGEFILE gain a new command line option --enable-year2038. When this option is used, the configure script will check for and enable support for a large time_t. This release also adds two new macros, AC_SYS_YEAR2038 and AC_SYS_YEAR2038_RECOMMENDED. Both have all the effects of AC_SYS_LARGEFILE. (This is because it is not possible to enlarge time_t without also enlarging off_t, on any system we are aware of.) AC_SYS_YEAR2038 additionally flips the default for --enable-year2038; a configure script that uses this macro will check for and enable support for a large time_t by default, but this can be turned off by using --disable-year2038. AC_SYS_YEAR2038_RECOMMENDED goes even further, and makes the configure script fail on systems that do not seem to support timestamps after 18 January 2038 at all. This failure can be suppressed by using --disable-year2038. Changing the size of time_t can change a library`s ABI. Therefore, application and library builders should take care that all packages are configured with consistent use of --enable-year2038 or --disable-year2038, to ensure binary compatibility. This is similar to longstanding consistency requirements with --enable-largefile and --disable-largefile. In this release, these macros only know how to enlarge time_t on two classes of systems: 32-bit MinGW, and any system where time_t can be enlarged by defining the preprocessor macro _TIME_BITS with the value 64. At the time this NEWS entry was written, only GNU libc (version 2.34 and later) supported the latter macro. Authors of other C libraries with a 32-bit time_t are encouraged to adopt _TIME_BITS, rather than inventing a different way to enlarge time_t. - In buildroot there is already the BR2_TIME_BITS_64 config option ('Build Y2038-ready code'), which enables a system wide '-D_TIME_BITS=64' compile flag (and maybe should additional set '--enable-year2039' configure option for the autotools-packages?). --- package/xz/xz.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/xz/xz.mk b/package/xz/xz.mk index a9e33bd3df..64dbec8b2e 100644 --- a/package/xz/xz.mk +++ b/package/xz/xz.mk @@ -40,7 +40,7 @@ XZ_CONF_OPTS = \ --enable-unaligned-access=auto \ --disable-unsafe-type-punning \ --disable-werror \ - --disable-year2038 + --enable-year2038 HOST_XZ_CONF_OPTS = \ $(XZ_CONF_OPTS) \ From patchwork Thu Mar 7 16:52:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Seiderer X-Patchwork-Id: 1909386 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TrFhz2PPHz20Qg for ; Fri, 8 Mar 2024 03:52:35 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id B7C5A41944; Thu, 7 Mar 2024 16:52:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UkFV4MbyHO3p; Thu, 7 Mar 2024 16:52:30 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org A346841B67 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id A346841B67; Thu, 7 Mar 2024 16:52:30 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 7A7D41BF5AA for ; Thu, 7 Mar 2024 16:52:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 5DFF882969 for ; Thu, 7 Mar 2024 16:52:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i5bE-GDs5Hy4 for ; Thu, 7 Mar 2024 16:52:23 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=212.227.15.15; helo=mout.gmx.net; envelope-from=ps.report@gmx.net; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org B727F82951 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org B727F82951 Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by smtp1.osuosl.org (Postfix) with ESMTPS id B727F82951 for ; Thu, 7 Mar 2024 16:52:22 +0000 (UTC) X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from localhost.fritz.box ([62.216.208.100]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MMGRA-1rSGGI0Oak-00JKkw; Thu, 07 Mar 2024 17:52:20 +0100 To: buildroot@busybox.net Date: Thu, 7 Mar 2024 17:52:18 +0100 Message-ID: <20240307165218.10027-4-ps.report@gmx.net> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240307165218.10027-1-ps.report@gmx.net> References: <20240307165218.10027-1-ps.report@gmx.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:i6QEvhKxOtmH2OUjoGq+xmgRQ8W2TbLR4kO8TVQbhSevmuUuW8r 8SjamR+6EElpQ/18J40yNoxWdHSwb5D7gPqxFbOlhUHHmp1JLPirh0a36pxDZHOG3dovWjG ULaWXNGJ+bLCkBf+WoFzkCSyv0QOGZZIEZX2xLb2XQ2XLuXXjIGoQXVTJs9YWfHQqQBkNnU cbYQhwVVMJA8CojYnTwSQ== UI-OutboundReport: notjunk:1;M01:P0:+iXzbcedzy0=;lsqL8rOk8yKyyb+xMjPwKXKrRTX kgmVYjeLHR+JSV6A3WVngtJJ+yNsKjb9EY2XCx3rTakpr8kgK8BfxqxtCZB6paah6OY259GW4 0GXmQYLD1P3Sb/OkmC6ym1JbnEC14+wzonccHhtXXO8a94x6l/P/ZyugLZkVEwb7pHo5iiNmd TlxGKjmQeqFBF2PHKrcENCk+mWq2y9s9PVzCGXcxfU7TxPx5I4Ynw385EZFvmU1CYSh6EU76z e6NiUyKUyKwMlfzHcv2qK8dkDSUFO0hZobPOqMnOQESrJQpOabKE2gs8X4GWGINqNyFM46OlU LxRaN+C7QrcBKfmGIUl7xQuKYD9L4SgMYMn3FQc8nMGqrPgPOY/hOVMgcezJfeBeb/MceIHUn eQVXTx2pxD+QNPjtOQjUPzYXVAHpTi6YSqIl4Fx2040NWrpstvC2mWLTzcIEFMMudvBHUXvMi guPum18n/AESMDyjAzsfjtCnOY1lEr4r46PjlY177M6gOTKqNWfhePn1mnhfsYR3hamd2FAtq jcHmgc21ME5A6zc2BC7xNgY6e9ISVUJUGdKoeZ/PVcOJKtNzY0wdCfZx0+gsE+UR/rzQGRdoe WowMxMxM2+2oc65tiFnhgbO04tZa4VNGF73Si+YZupAwmLKKu7X6O5gk+/RlqTvy1PA9ghtcp h0krtgD3cF8ce+W3/oaEdm8Kqh1s2cgdX8AORxuSzVana96ERbN7w4v1YjOxW6o5hqeXikW2O qshnZMJo7rPr0zcCmUcvfUt9Om8AQ4tUDH8pWyHH38u5vLSbcIwb7B2VhMlffv5ceVchtedHz 5UuE3nQHbHAMQa3bBoKyXho1mVvkHoQ+dMPgvo9XdlsGw= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1709830340; x=1710435140; i=ps.report@gmx.net; bh=vsTzfj+gf2CelyQ5tQ4H7kv80ovQRUcbbJiBt7v4pcc=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To: References; b=lJGBRoyyj2WPkRdA/7KkR4u9lu+loFMMpN5CB8ayZVT/ngKK6dI+Gn9XECC84h89 FJIDEE7xa1qVtNv+lxhgiL9a55xYGYmRDSqPPlWYIqii3Z1O+JScHi6QUZJNsjfNp y9OMTUt8qBnzWsoi/95+Kui21CpTvvvnOnVU8ZjqpaUMD/OkCzl4essBOWghnZrbj APBPtLQKQOdsN8zhX75NW36yss+VhCi+K7P/ztrKh1JCrh62CdUlLhpRS20CoxEVC cEJVVOxtzvsbgCRds0EucG5nGL0FEqo/ruKRtN92P2vyFkEpBuGPyAmrJ0eJWRHOw ttBduPbT7Ky8MJl5zQ== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.net X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=gmx.net header.i=ps.report@gmx.net header.a=rsa-sha256 header.s=s31663417 header.b=lJGBRoyy Subject: [Buildroot] [RFC v1 4/4] package/xz: convert to cmake build X-BeenThere: buildroot@buildroot.org 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: , X-Patchwork-Original-From: Peter Seiderer via buildroot From: Peter Seiderer Reply-To: Peter Seiderer Cc: Samuel Martin Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Convert to cmake build with the following autoconf options without direct equivalent cmake option: - '--disable-external-sha256' - '--enable-assembler' - '--enable-assume-ram=128': hard coded in the CMakeLists.txt file 1685 target_compile_definitions(xz PRIVATE ASSUME_RAM=128) - '--enable-scripts' (see [1]: 'CMake: xzdiff, xzgrep, xzless, xzmore, and their symlinks are now installed') - '--enable-symbol-versions': hard coded in the CMakeLists.txt file 1247 target_compile_definitions(liblzma PRIVATE HAVE_SYMBOL_VERSIONS_LINUX=1) - '--enable-rpath' - '--enable-largefile': see CMakeLists.txt 233 # Check for large file support. It's required on some 32-bit platforms and 234 # even on 64-bit MinGW-w64 to get 64-bit off_t. This can be forced off on 235 # the CMake command line if needed: -DLARGE_FILE_SUPPORT=OFF 236 tuklib_large_file_support(ALL) - '--enable-unaligned-access=auto': see CMakeLists.txt and cmake/tuklib_integer.cmake 238 # This is needed by liblzma and xz. 239 tuklib_integer(ALL) - '--disable-unsafe-type-punning' see CMakeLists.txt and cmake/tuklib_integer.cmake 238 # This is needed by liblzma and xz. 239 tuklib_integer(ALL) - '--disable-werror' - '--enable-year2038' [1] https://github.com/tukaani-project/xz/releases/tag/v5.6.0 Signed-off-by: Peter Seiderer --- package/xz/xz.mk | 59 +++++++++++++++++++----------------------------- 1 file changed, 23 insertions(+), 36 deletions(-) diff --git a/package/xz/xz.mk b/package/xz/xz.mk index 64dbec8b2e..1064d6a586 100644 --- a/package/xz/xz.mk +++ b/package/xz/xz.mk @@ -8,55 +8,42 @@ XZ_VERSION = 5.6.0 XZ_SOURCE = xz-$(XZ_VERSION).tar.bz2 XZ_SITE = https://github.com/tukaani-project/xz/releases/download/v$(XZ_VERSION) XZ_INSTALL_STAGING = YES -XZ_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' XZ_LICENSE = Public Domain, BSD-0-Clause, GPL-2.0+, GPL-3.0+, LGPL-2.1+ XZ_LICENSE_FILES = COPYING COPYING.0BSD COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv2.1 XZ_CPE_ID_VENDOR = tukaani XZ_CONF_OPTS = \ - --enable-encoders=lzma1,lzma2,delta,x86,powerpc,ia64,arm,armthumb,arm64,sparc,riscv \ - --enable-decoders=lzma1,lzma2,delta,x86,powerpc,ia64,arm,armthumb,arm64,sparc,riscv \ - --enable-match-finders=hc3,hc4,bt2,bt3,bt4 \ - --enable-checks=crc32,crc64,sha256 \ - --disable-external-sha256 \ - --enable-microlzma \ - --enable-lzip-decoder \ - --enable-assembler \ - --enable-clmul-crc \ - --enable-arm64-crc32 \ - --disable-small \ - --enable-assume-ram=128 \ - --enable-xz \ - --enable-xzdec \ - --enable-lzmadec \ - --enable-lzmainfo \ - --enable-lzma-links \ - --enable-scripts \ - --enable-sandbox=auto \ - --enable-symbol-versions \ - --enable-rpath \ - --enable-largfile \ - --enable-ifunc \ - --enable-unaligned-access=auto \ - --disable-unsafe-type-punning \ - --disable-werror \ - --enable-year2038 + -DENCODERS="lzma1;lzma2;delta;x86;powerpc;ia64;arm;armthumb;arm64;sparc;riscv" \ + -DDECODERS="lzma1;lzma2;delta;x86;powerpc;ia64;arm;armthumb;arm64;sparc;riscv" \ + -DMATCH_FINDERS="hc3;hc4;bt2;bt3;bt4" \ + -DADDITIONAL_CHECK_TYPES="crc64;sha256" \ + -DMICROLZMA_ENCODER=ON \ + -DMICROLZMA_DECODER=ON \ + -DLZIP_DECODER=ON \ + -DALLOW_CLMUL_CRC=ON \ + -DALLOW_ARM64_CRC32=ON \ + -DENABLE_SMALL=OFF \ + -DENABLE_SANDBOX=ON \ + -DUSE_ATTR_IFUNC=ON \ + -DCREATE_XZ_SYMLINKS=ON \ + -DCREATE_LZMA_SYMLINKS=ON \ + -DBUILD_SHARED_LIBS=OFF HOST_XZ_CONF_OPTS = \ $(XZ_CONF_OPTS) \ - --enable-nls \ - --enable-threads + -DENABLE_NLS=ON \ + -DENABLE_THREADS=ON ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) -XZ_CONF_OPTS += --enable-nls +XZ_CONF_OPTS += -DENABLE_NLS=ON else -Z_CONF_OPTS += --disable-nls +XZ_CONF_OPTS += -DENABLE_NLS=OFF endif ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -XZ_CONF_OPTS += --enable-threads +XZ_CONF_OPTS += -DENABLE_THREADS=ON else -XZ_CONF_OPTS += --disable-threads +XZ_CONF_OPTS += -DENABLE_THREADS=OFF endif # we are built before ccache @@ -64,5 +51,5 @@ HOST_XZ_CONF_ENV = \ CC="$(HOSTCC_NOCCACHE)" \ CXX="$(HOSTCXX_NOCCACHE)" -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) +$(eval $(cmake-package)) +$(eval $(host-cmake-package))