]> git.baikalelectronics.ru Git - kernel.git/commit
Makefile.build: make KBUILD_SYMTYPES work again
authorDon Zickus <dzickus@redhat.com>
Mon, 24 May 2010 21:07:24 +0000 (17:07 -0400)
committerMichal Marek <mmarek@suse.cz>
Fri, 4 Jun 2010 10:46:48 +0000 (12:46 +0200)
commit6b7cff0baaa7b521c6b55617ce8240df2efeeb73
treea3f8ac014062c0eb394fa47f16226a4a8bf9e326
parent4fb20ba22a7c831117bcc53c5aedf7e380292875
Makefile.build: make KBUILD_SYMTYPES work again

commit 6e8d1c47e7f562b342a88c787857569eeb594695 tried to combine some
duplicate code and accidentally broke how KBUILD_SYMTYPES worked

This fixes the code to match the original intention by the author who
originally added the code I believe.

The fixes include:
- removing extra whitespaces in the if-statements
- moving the if-statement from around the -r to the -T
- adding a second arg to cmd_gensymtypes to simplify the options passed
  to genksyms.

Tested by instrumenting genksyms and seeing what options were passed in
during a make, KBUILD_SYMTYPES make, and when a foo.symref was created.

Everything compiled and looked ok.

Signed-off-by: Don Zickus <dzickus@redhat.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/Makefile.build