Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp861239rwr; Wed, 26 Apr 2023 07:17:01 -0700 (PDT) X-Google-Smtp-Source: AKy350ZMzZUX6vQKkfkvfgWXax2pC+XAI8d/5DRFzGVuhgAA9GNRtTgr/zXkaaZwJPTqV3KXRAE1 X-Received: by 2002:a05:6a00:2d0e:b0:637:aea0:b23d with SMTP id fa14-20020a056a002d0e00b00637aea0b23dmr30501429pfb.10.1682518621101; Wed, 26 Apr 2023 07:17:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682518621; cv=none; d=google.com; s=arc-20160816; b=ST5kZLdSChhCr48oWC9PCP5N6qKfRJ4NCaa/nBNlQ4+ax6+hn6aidm2qp4uFxoU8yT 0kiictodfdtZdMQFmF56qqYoBNa/7hQfnKa03QtL2dXjlvyJ1gyDQ+8/XMz1D9fH2D2L 4nm4na3TPNXfQdj/0NHGKYoZhgRY62oO+9nKRpWbS/mizbDV+c50TqsSO9QrrK/0mZja RVnx776E7x9+gjl7D2MFmsAhlB3nXbT2qoEJ+tbgR1oBV4+tFSAsoWkAJPg0TA2UbsuS z2aECwcwhwbTppqrJ//AqZ0TlrvDziIMqERPjBRK9lxo0pDoVBXEPt6U6uIvPcDONwrG AgMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Ja/eV05jgc9CfjtNK2AcCb8BYqunZkXLjydS5xnuD84=; b=BNA1IP4+gcpZ28bLfoakngrjtGTqE4Wmr4mgJ8urpd9Z10eyP6NS26jg8VIAdTR7TG 5DEWWET44vd06M3ddJlvVkYnsUrPE+GHd3RZl5P8vLhxXzOi3IrW6j7HDvB32effynF2 2IrqdellZ3s6bjZI7DumxQnc2tsFXGV40Ck/k92VLcNKxhdO44RKNJBR/YAWjlKd7UjF 9dyEmmJ9PdfFUG2QGbV8eJhkZ4ja84Rh1H6o2i7ErjaGDytJkwvPV+ROApbJd4GX5k9l IAL1iqARC0c8cESVEbsWgnAvzpH6zRPNupBkPPWwin+9eFC3JNV+2QBKIFwf7JFxlRsn NI4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=T8WxxuGP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e11-20020aa7980b000000b0063b893272a8si16765419pfl.246.2023.04.26.07.16.49; Wed, 26 Apr 2023 07:17:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=T8WxxuGP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241119AbjDZONJ (ORCPT + 99 others); Wed, 26 Apr 2023 10:13:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241020AbjDZONI (ORCPT ); Wed, 26 Apr 2023 10:13:08 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E49E6A57; Wed, 26 Apr 2023 07:13:07 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3A21660F13; Wed, 26 Apr 2023 14:13:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A1C51C433EF; Wed, 26 Apr 2023 14:13:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682518386; bh=x0IE+aictI7iBTlgwDbCKYRNktLIdJfBV50W/zzhHKg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=T8WxxuGPDIvZ2iwwGO02hUjUWqPfrh5APAdbg4eA8/VA0W5BFVsCG4jfjnltRJUKh 3tL8qAGFbx6Iw27yqAVOEgGFfMiGgHpYzg3FOgczi75hColg3SvG474GpiBWlcGVuY Nl7vLsJapDZ48tQ4BV4JZXLijs/MZK/W/EQCC3j6gMYVRLegSU51IT5eERVxV3DnZd ZsK3ferK4nIwi6lWUFWqHKQwDShVtS2KqovMPdzDlEIATi/+sV0JbunSlXl95HXwSs hzgb6sZava+y5THWTGbzyAzDF2Ydu6st8Kdyqxo9ogKz6nIYbuhettmjxvZDWjn1Eb V5KmkndQwIDJQ== Received: by mail-oo1-f51.google.com with SMTP id 006d021491bc7-541b60e0a7fso3882148eaf.1; Wed, 26 Apr 2023 07:13:06 -0700 (PDT) X-Gm-Message-State: AAQBX9cKxi4wgLtEFwkKSEdmgibs9QgsKary74cHjfg4TO8lgvMyPLBp x0kKeLJ98VlCe1G6iW9BEZWZArPjiivUdx8TWJ0= X-Received: by 2002:a05:6808:13cf:b0:38c:63d6:9e73 with SMTP id d15-20020a05680813cf00b0038c63d69e73mr10491166oiw.25.1682518386000; Wed, 26 Apr 2023 07:13:06 -0700 (PDT) MIME-Version: 1.0 References: <20230425110859.1757001-1-masahiroy@kernel.org> <20230425180802.GA2881732@dev-arch.thelio-3990X> In-Reply-To: <20230425180802.GA2881732@dev-arch.thelio-3990X> From: Masahiro Yamada Date: Wed, 26 Apr 2023 23:12:29 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kbuild: deb-pkg: specify targets in debian/rules as .PHONY To: Nathan Chancellor Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Nick Desaulniers , Nicolas Schier Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 26, 2023 at 3:08=E2=80=AFAM Nathan Chancellor wrote: > > On Tue, Apr 25, 2023 at 08:08:59PM +0900, Masahiro Yamada wrote: > > If a file with the same name exists, the target is not run. > > > > For example, the following command fails. > > > > $ make O=3Dbuild-arch bindeb-pkg > > [ snip ] > > sed: can't read modules.order: No such file or directory > > make[6]: *** [../Makefile:1577: __modinst_pre] Error 2 > > make[5]: *** [../scripts/Makefile.package:150: intdeb-pkg] Error 2 > > make[4]: *** [../Makefile:1657: intdeb-pkg] Error 2 > > make[3]: *** [debian/rules:14: binary-arch] Error 2 > > dpkg-buildpackage: error: debian/rules binary subprocess returned exi= t status 2 > > make[2]: *** [../scripts/Makefile.package:139: bindeb-pkg] Error 2 > > > > Signed-off-by: Masahiro Yamada > > Reviewed-by: Nathan Chancellor Applied to linux-kbuild. > > > --- > > > > scripts/package/mkdebian | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian > > index a4c2c2276223..b6cb95473548 100755 > > --- a/scripts/package/mkdebian > > +++ b/scripts/package/mkdebian > > @@ -269,6 +269,8 @@ cat < debian/rules > > srctree ?=3D . > > KERNELRELEASE =3D ${KERNELRELEASE} > > > > +.PHONY: clean build build-arch build-indep binary binary-arch binary-i= ndep > > + > > build-indep: > > build-arch: > > \$(MAKE) -f \$(srctree)/Makefile ARCH=3D${ARCH} \ > > -- > > 2.37.2 > > --=20 Best Regards Masahiro Yamada