SETUP386 491 B

123456789101112131415161718192021222324
  1. echo MAKE SURE PLAN9 is set
  2. objtype=386
  3. export objtype
  4. cputype=386/unix
  5. export cputype
  6. NXM=`pwd`
  7. export NXM
  8. #PATH=$PATH:~/src/plan9port/bin/
  9. PATH=$NXM/xbin:$PLAN9/bin:$PATH:$PLAN9/bin:.
  10. # Linux is so smart sometimes, but we'll be using P9P ls which doesn't understand
  11. alias ls=ls
  12. #!/bin/bash
  13. set -x
  14. set -e
  15. PATH=$PATH:$PLAN9/bin
  16. export NXM=`pwd`
  17. . $NXM/buildconfig
  18. (cd util/8a && sh BUILD)
  19. (cd util/8l && sh BUILD)
  20. (cd util/8c && sh BUILD)
  21. (cd util && sh BUILD)
  22. (cd inferno-os && sh BUILD)