From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: Re: [PATCH 16/16 v2] pramfs: Makefile and Kconfig Date: Sat, 6 Nov 2010 08:48:36 -0700 Message-ID: <20101106084836.b9ba01f6.randy.dunlap@oracle.com> References: <4CD51969.3060603@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4CD51969.3060603@gmail.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Marco Stornelli Cc: Linux Kernel , Linux Embedded , Linux FS Devel , Tim Bird , Andrew Morton On Sat, 06 Nov 2010 10:01:29 +0100 Marco Stornelli wrote: > From: Marco Stornelli > > Makefile and Kconfig. > > Signed-off-by: Marco Stornelli > --- > +config TEST_MODULE > + tristate "PRAMFS Test" > + depends on PRAMFS && m > + select PRAMFS_TEST > + help > + Say Y here to build a simple module to test the protection of > + PRAMFS. The module will be called pramfs_test. Since kconfig symbols are global, this one needs something like PRAMFS_ as a prefix, please. > diff -Nurp linux-2.6.36-orig/fs/pramfs/Makefile linux-2.6.36/fs/pramfs/Makefile > --- linux-2.6.36-orig/fs/pramfs/Makefile 1970-01-01 01:00:00.000000000 +0100 > +++ linux-2.6.36/fs/pramfs/Makefile 2010-09-14 18:49:52.000000000 +0200 > @@ -0,0 +1,14 @@ > +# > +# Makefile for the linux pram-filesystem routines. > +# > + > +obj-$(CONFIG_PRAMFS) += pramfs.o > +obj-$(CONFIG_TEST_MODULE) += pramfs_test.o > + > +pramfs-y := balloc.o dir.o file.o inode.o namei.o super.o symlink.o > + > +pramfs-$(CONFIG_PRAMFS_WRITE_PROTECT) += wprotect.o > +pramfs-$(CONFIG_PRAMFS_XIP) += xip.o > +pramfs-$(CONFIG_PRAMFS_XATTR) += xattr.o xattr_user.o xattr_trusted.o desctree.o > +pramfs-$(CONFIG_PRAMFS_POSIX_ACL) += acl.o > +pramfs-$(CONFIG_PRAMFS_SECURITY) += xattr_security.o --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code ***