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: 79500 X-Patchwork-Delegate: fweimer@redhat.com Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4A3193857036 for ; Thu, 9 Nov 2023 17:01:51 +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-Google-Smtp-Source: AGHT+IFVY/UT4+nojJbhPa6ITHaXXWNYsUMNVN500DbUB1WLEof4cypOCNY8+cYWBfDeL1nbfkx4Ag== 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+patchwork=sourceware.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