lots of 2.1.90 make braindamage

Bob_Tracy (rct@gherkin.sa.wlk.com)
Wed, 18 Mar 1998 10:53:47 -0600 (CST)


Dunno what folks did somewhere along the line, but modifying a file
under linux/drivers/sound should *not* result in every kernel source
file being recompiled when I do a "make boot". I discovered this
major annoyance while trying to figure out what the heck the new
bin2hex "-i" option does. In *my* case, it emitted the following
crap:

/* automatically generated by bin2hex */
static unsigned char maui_os [] __initdata =
{
0x2a,0x20,0x4f,0x53,0x4d,0x41,0x55,0x49,0x2e,0x4d,
0x4f,0x54,0x20,0x46,0x69,0x6c,0x65,0x0d,0x0a,0x2a,
(...)

I don't know about *your* C compiler, but gcc 2.7.2.3 barfed on the
unexpected "__initdata". The quick fix is to modify the Makefile to
omit the "-i" flag.

My question to whoever is: what was the intent of the bin2hex patch?

-- 
Bob Tracy               |  "They couldn't hit an elephant at this dist- "
Firewall Security Corp. |   - Last words of Union General John Sedgwick,
rct@frus.com            |  Battle of Spotsylvania Court House, U.S. Civil War

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu