Re: 2.4.19rc1aa1

From: J.A. Magallon (jamagallon@able.es)
Date: Sun Jul 07 2002 - 18:49:06 EST


On 2002.06.29 Andrea Arcangeli wrote:
>Only booted it on the laptop so far.
>
>URL:
>
> http://www.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.19rc1aa1.gz
> http://www.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.19rc1aa1/
>
>Changelog:
>

I think the build system for e100 is buggy. You end up with 2 copies of e100.o:

werewolf:/usr/src/linux# make -n modules_install | grep e100
cp ne2k-pci.o 8390.o e100/e100.o ... /lib/modules/2.4.19-rc1-jam1/kernel/drivers/net/
                     ^^^^^^^^^^^
make -C e100 modules_install
make[3]: Entering directory `/usr/src/linux-2.4.19-rc1-jam1/drivers/net/e100'
Makefile:21: warning: overriding commands for target `e100.o'
/usr/src/linux-2.4.19-rc1-jam1/Rules.make:97: warning: ignoring old commands for target `e100.o'
mkdir -p /lib/modules/2.4.19-rc1-jam1/kernel/drivers/net/e100/
cp e100.o /lib/modules/2.4.19-rc1-jam1/kernel/drivers/net/e100/
   ^^^^^^
make[3]: Leaving directory `/usr/src/linux-2.4.19-rc1-jam1/drivers/net/e100'

Unconditional

obj-$(CONFIG_E100) += e100.o

breaks if == obj-m.

tulip, for example, does a:

ifeq ($(CONFIG_TULIP),y)
  obj-y += tulip/tulip.o
endif

??

TIA

-- 
J.A. Magallon             \   Software is like sex: It's better when it's free
mailto:jamagallon@able.es  \                    -- Linus Torvalds, FSF T-shirt
Linux werewolf 2.4.19-rc1-jam1, Mandrake Linux 8.3 (Cooker) for i586
gcc (GCC) 3.1.1 (Mandrake Linux 8.3 3.1.1-0.7mdk)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jul 07 2002 - 22:00:18 EST