Almost done

Basically works just need to fix one last odd error
This commit is contained in:
Jacob Adams 2015-06-06 19:14:11 -04:00
parent b62d21b6f6
commit bfe46b8de2
7 changed files with 26 additions and 23 deletions

View File

@ -1,10 +1,9 @@
#!/bin/sh
# Assume $1 is whitelist working directory
cd $1
mkdir -p $SRC/$1
while read dir
do
cp -rf $dir $SRC/$1
cp -rf $dir $SRC/$2
done
cd $MINIX

View File

@ -6,11 +6,3 @@ releasetools
regress
.gitignore
.gitreview
external/Makefile
bin/Makefile
games/Makefile
gnu/Makefile
libexec/Makefile
sbin/Makefile
usr.bin/Makefile
usr.sbin/Makefile

View File

@ -11,11 +11,15 @@ SRC=$N2M/src
export MINIX N2M NETBSD SRC
echo "Setup NetBSD"
$N2M/setupnetbsd.sh
echo "Clear new src tree"
mkdir -p $SRC
rm -rf $SRC/*
$N2M/whitelists.sh
cd $SRC
./build.sh -m i386 build
echo "Apply whitelists"
$N2M/whitelists.sh
echo "Apply special-cases"
$N2M/special.sh

View File

@ -0,0 +1,15 @@
# Manually-copied files
for dir in "external bin games gnu libexec sbin usr.bin usr.sbin"
do
cp -f $MINIX/$dir/Makefile $SRC/$dir
done
cp -r $MINIX/include/cdbr.h $SRC/include
cp -r $MINIX/share/zoneinfo $SRC/share
cp -r $MINIX/tools/llvm-librt $SRC/tools
cp -r $MINIX/tools/mkfs.mfs $SRC/tools
cp -r $MINIX/tools/mkproto $SRC/tools
cp -r $MINIX/tools/partition $SRC/tools
cp -r $MINIX/tools/toproto $SRC/tools
cp -r $MINIX/tools/writeisofs $SRC/tools

View File

@ -4,4 +4,3 @@ Makefile.inc
misc
mk
terminfo
zoneinfo

View File

@ -19,7 +19,6 @@ llvm-clang
llvm-clang-tblgen
llvm-include
llvm-lib
llvm-librt
llvm-lld
llvm-mcld
llvm-tblgen
@ -35,16 +34,13 @@ Makefile.nbincludes
makewhatis
mandoc
mkdep
mkfs.mfs
mkheaderlist.sh
mknod
mkproto
mktemp
mpc
mpfr
mtree
nbperf
partition
pax
pwd_mkdb
sed
@ -52,8 +48,6 @@ stat
strfile
texinfo
tic
toproto
tsort
writeisofs
yacc
zic

View File

@ -1,10 +1,10 @@
cd $N2M/whitelist
for item in `ls`
do
$N2M/applywhitelist.sh $NETBSD/$item < $item
$N2M/applywhitelist.sh $NETBSD/$item $item < $item
echo "$item moved"
done
$N2M/applywhitelist.sh $MINIX < $N2M/minix.txt
$N2M/applywhitelist.sh $MINIX . < $N2M/minix.txt
cd $MINIX