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 #!/bin/sh
# Assume $1 is whitelist working directory # Assume $1 is whitelist working directory
cd $1 cd $1
mkdir -p $SRC/$1
while read dir while read dir
do do
cp -rf $dir $SRC/$1 cp -rf $dir $SRC/$2
done done
cd $MINIX cd $MINIX

View File

@ -6,11 +6,3 @@ releasetools
regress regress
.gitignore .gitignore
.gitreview .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 export MINIX N2M NETBSD SRC
echo "Setup NetBSD"
$N2M/setupnetbsd.sh $N2M/setupnetbsd.sh
echo "Clear new src tree"
mkdir -p $SRC mkdir -p $SRC
rm -rf $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 misc
mk mk
terminfo terminfo
zoneinfo

View File

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

View File

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