<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/Makefile, branch v5.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v5.3</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v5.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2019-09-15T21:19:32Z</updated>
<entry>
<title>Linux 5.3</title>
<updated>2019-09-15T21:19:32Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2019-09-15T21:19:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4d856f72c10ecb060868ed10ff1b1453943fc6c8'/>
<id>urn:sha1:4d856f72c10ecb060868ed10ff1b1453943fc6c8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 5.3-rc8</title>
<updated>2019-09-08T20:33:15Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2019-09-08T20:33:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f74c2bb98776e2de508f4d607cd519873065118e'/>
<id>urn:sha1:f74c2bb98776e2de508f4d607cd519873065118e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 5.3-rc7</title>
<updated>2019-09-02T16:57:40Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2019-09-02T16:57:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=089cf7f6ecb266b6a4164919a2e69bd2f938374a'/>
<id>urn:sha1:089cf7f6ecb266b6a4164919a2e69bd2f938374a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 5.3-rc6</title>
<updated>2019-08-25T19:01:23Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2019-08-25T19:01:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a55aa89aab90fae7c815b0551b07be37db359d76'/>
<id>urn:sha1:a55aa89aab90fae7c815b0551b07be37db359d76</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 5.3-rc5</title>
<updated>2019-08-18T21:31:08Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2019-08-18T21:31:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d1abaeb3be7b5fa6d7a1fbbd2e14e3310005c4c1'/>
<id>urn:sha1:d1abaeb3be7b5fa6d7a1fbbd2e14e3310005c4c1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 5.3-rc4</title>
<updated>2019-08-11T20:26:41Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2019-08-11T20:26:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d45331b00ddb179e291766617259261c112db872'/>
<id>urn:sha1:d45331b00ddb179e291766617259261c112db872</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Makefile: Convert -Wimplicit-fallthrough=3 to just -Wimplicit-fallthrough for clang</title>
<updated>2019-08-10T19:45:37Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2019-08-05T22:11:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=bfd77145f35c3deafe57e9eb67fff4ccffdaef6e'/>
<id>urn:sha1:bfd77145f35c3deafe57e9eb67fff4ccffdaef6e</id>
<content type='text'>
A compilation -Wimplicit-fallthrough warning was enabled by commit
a035d552a93b ("Makefile: Globally enable fall-through warning")

Even though clang 10.0.0 does not currently support this warning without
a patch, clang currently does not support a value for this option.

  Link: https://bugs.llvm.org/show_bug.cgi?id=39382

The gcc default for this warning is 3 so removing the =3 has no effect
for gcc and enables the warning for patched versions of clang.

Also remove the =3 from an existing use in a parisc Makefile:
arch/parisc/math-emu/Makefile

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Reviewed-and-tested-by: Nathan Chancellor &lt;natechancellor@gmail.com&gt;
Cc: Gustavo A. R. Silva &lt;gustavo@embeddedor.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'kbuild-fixes-v5.3-3' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild</title>
<updated>2019-08-10T03:31:04Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2019-08-10T03:31:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=451577f3e3a9bf1861218641dbbf98e214e77851'/>
<id>urn:sha1:451577f3e3a9bf1861218641dbbf98e214e77851</id>
<content type='text'>
Pull Kbuild fixes from Masahiro Yamada:

 - revive single target %.ko

 - do not create built-in.a where it is unneeded

 - do not create modules.order where it is unneeded

 - show a warning if subdir-y/m is used to visit a module Makefile

* tag 'kbuild-fixes-v5.3-3' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
  kbuild: show hint if subdir-y/m is used to visit module Makefile
  kbuild: generate modules.order only in directories visited by obj-y/m
  kbuild: fix false-positive need-builtin calculation
  kbuild: revive single target %.ko
</content>
</entry>
<entry>
<title>kbuild: show hint if subdir-y/m is used to visit module Makefile</title>
<updated>2019-08-09T16:45:31Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.masahiro@socionext.com</email>
</author>
<published>2019-08-08T11:21:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c07d8d47bca1b325102fa2be3a463075f7b051d9'/>
<id>urn:sha1:c07d8d47bca1b325102fa2be3a463075f7b051d9</id>
<content type='text'>
Since commit ff9b45c55b26 ("kbuild: modpost: read modules.order instead
of $(MODVERDIR)/*.mod"), a module is no longer built in the following
pattern:

  [Makefile]
  subdir-y := some-module

  [some-module/Makefile]
  obj-m := some-module.o

You cannot write Makefile this way in upstream because modules.order is
not correctly generated. subdir-y is used to descend to a sub-directory
that builds tools, device trees, etc.

For external modules, the modules order does not matter. So, the
Makefile above was known to work.

I believe the Makefile should be re-written as follows:

  [Makefile]
  obj-m := some-module/

  [some-module/Makefile]
  obj-m := some-module.o

However, people will have no idea if their Makefile suddenly stops
working. In fact, I received questions from multiple people.

Show a warning for a while if obj-m is specified in a Makefile visited
by subdir-y or subdir-m.

I touched the %/ rule to avoid false-positive warnings for the single
target.

Cc: Jan Kiszka &lt;jan.kiszka@siemens.com&gt;
Cc: Tom Stonecypher &lt;thomas.edwardx.stonecypher@intel.com&gt;
Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
Tested-by: Jan Kiszka &lt;jan.kiszka@siemens.com&gt;
</content>
</entry>
<entry>
<title>kbuild: revive single target %.ko</title>
<updated>2019-08-09T16:40:25Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.masahiro@socionext.com</email>
</author>
<published>2019-08-02T10:23:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=47801c97deb71b9e279c15a02a44cf00aa11e7d9'/>
<id>urn:sha1:47801c97deb71b9e279c15a02a44cf00aa11e7d9</id>
<content type='text'>
I removed the single target %.ko in commit ff9b45c55b26 ("kbuild:
modpost: read modules.order instead of $(MODVERDIR)/*.mod") because
the modpost stage does not work reliably. For instance, the module
dependency, modversion, etc. do not work if we lack symbol information
from the other modules.

Yet, some people still want to build only one module in their interest,
and it may be still useful if it is used within those limitations.

Fixes: ff9b45c55b26 ("kbuild: modpost: read modules.order instead of $(MODVERDIR)/*.mod")
Reported-by: Don Brace &lt;don.brace@microsemi.com&gt;
Reported-by: Arend Van Spriel &lt;arend.vanspriel@broadcom.com&gt;
Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
</content>
</entry>
</feed>
