Re: [PATCH] Symlinks for building external modules
From: Måns Rullgård
Date: Thu Jun 03 2004 - 12:14:11 EST
Andreas Gruenbacher <agruen@xxxxxxx> writes:
> Hi Sam,
>
> modules not in the kernel source tree need to locate both the source
> tree and the object tree (O=). Currently, the /lib/modules/$(uname
> -r)/build symlink is the only reference we have; it historically
> points to the source tree from 2.4 times. The following patch
> changes this as follows (this is what we have in the current SUSE
> tree now):
>
> /lib/modules/$(uname -r)/source ==> source tree
> /lib/modules/$(uname -r)/build ==> object tree
This will break the building of all external modules until they are
updated, and break updated modules building against older kernels
unless they check the kernel version in the makefiles.. I suggest
leaving the 'build' link as is, and using a difference name for the
build directory, perhaps 'object'. This might look confusing, so we
could have a 'source' link as well and remove the 'build' link when
most external modules have been updated.
--
Måns Rullgård
mru@xxxxxx
-
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/