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 X-Patchwork-Id: 817400 Delivered-To: patch@linaro.org Received: by 2002:a5d:4e11:0:b0:367:895a:4699 with SMTP id p17csp408261wrt; Wed, 7 Aug 2024 07:05:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWy6V6CcquPVd3W8bT2HQjZSMgllP4fu5PYwuRh1BnX5jem9coMfjHU32Sr28kALMFXYNJjunE4+U6J6f/wvhlr X-Google-Smtp-Source: AGHT+IG6TKWxI1tj3IhdAtjFNyHatYtRaQ3442rHI/7qYNkR759YmhxPrRusLNjfA5CgL3kYaa3O X-Received: by 2002:a05:620a:4048:b0:79f:932:86e3 with SMTP id af79cd13be357-7a34ef0a4d0mr2274795285a.19.1723039503729; Wed, 07 Aug 2024 07:05:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1723039503; cv=pass; d=google.com; s=arc-20160816; b=yFC74VRxqG0TP6SVYQ0KIFWqFhaa82qQrZQfr5cJ7Oczh1lT+tCWTQUlA0VfH70Rv3 6CkMYrgh6FLWLslLNhV+N2vjKSCHkaomm0fKP22WD2+IkCEJ4veIGif3AIpxo3E8++jR nZwck8R2X7IEaCjAkQQy0znAO8Bakovg4xhoWGFDt6+IhorUH+AEQ6goiaeT5TtFZq8Y dwPGIotyYgCJo26zAlwOTUQF0H4Tnyrn3n+mQGoXb7KOQyEPEhcX0GRF7JpyAbxjYoUU r/mFxy94HABuZ/j13fQ3zFe5HTJhV592bDYW4m2SD8jiKFW/zTI0NM4owknWyrrOW2QD b8Hg== 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:message-id:date:subject:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=JJbC9nwPcOwrFUBq3+8mVNpFzPznxUXQRJXFnedPivY=; fh=dHLBnA+MhGtNtN2B2JMAELi4oD+gmgMg7DL8H0jYbkI=; b=xFLa6rP7Bwpz4E0tPpXsfkN9BDkT3rFw6oiw7O0IV5xKbw1hTNBgrPKb0A9VOWW2Q0 8+qyBWVg2oneGvOBJCTRFr3yi6kxSDUW5qSX6SO+hWaBmKsnME010e6KHX5VqFGGekb3 W9IUXrmTFdpy3rxaWPJ2X0bJoye2ovA+Vgl5QhdrXcE0qW2dH+7HMfkvx/GSkfNMmiaP gjIBaNWfiTprEaoti5wKWMMzsnoVDF9iqkhFOevQW61Icc7ZH4trZKk8yZZi7E3UImjr azlIfNRX77dbI9RFzG5j+XFeQN3TLPgb2pJ3UmVsahY+hnKgV4SC1XCA/YfNtTU+aQgq d3yA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VK+9o5FW; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c 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. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id af79cd13be357-7a3786161a3si165469385a.159.2024.08.07.07.05.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 07:05:03 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VK+9o5FW; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c 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 55A93385C6C2 for ; Wed, 7 Aug 2024 14:05:03 +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-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~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 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