Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1375616pxj; Wed, 19 May 2021 04:51:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJrjM7ozmXu5druNdgmEkCJl9X8gft3QTg69hKT9kvrgwHFo2cTiY/s36zNUWLpVqVVwqS X-Received: by 2002:a17:907:1b20:: with SMTP id mp32mr12334560ejc.495.1621425064355; Wed, 19 May 2021 04:51:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621425064; cv=none; d=google.com; s=arc-20160816; b=GpylQyE913QPThvBAIqIY7Ils8Y3snumATQrdm8g1sZHJvt97y7d9zxp8o3uK2T647 4mgTajHbeBlpkfp7wTxCkY3nQD0KjgRJcCn3FD5ovHeFgMzDSeWHLuFXlP0DmLWiSyT4 ztiFQ3d/TIt/FYsFCJIcOFrBAOm683XIfeh1tAoTwBq+1GkWkGLExn74gXxWzIQNnT0d FpLx83rwZkON5zPnsbzAhOBDIyZ9dTdUzuYNzWCevHYbLIutmc4i2cO+ZMAas7rQDUrA IYklGuVE2d6hsPv4V+VpMbRpjYHX1PribLjsy9qdHAylofUnZcujnzPBJPk9CO/l0Tpz CIAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:user-agent:date:message-id:subject:from:to :dkim-signature; bh=edTAC+VberfNzmpERBE9GVjs5mtrV8JaHhvqsq7uIFU=; b=f+6/FWBQbnL6U0EGC36I0CG43ZUUbzArB99D3OcC+infXaK7Bt/Yil9gVx2gOsa8tA RT89yNbTnmw50ALKEyRwXkVl/9K2GebfKA5uySN8PB4JndvceD8ZrtLIFVgo0ToBOo7x UdpOoSi8HDV3QGG7czNq57QcuqIH4Rd8LWl4F/qgTd1H5h8xomQFlOGq0nBFDVJTtvw4 zIg6IuBJBeKTPwHCpJWjcPF80bh1nA2iw2JoBvpCphqaXFpJvtCKRgaNLLZdIXRuUMoD vBPzp8q5DsZt90yZujSOT5BSEJYTAsIemaimfO1NUQQA9aqy2pfc9eyaiaSge7W8Pe+O VoCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@landley-net.20150623.gappssmtp.com header.s=20150623 header.b=dLuJJej8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s18si23682299ejh.110.2021.05.19.04.50.40; Wed, 19 May 2021 04:51:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@landley-net.20150623.gappssmtp.com header.s=20150623 header.b=dLuJJej8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344893AbhEREcB (ORCPT + 99 others); Tue, 18 May 2021 00:32:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239763AbhEREcB (ORCPT ); Tue, 18 May 2021 00:32:01 -0400 Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5155C061756 for ; Mon, 17 May 2021 21:30:43 -0700 (PDT) Received: by mail-oi1-x22d.google.com with SMTP id v22so8594860oic.2 for ; Mon, 17 May 2021 21:30:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landley-net.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=edTAC+VberfNzmpERBE9GVjs5mtrV8JaHhvqsq7uIFU=; b=dLuJJej8/uEvpBeGhA1/Y5GsGsMFYUb/0EpYi6VrxMEsPJDrwau71hC9S9lRuH1IOk dFhwzmE9tIkNpO72l4uL612FG4Zug54KwbTPgz1iX5iwvzU0aaPwt8xo8yuvf8IlA+pi tk1mxusnY/enJDT9/0PutctBU475awvAap+Q8hW6ondtgnBnBc/mVEwnGersCBtZUol7 Bo9od8yNmsNzVmQka6iDvM8tXqB+RdmSMgiUBloAzxZyj3ccCXO7tLny+Hxb07+7Cjuc iH8rOphOk6OhoEoeRCXqHtiQndHa9BEtelnN/ZUinVzuJZ7P3hF9mEY7zXteIQ6OqUnu RnLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=edTAC+VberfNzmpERBE9GVjs5mtrV8JaHhvqsq7uIFU=; b=o4XXOZukmRsUHBykFJhnNcKKmlIWRPqKzP7/fcxRXW5sZHIAbq113qG9ThBrzhXifC neI0x0dZ04a9990aAiUQrBbEQd6+34R4LvEIy2i2AlVvSOvHMoFP2JGpWKSo6Z7w0V/d inY16aBPsQhuCHgUnZpaJ16V0YxE9Erwc4dcLUND3bS4wQ0+hSozzZMHWyBYdQs+icb1 yzu68ZUdDaoDDPZaF/vDbtkYuf9NzTtoWGS4b+csmu2dQOfQpLBjgCfjBpxq0diYORvM YPWW44YqyxDE2kqjjQJEiqvvwMLwmjurrDg7hHgplQ68cNZ2ELsStCO6YcBv1k8OkWPQ 8i0w== X-Gm-Message-State: AOAM530jpss+pLiONv42dSXdv68HdF32i2fV4XJunJtMA2QWRtyACOeO K+B895ykwaOcBkuCn5ZuVLmA+BmdXxigdso4 X-Received: by 2002:aca:c685:: with SMTP id w127mr1961677oif.89.1621312242855; Mon, 17 May 2021 21:30:42 -0700 (PDT) Received: from [192.168.86.127] ([136.62.4.88]) by smtp.gmail.com with ESMTPSA id w66sm3492578ooa.37.2021.05.17.21.30.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 May 2021 21:30:42 -0700 (PDT) To: Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Alexander Egorenkov , Philipp Rudo , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org From: Rob Landley Subject: [PATCH] Replace use of perl with sed and tr in s390x build. Message-ID: Date: Mon, 17 May 2021 23:46:44 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rob Landley Commit 246218962e21 in November added a perl dependency to the s390x vmlinux build, complicating the "countering trusting trust" build approach ala http://lists.landley.net/pipermail/toybox-landley.net/2020-July/011898.html Signed-off-by: Rob Landley --- arch/s390/boot/compressed/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/s390/boot/compressed/Makefile b/arch/s390/boot/compressed/Makefile index de18dab518bb..e941b165bd4f 100644 --- a/arch/s390/boot/compressed/Makefile +++ b/arch/s390/boot/compressed/Makefile @@ -33,7 +33,7 @@ $(obj)/vmlinux.syms: $(obj)/vmlinux.lds $(objtree)/arch/s390/boot/startup.a $(OB quiet_cmd_dumpsyms = DUMPSYMS $< define cmd_dumpsyms - $(NM) -n -S --format=bsd "$<" | $(PERL) -ne '/(\w+)\s+(\w+)\s+[tT]\s+(\w+)/ and printf "%x %x %s\0",hex $$1,hex $$2,$$3' > "$@" + $(NM) -n -S --format=bsd "$<" | sed -nE 's/^0*([0-9a-fA-F]+) 0*([0-9a-fA-F]+) [tT] ([^ ]*)$$/\1 \2 \3/p' | tr '\n' '\0' > "$@" endef $(obj)/syms.bin: $(obj)/vmlinux.syms FORCE