Makefile classes-y vs subdirs-y

Maximilian Brune <[email protected]>
Newsgroups gmane.linux.bios
Message-ID <CAGrcQaT3jcN0KM5bDZq3d_2M+htKty_AEx8g962-kmMXFdRW5Q@mail.gmail.com>
I am currently working a little bit on on makefile stuff and got a bit
confused.
Looking at the documentation it seems like `subdirs` is one of the possible
`classes` that we have.

But then I looked at payloads/libpayload/Makefile.mk file at this location:
https://elixir.bootlin.com/coreboot/latest/source/payloads/libpayload/Makefile.inc#L48
and it seems to add classes where I would have expected it to use subdirs-y
instead.

Can someone explain to me when to use classes-y and when to use subdirs-y?

_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.