lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 30 Jul 2006 19:51:30 +0200
From:	Sam Ravnborg <sam@...nborg.org>
To:	Andi Kleen <ak@...e.de>
Cc:	linux-kernel@...r.kernel.org, agruen@...e.de
Subject: Re: Building external modules against objdirs

On Sun, Jul 30, 2006 at 06:46:07PM +0200, Andi Kleen wrote:
> 
> Hi,
> 
> It looks like building external modules against separate objdirs doesn't work 
> anymore in 2.6.18.
I just tried it out with -linus (from a few hours ago).
$> cd ~/kernel/linux-2.6
$> mkdir ../o
$> make O=../o defconfig
$> make O=../o
...
$> cd ~/kernel/external
$> cat Makefile
obj-m := sam.o
sam-y := sam1.o
EXTRA_CFLAGS := -I$(src)/include

$> make M=`pwd` O=~/kernel/o -C ~/kernel/linux-2.6
make: Entering directory `/home/sam/kernel/linux-2.6'
  LD      /home/sam/kernel/external/built-in.o
  CC [M]  /home/sam/kernel/external/sam1.o
  LD [M]  /home/sam/kernel/external/sam.o
  Building modules, stage 2.
  MODPOST
  CC      /home/sam/kernel/external/sam.mod.o
  LD [M]  /home/sam/kernel/external/sam.ko
make: Leaving directory `/home/sam/kernel/linux-2.6'

So it seems to work out fine here.

Can you check that you really did a 'make prepare' in the relevant
output directory. Previously only the make *config step was needed.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ