* building .lst files for a subdirectory
@ 2019-02-20 10:23 Nicholas Mc Guire
0 siblings, 0 replies; only message in thread
From: Nicholas Mc Guire @ 2019-02-20 10:23 UTC (permalink / raw)
To: kernelnewbies
Hi !
Probably I´m 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/rtl_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/modules.txt
will not do the trick either:
hofrat@threadripper:~/git/linux-next/drivers/staging/rtlwifi/phydm$ make -C ~/git/linux-next M=$PWD rtl_phydm.lst
make: Entering directory '/home/hofrat/git/linux-next'
scripts/Makefile.build:42: /home/hofrat/git/linux-next/drivers/staging/rtlwifi/phydm/Makefile: No such file or directory
make[1]: *** No rule to make target '/home/hofrat/git/linux-next/drivers/staging/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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-02-20 10:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-20 10:23 building .lst files for a subdirectory Nicholas Mc Guire
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).