[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Make problems...more info



For anyone interested...

I've figured out what's going on with 'make' 3.77 and 2.0.x kernels, but
am not sure it should be fixed (opinions welcome):

Make pretty much is now adhering to it's own documentation regarding
$(shell COMMAND) lines in that it now NEEDS to return the status of the
command.  According to the docs, using $(shell COMMAND) executes the
command and returns the status.  I found that, if you added a variable to
the lines in question in arch/alpha/Makefile (30 and 32 in the latest
stable kernel), it works fine.  But if left alone without a variable to
assign that status to, it fails with a missing separator problem.

My question is, should this behaviour be changed back to the older way
(and technically less proper way).  I've found what I believe to be the
'offending' areas of the code, so it shouldn't be hard to patch or not
either way.

Also, I guess I need to know if this happens on non-Alphas, so if anyone
has an x86 or Sparc laying around, please let me know what your results
are (force an Alpha kernel to be built and do a 'make config' for an easy
test...it should bomb out on the arch/alpha/Makefile).

FYI, the change wasn't mentioned in make's changelogs at all....

C


Reply to: