OSDN Git Service

Fix header file generation to not be confused by empty (but non-NULL) option string.
authorRob Landley <rob@landley.net>
Sat, 1 Mar 2014 02:46:16 +0000 (20:46 -0600)
committerRob Landley <rob@landley.net>
Sat, 1 Mar 2014 02:46:16 +0000 (20:46 -0600)
commit170c397576f7d34f41dc7579a3ed5bd6a2f30c1a
tree0e5991dcff1746661ca7405629f6a56dc0ec460e
parent6ebe03d6169188b71f6d178cef27f8ecb6407821
Fix header file generation to not be confused by empty (but non-NULL) option string.

You shouldn't use "" as an option string because a NULL allows toy_init()
to avoid calling the option parsing logic entirely, which lets it drop out
when nothing's using it (ala scripts/single.sh builds). That said, init.c
is currently using a "" option string and a USE_ macro taking advantage
of string concatenation may require a "" option config, so...
scripts/make.sh