All of lore.kernel.org
 help / color / mirror / Atom feed
* Patch to patchin.sh file
@ 2001-06-26 21:52 Vipin Malik
  0 siblings, 0 replies; only message in thread
From: Vipin Malik @ 2001-06-26 21:52 UTC (permalink / raw)
  To: David Woodhouse; +Cc: MTD for Linux

Any reason the following patch to the file patches/patchin.sh should not
be applied to the file in CVS?

It adds the JFFS2 dir/file/include stuff to a stock kernel that knows
nothing about it.

Vipin


Index: patchin.sh
===================================================================
RCS file: /home/cvs/mtd/patches/patchin.sh,v
retrieving revision 1.6
diff -u -r1.6 patchin.sh
--- patchin.sh  2001/04/25 12:10:23     1.6
+++ patchin.sh  2001/06/26 21:40:06
@@ -24,12 +24,16 @@
 #

 mkdir -p drivers/mtd
+rm -rf    drivers/mtd/* # clear out old junk
 mkdir -p drivers/mtd/chips
 mkdir -p drivers/mtd/devices
 mkdir -p drivers/mtd/maps
 mkdir -p drivers/mtd/nand
 mkdir -p include/linux/mtd
 mkdir -p fs/jffs
+rm -rf   fs/jffs/* # clear out old junk
+mkdir -p fs/jffs2
+rm -rf   fs/jffs2/* # clear out old junk
 ln -sf $TOPDIR/drivers/mtd/*.[ch] drivers/mtd
 ln -sf $TOPDIR/drivers/mtd/*akefile $TOPDIR/drivers/mtd/Rules.make
$TOPDIR/drivers/mtd/Config.in drivers/mtd
 ln -sf $TOPDIR/drivers/mtd/chips/*.[ch] drivers/mtd/chips
@@ -42,7 +46,10 @@
 ln -sf $TOPDIR/drivers/mtd/nand/*akefile
$TOPDIR/drivers/mtd/nand/Config.in drivers/mtd/nand
 ln -sf $TOPDIR/fs/jffs/*.[ch] fs/jffs
 ln -sf $TOPDIR/fs/jffs/*akefile fs/jffs
-ln -sf $TOPDIR/include/linux/jffs.h include/linux
+ln -sf $TOPDIR/fs/jffs2/*.[ch] fs/jffs2
+ln -sf $TOPDIR/fs/jffs2/*akefile fs/jffs2
+#ln -sf $TOPDIR/include/linux/jffs.h include/linux
+ln -sf $TOPDIR/include/linux/jffs*.h include/linux
 ln -sf $TOPDIR/include/linux/mtd/*.h include/linux/mtd

 #

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-06-26 21:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-26 21:52 Patch to patchin.sh file Vipin Malik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.