make headers_install broken for ARCH=m68k in 2.6.29-rc7.

From: Rob Landley
Date: Thu Mar 12 2009 - 05:37:26 EST


So I'm doing this:

make ARCH=m68k headers_install INSTALL_HDR_PATH=walrus

And it doesn't install unistd_mm.h which is included from asm/unistd.h. (The
file is there in arch/m68k/include/asm/unistd_mm.h, it just doesn't get
installed. So any code that #includes <asm/unistd.h> results in a file not
found error for the other one, which is essentially just a wrapper.)

I don't understand what the code's currently doing here well enough to fix it,
specifically where does this file list come from? The file
arch/m68k/include/asm/Kbuild is adding "cachectl.h" to header-y, but there are
31 files getting installed from that directory and only one in there. If the
list was just the contents of the directory, then unistd_mm.h (and
unistd_no.h) would get installed, but they don't. I could add those two to
the Kbuild file after cachectl.h, but is that the _right_ fix? Where are the
other 31 identified? (Is it getting a listing of some _other_ directory?)

Confused,

Rob
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/