Re: [PATCH 14/14] package: Makefile: add USB/IP userspace utilities

From: matt mooney
Date: Tue May 17 2011 - 17:59:35 EST

On Tue, May 17, 2011 at 2:21 PM, Greg KH <greg@xxxxxxxxx> wrote:
> On Tue, May 17, 2011 at 02:13:01PM -0700, matt mooney wrote:
>> On Tue, May 17, 2011 at 1:23 PM, Greg KH <greg@xxxxxxxxx> wrote:
>> > On Sat, May 14, 2011 at 03:55:20AM -0700, matt mooney wrote:
>> >> From: matt mooney <mfm@xxxxxxxxxxxxx>
>> >>
>> >> Add usbip-src-pkg target to generate a tarball of the userspace source.
>> >>
>> >> Signed-off-by: matt mooney <mfm@xxxxxxxxxxxxx>
>> >> ---
>> >>  scripts/package/Makefile |   15 ++++++++++++++-
>> >
>> > Is this really needed at this point in time?  I'd prefer to wait on it
>> > before we get this code cleaned up a bit better if you don't mind.
>> Oh yeah, of course. I only added it because I thought you wanted me to
>> add it now.
> For some reason I thought it would be more, but there really isn't a way
> to build the userspace code from the main root of the kernel tree is
> there?

I do not believe there is. Since `make ...' starts the Kbuild system,
Kbuild would have to support this otherwise we would have to
circumvent the build system. And the closest thing to some kind of
support I could find was in scripts/, but it says it is
for binaries used during the kernel compilation process. I think this
set of userspace utilities is further complicated by its use of

My use of "circumvent the build system" may be a bit harsh. I don't
think there is anything wrong with running a parameterized instance of
make within a target, but the short answer would be that this problem
does not seem to have been generalized in Kbuild yet.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at