On Sun, Jan 10, 2010 at 10:37 PM, Onkar <onkar....@gmail.com> wrote:
> Hi ,
>     I want to take the folder ext2 from linux-2.6.31.5/fs/ext2  compile it
> outside the tree and
> insmod ext2.ko. What changes should I make to the Makefile ?

/tmp> cp -r /home/mkatiyar/personal/kernel/linux-2.6.32.2/fs/ext2 .
/tmp> cd ext2
/tmp/ext2> make -C /lib/modules/`uname -r`/build M=$PWD
make: Entering directory `/home/mkatiyar/personal/kernel/linux-2.6.32.2'
  LD      /tmp/ext2/built-in.o
  CC [M]  /tmp/ext2/balloc.o
  CC [M]  /tmp/ext2/dir.o
  CC [M]  /tmp/ext2/file.o
  CC [M]  /tmp/ext2/ialloc.o
  CC [M]  /tmp/ext2/inode.o
  CC [M]  /tmp/ext2/ioctl.o
  CC [M]  /tmp/ext2/namei.o
  CC [M]  /tmp/ext2/super.o
  CC [M]  /tmp/ext2/symlink.o
  CC [M]  /tmp/ext2/xattr.o
  CC [M]  /tmp/ext2/xattr_user.o
  CC [M]  /tmp/ext2/xattr_trusted.o
  LD [M]  /tmp/ext2/ext2.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/ext2/ext2.mod.o
  LD [M]  /tmp/ext2/ext2.ko
make: Leaving directory `/home/mkatiyar/personal/kernel/linux-2.6.32.2'


Thanks -
Manish
>
> Please help me get going with this.
>
> Regards,
> Onkar
>



-- 
Thanks -
Manish
==================================
[$\*.^ -- I miss being one of them
==================================

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecar...@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to