From nobody Tue Jun 23 20:19:52 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 62491C433FE for ; Sun, 27 Feb 2022 09:04:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229489AbiB0JEv (ORCPT ); Sun, 27 Feb 2022 04:04:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbiB0JEu (ORCPT ); Sun, 27 Feb 2022 04:04:50 -0500 Received: from conuserg-07.nifty.com (conuserg-07.nifty.com [210.131.2.74]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C50A4EF47; Sun, 27 Feb 2022 01:04:13 -0800 (PST) Received: from grover.. (133-32-176-37.west.xps.vectant.ne.jp [133.32.176.37]) (authenticated) by conuserg-07.nifty.com with ESMTP id 21R93gHs015379; Sun, 27 Feb 2022 18:03:43 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com 21R93gHs015379 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1645952623; bh=SOnJgFa6V3ZI1dsgC2zXzWcRks3lO0Eg8LmrKD8Eilk=; h=From:To:Cc:Subject:Date:From; b=GKAqkaAc/9aR/KwlaebLRJRMTPFbiBMdorHCH1vx8NcimDkPKZNUYpFgiKUI79Xj3 kpv4RO1raPz8XREyCVRBnuGWMEBQ1os2gsOqE1Z30oZYWVTKfnBd96Xm/s0jUUcMUv QeUkKvcIZY8I8Ko8u6qTQXb9ppL2xJJ/yP3t8jgWcE3bafW8YUDIlU6QLGgF5AbNyQ EM67lBHmieAdSy22UmQGuNvFOzKm1WTSV2xPS7SyQpUDRn0yvALPKFqZgIUZgF42I8 wxjGow1wyHJSzinFNFG0mh0NQBQLPaNIOLcPULwBZI2HxwAyLOHaSwHy9kXiIzNT9J tphybGv03bnxw== X-Nifty-SrcIP: [133.32.176.37] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH] usr/include: replace extra-y with all-y Date: Sun, 27 Feb 2022 18:03:35 +0900 Message-Id: <20220227090335.207130-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" extra-y is not run for 'make modules'. The header compile test should be run irrespective of the build target. all-y is a better fit. Signed-off-by: Masahiro Yamada --- usr/include/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/include/Makefile b/usr/include/Makefile index 5bc0d566cfe0..758df4058814 100644 --- a/usr/include/Makefile +++ b/usr/include/Makefile @@ -95,7 +95,7 @@ endif # asm-generic/*.h is used by asm/*.h, and should not be included directly no-header-test +=3D asm-generic/% =20 -extra-y :=3D $(patsubst $(obj)/%.h,%.hdrtest, $(shell find $(obj) -name '*= .h' 2>/dev/null)) +all-y :=3D $(patsubst $(obj)/%.h,%.hdrtest, $(shell find $(obj) -name '*.h= ' 2>/dev/null)) =20 # Include the header twice to detect missing include guard. quiet_cmd_hdrtest =3D HDRTEST $< --=20 2.32.0