From patchwork Wed Aug 7 14:04:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 1970045 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=VK+9o5FW; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (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 4WfBlF2SCyz1yfM for ; Thu, 8 Aug 2024 00:05:13 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 09A4B385DDCA for ; Wed, 7 Aug 2024 14:05:11 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) by sourceware.org (Postfix) with ESMTPS id 0351E3858C41 for ; Wed, 7 Aug 2024 14:04:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0351E3858C41 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 0351E3858C41 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::52c ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1723039481; cv=none; b=MzArnkzAYeLzXwSc3pkx24aOFzYgZ+xPapTchglXPaoEaab8d+RJvGHTc+PD/L3C1WdB30zwAdqiimd2kPpZgodag6jO4PQY7cX3IF/ZErlRFkoP4G6u4a3PSrt7eXfkVtrPTzwrPUP91dj7C5e6twO0IsyHbw0uB8zgM3gBVPI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1723039481; c=relaxed/simple; bh=fvOpKEKRbWu9EAmLE4e52SnpDCvQZgdY5pUdbblLG6w=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=R307YQdfmixG9dAaPRIneYGaQU2UKcCfig3/Epc+FQi8M/gmjqEeToIZOPgre/WDiCW5uQZ0TxRIDnTs/aSfwpFJkycCLWjlGy7g8/Eb3XC5WYz+IskLdsJ/2YV1zdFqY4IPkitKH9Hj6bdUL5LzBJs8usunMPlxq8ssc9tp60Y= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-7ae3d7222d4so1412088a12.3 for ; Wed, 07 Aug 2024 07:04:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723039476; x=1723644276; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=JJbC9nwPcOwrFUBq3+8mVNpFzPznxUXQRJXFnedPivY=; b=VK+9o5FWw83srl/P/Ac5BDr58o4iij0T+Gry0/FlB3d/JFrtMBFEhhEVvEAmUHGIk3 QcQ0LoAxqHSSKVia6N6rN4DRFaN5aICiOjj8rgxzGABL9Jb4/DmE3uCuh7R0vPBq6HRX V4HDXjE6NchFXdQHL4xKeh3aCtgHfy5DaEuNamt5o9oYG90VGBGPGywPLIbcIl8shXwr MX5WyjpwUoI2kzu9MMJHQjBegBmmc+PRYdUKmIl2+T0zIMULWNi23gXhN6Y2bt6Xm2p3 h9HBezsb/p0tdhMJHIpVIIWFL2qEva0lg8A57vPwN55OmWqi7/jQ9UyPVO+Dam/ot8dG bFNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723039476; x=1723644276; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=JJbC9nwPcOwrFUBq3+8mVNpFzPznxUXQRJXFnedPivY=; b=hWEQBFGrM0QPTLWlapyPpGTutj7olNLma70xDgnvfopu73frZKN5PhMH1ouGMhH8AU woNuraGjf+wkcBsDnU/uEEzXJ33VNzu4fhezUxC90P/3vSSZPpePA5Vz1GfDAj0ZPeYL yR6HnmGGYA/l4y6nIvLKV4cO2DKkqerOqGEad7OhabiEiHRQUGQvsKs5JO9Gm7qjpvw3 zXb52NG1oHW1GAxzclWhdyKLLdpI0udg4gn01dM3w9ThWfTqJiI6XuA6rPe7NbOXelIr B9qTejSQ/tIqy6votl/xuKQWWFaJvgn5nSkUKBskfbRNnM6i/sj+I8rJ55ble2pckhiI cIdA== X-Gm-Message-State: AOJu0Yxf8SpvynQXqSVEuYdmB9TcT2ygprJVzFy5S0qiaGNKbQcTLsgl LGfV8Vv3zDLW4dQXcbJ6zYEPg0eYGuB8Ad9PTgXibmNF2ol0Wbuf6uW7efNN3OLGZMZuucqVN4d X X-Google-Smtp-Source: AGHT+IHJ/ddosUi99vATER46Ss9UQc2UKYy+Xj9W5WN2WRzbmzehKvxR/TKxJr0M04qmShKIpOP9yg== X-Received: by 2002:a17:90a:dd95:b0:2c9:95c7:7521 with SMTP id 98e67ed59e1d1-2cff93d3805mr22917674a91.1.1723039476335; Wed, 07 Aug 2024 07:04:36 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c1:a5f6:164d:db11:5812:d8e3]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2d1b375a1d3sm1606544a91.55.2024.08.07.07.04.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 07:04:35 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [COMMITTED] sysdeps: Re-flow and sort multiline gnu/Makefile definitions Date: Wed, 7 Aug 2024 11:04:32 -0300 Message-ID: <20240807140432.401735-1-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Spam-Status: No, score=-12.8 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 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~incoming=patchwork.ozlabs.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 c89eb8ed1c..d23ded40a0 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