#!/bin/sh # $Id: mkepk.sh,v 1.9 2005/07/30 15:25:44 lunn Exp $ EPK_TMPDIR=/tmp/jffs2-epk-$$ MTDDIR=`dirname $0`/../../.. COREFILES="build.c compr_zlib.c LICENCE scan.c compr.c compr.h gc.c pushpull.h compr_rtime.c histo.h nodelist.c read.c write.c compr_rubin.c erase.c histo_mips.h nodelist.h readinode.c compr_rubin.h nodemgmt.c debug.c debug.h" ECOSFILES="os-ecos.h flashio.c gcthread.c dir-ecos.c fs-ecos.c malloc-ecos.c" INCFILES="jffs2.h jffs2_fs_i.h jffs2_fs_sb.h" DOCFILES="README.Locking TODO ecos/doc/TODO.eCos ecos/doc/readme.txt" mkdir $EPK_TMPDIR || exit 1 mkdir -p $EPK_TMPDIR/fs/jffs2/current/src mkdir -p $EPK_TMPDIR/fs/jffs2/current/cdl mkdir -p $EPK_TMPDIR/fs/jffs2/current/include/linux mkdir -p $EPK_TMPDIR/fs/jffs2/current/tests mkdir -p $EPK_TMPDIR/fs/jffs2/current/doc cat > $EPK_TMPDIR/pkgadd.db <