[PATCH] CFLAGS_EXTRA and quotes

Lucas C. Villa Real lucasvr at gobolinux.org
Thu Jun 1 21:28:09 UTC 2006


On 5/31/06, Rob Landley <rob at landley.net> wrote:
> 1) The USING_ALTERNATE_MODDIR serves no purpose.  If you're going to make it
> configurable at all, just have a sane default for the CONFIG entry.

It was just added so that the text area doesn't confund users. Making
the text area appear only when the user chooses to use an alternate
MODDIR seems sane to me.

> 2) Why is /lib/modules not the directory this goes in?  Why does everybody
> want to change every possible directory all of the sudden?  This can't be
> because Dec Ultrix had a different path for this because insmod deals with
> linux kernel modules.  Specifically linux.
>
> What's the motivation for this?  Has anybody ever specified a different
> MODDIR?

There are a number of projects which use the Linux kernel but do not
employ a "standard" Unix-like tree, from djb's package system to the
project I'm part of, GoboLinux.

The Linux kernel Makefile already allows one to specify the modules
dir by changing the variable MODLIB. Module-Init-Tools also allows for
passing --with-moddir=, so that a non-standard location can be used by
modprobe and friends.

We have been relying on these features for some time, and since I'm
the one more involved with embedded in our group I've added the same
features to BusyBox, so that no hardcoded directories specify how the
filesystem must be organized.

-- 
Lucas
powered by /dev/dsp



More information about the busybox mailing list