From patchwork Thu Nov 9 17:01:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 742591 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:110f:b0:32d:baff:b0ca with SMTP id z15csp948852wrw; Thu, 9 Nov 2023 09:01:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IHaUHEoJy37B39CZ6cAogdLk2OtI6X/HAkfZD66zEtla8cqcdPKsoRdxD3WppiJjez65v0O X-Received: by 2002:a1f:13d4:0:b0:48d:5be:2868 with SMTP id 203-20020a1f13d4000000b0048d05be2868mr1000046vkt.0.1699549301945; Thu, 09 Nov 2023 09:01:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1699549301; cv=pass; d=google.com; s=arc-20160816; b=wP4syVSSH+q9Xf+AmqDk5N4nQY9tpE7Vwgw96nZ0gdi8Xw3riaH5z6P7UBQ+fjSrfX d/EYmXMpQLvmQ5mnv3hgg9ZEH4HQTNkjS0tVtL7rBnGDQWbUoPnmJmpsOSdZWQeOXYMC 3dR2ECogNesYaxwEe5DORNg7q5ObtE92CUqu1F31vwomDmSjH0nlXKBjlGq6a1V5jcuM OnoDLYvGpIMUg0YpGJxnhn9NOQaY70ETwaU7YZzF2mqL2iHqBgfqC6S5yi3dTiMZE1gB TZckZLCHq/+Jhu1kCDtGzxMX3QbQC3OJoQCtBpULbkJRRmVDnNLmzyIrbc++v+B/KdIG KGeg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=jsvSLuHPF6niL1AqmZa+rtmwX50Oiz6GyNbTCARFa9g=; fh=fq2Ky9f6Dg8qjjpo41Z/BRRk7u3oLbm9GsWCqFmLBK0=; b=dCqyuVSqkKrXCsONPcnhv8u8wpWCzWAt/i6vP9lMXddyjl2oFhwLVljV1OJ6fYDbQk fBkldj8MsNZiT7UbAY0rMU6DtS508duz0X24QRfPL5CNqf9GhCKJCbv2YTPH2h6sXuWS 1CsHhbjqcWvpRLZ5ZkVgjZzPHlFutl3UkXiH/B8XQuZYALJdK8yquCrPKeX4zlKYp7Mo o+xtLeJHs7oM+IBRMioWCLm5yQ/vxYdBis5VkxlleV/Twofai5vKxAt04bAtqvqFNcop gqcGuSMBMSc9nyBJFQoqIrRMEfGr1tf+7ltpAQ7VT1qtv5YnulB6XyHIbsYv/ShwA8tp 6CRw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=f4GjS9wI; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="libc-alpha-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id t194-20020a1f78cb000000b004a8fdb91448si1549169vkc.310.2023.11.09.09.01.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Nov 2023 09:01:41 -0800 (PST) Received-SPF: pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=f4GjS9wI; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="libc-alpha-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 75AE63857343 for ; Thu, 9 Nov 2023 17:01:41 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by sourceware.org (Postfix) with ESMTPS id DE0183858D38 for ; Thu, 9 Nov 2023 17:01:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DE0183858D38 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DE0183858D38 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::635 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699549290; cv=none; b=LNgxxBF5vYJ7QJfS6Og0ana/gm+kqmNH4nZsXQVizHPJG+GQEWBLJRUZp/EYC0+mJ4xHqVDyGYz9N1GSTRhumTJvsoBWcywyRbE+Bq3BTTs9ooi/UESEYzoMZXtWPanjIY9cJWqowTFHM09zlMUJrH0VttLK0d5N4wlz9xYy9xM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699549290; c=relaxed/simple; bh=FdpqNCgwoFpCGJBe0sSuf800QX0fyyYCFG9z+jbE+nk=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=QDlxholk91+2YnbogJEKNhx7bDNivko3dBp3Fd2AsV4U88BnSgdpBfos5Qc+upVW9+P/+/rhr8hpNQwkXNSpcogx3Mp/38YItyxP4KITkUb2nCdTXWBs86il2VPwk14C9f+YGUBMWH51PTlCE9HlNWrY7X7OB1678wntAYZkDDQ= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1cc53d0030fso9842745ad.0 for ; Thu, 09 Nov 2023 09:01:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699549287; x=1700154087; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=jsvSLuHPF6niL1AqmZa+rtmwX50Oiz6GyNbTCARFa9g=; b=f4GjS9wIHkAySNKiV9m645N+dG3efNIVvfWplVXTGwY8Oap8MmZJMmX/ti+Pm122CZ eJ5Y3miyNI5ThJGM+mJ1DRaFCK5RsCcOvejpxsuBjCIU2gzNXAdgLYMb0m3CNnRoM3Jq lujWhhiPxlzTNRQbT2j1MheCKrK3xxUHQ+f1TCrpsbibBkmljwje/DwfIZ8A80lMGeee i7VNpSPofIvEz6SG0hw1KKiQw0Ng7WuLD4bIZe9TZmXNa/zqyvwUpxx1Ot04VEe3ei6/ ALs/Lcv80yu0e9Y8Nrk5MxzDyLrX7JJ/l75Ndm/rCGDoYXQAtaXR4O/txQRJCOhFY+YH TVTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699549287; x=1700154087; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jsvSLuHPF6niL1AqmZa+rtmwX50Oiz6GyNbTCARFa9g=; b=GwR7U+0ONwh2YiVzSrpJQCc3ycOpvWbnCo+z+QJqCMbgQlNOKvlbVovbyc4qCpIWeV KP0QtvNMZX6ZCBtB3OyWoRLab+sBX38imu7HlOBPR4/y1rxUM6s/YFLaoyIe0tpLpSQY s54aKFFR/IPD43JXQWdwI9p9IKCoIUHpMtnZvbeZ8n3p/7w3r5zqOiIAqtdqNRjAQLsP zbIupJVsEdr6YOcIHXvj4/X7R6FsRzotOnm4lEPsQWygNxIXY0KYcxzufv0ANeQLFhaV ir7HBVI9PS/3yziKGkly/O/RX2xOEOw81FH5sXN5+BXRqsQ+u48DD/KLfE4UWXyyvdy7 tLXw== X-Gm-Message-State: AOJu0YyeXv7CLxftNGfxzPRG2v131Qs5kakdXykieJCdKsib79s2dxwM uqZmHjos+Bjl+KHRltUzU+mnbSMFv9noc+PIwu4Drw== X-Received: by 2002:a17:902:d505:b0:1cc:58f6:5347 with SMTP id b5-20020a170902d50500b001cc58f65347mr13698210plg.34.1699549287395; Thu, 09 Nov 2023 09:01:27 -0800 (PST) Received: from mandiga.. ([2804:1b3:a7c0:a715:4c3a:174b:ee6:b242]) by smtp.gmail.com with ESMTPSA id y13-20020a17090322cd00b001c3f7fd1ef7sm3783556plg.12.2023.11.09.09.01.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Nov 2023 09:01:26 -0800 (PST) From: Adhemerval Zanella To: libc-alpha@sourceware.org, Thorsten Kukuk Subject: [PATCH 1/3] sysdeps: Re-flow and sort multiline gnu/Makefile definitions Date: Thu, 9 Nov 2023 14:01:17 -0300 Message-Id: <20231109170119.1664204-2-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231109170119.1664204-1-adhemerval.zanella@linaro.org> References: <20231109170119.1664204-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+patch=linaro.org@sourceware.org --- sysdeps/gnu/Makefile | 54 ++++++++++++++++++++++++++++++++++---------- 1 file changed, 42 insertions(+), 12 deletions(-) diff --git a/sysdeps/gnu/Makefile b/sysdeps/gnu/Makefile index d8d2b6e39f..1143abfc4b 100644 --- a/sysdeps/gnu/Makefile +++ b/sysdeps/gnu/Makefile @@ -16,37 +16,67 @@ # . ifeq ($(subdir),login) -sysdep_routines += setutxent getutxent endutxent getutxid getutxline \ - pututxline utmpxname updwtmpx getutmpx getutmp +sysdep_routines += \ + endutxent \ + getutmp \ + getutmpx \ + getutxent \ + getutxid \ + getutxline \ + pututxline \ + setutxent \ + updwtmpx \ + utmpxname \ + # sysdep_routines -sysdep_headers += utmpx.h bits/utmpx.h +sysdep_headers += \ + bits/utmpx.h \ + utmpx.h \ + # sysdep_headers endif ifeq ($(subdir),inet) -sysdep_headers += netinet/udp.h netinet/ip_icmp.h +sysdep_headers += \ + netinet/ip_icmp.h \ + netinet/udp.h \ + # sysdep_headers endif ifeq ($(subdir),misc) -sysdep_headers += sys/mtio.h +sysdep_headers += \ + sys/mtio.h \ + # sysdep_headers endif ifeq ($(subdir),csu) -routines += unwind-resume -shared-only-routines += unwind-resume +routines += \ + unwind-resume \ + # routines +shared-only-routines += \ + unwind-resume \ + # shared-only-routines CFLAGS-unwind-resume.c += -fexceptions -fasynchronous-unwind-tables endif + ifeq ($(subdir),rt) -librt-sysdep_routines += rt-unwind-resume -librt-shared-only-routines += rt-unwind-resume +librt-sysdep_routines += \ + rt-unwind-resume \ + # librt-sysdep_routines +librt-shared-only-routines += \ + rt-unwind-resume \ + # librt-shared-only-routines CFLAGS-rt-unwind-resume.c += -fexceptions -fasynchronous-unwind-tables endif + ifeq ($(subdir),sysvipc) -sysdep_headers += bits/ipc-perm.h \ - bits/types/struct_msqid_ds.h \ - bits/types/struct_shmid_ds.h +sysdep_headers += \ + bits/ipc-perm.h \ + bits/types/struct_msqid_ds.h \ + bits/types/struct_shmid_ds.h + # sysdep_headers endif