From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 64DBDC43381 for ; Wed, 20 Feb 2019 10:24:58 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D74B42146E for ; Wed, 20 Feb 2019 10:24:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D74B42146E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=hofr.at Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.91) (envelope-from ) id 1gwP3P-0003er-0D; Wed, 20 Feb 2019 05:24:39 -0500 Received: from 178.115.242.59.static.drei.at ([178.115.242.59] helo=mail.osadl.at) by shelob.surriel.com with esmtp (Exim 4.91) (envelope-from ) id 1gwP3A-0003eR-Sr for kernelnewbies@kernelnewbies.org; Wed, 20 Feb 2019 05:24:25 -0500 Received: by mail.osadl.at (Postfix, from userid 1001) id 17B1C5C05C7; Wed, 20 Feb 2019 11:23:49 +0100 (CET) Date: Wed, 20 Feb 2019 11:23:49 +0100 From: Nicholas Mc Guire To: kernelnewbies@kernelnewbies.org Subject: building .lst files for a subdirectory Message-ID: <20190220102349.GA1905@osadl.at> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: kernelnewbies-bounces@kernelnewbies.org Hi ! Probably I=B4m just overlooking something obvious but trying to build .lst files in directories that have no Makefile is causing problems. For "normal" files its simply $ make path/file.lst but that seems to assume that there always is a Makefile in each directory. For some drivers this is not the case e.g. drivers/staging/rtlwifi/Makefile covers all the subdirectories directly and there are no Makefiles or Kbuild files in the respective subdirs. So building .lst fails: hofrat@threadripper:~/git/linux-next$ make drivers/staging/rtlwifi/phydm/rt= l_phydm.lst CALL scripts/checksyscalls.sh CALL scripts/atomic/check-atomics.sh DESCEND objtool scripts/Makefile.build:42: drivers/staging/rtlwifi/phydm/Makefile: No such = file or directory And not too surprising the build instructions from Documentation/kbuild/mo= dules.txt will not do the trick either: hofrat@threadripper:~/git/linux-next/drivers/staging/rtlwifi/phydm$ make -C= ~/git/linux-next M=3D$PWD rtl_phydm.lst make: Entering directory '/home/hofrat/git/linux-next' scripts/Makefile.build:42: /home/hofrat/git/linux-next/drivers/staging/rtlw= ifi/phydm/Makefile: No such file or directory make[1]: *** No rule to make target '/home/hofrat/git/linux-next/drivers/st= aging/rtlwifi/phydm/Makefile'. Stop. Makefile:1704: recipe for target 'rtl_phydm.lst' failed make: *** [rtl_phydm.lst] Error 2 make: Leaving directory '/home/hofrat/git/linux-next' Any hint how to build those .lst files ? thx! hofrat _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies