BUILD.conf 768 B

1234567891011121314151617181920212223242526272829303132333435
  1. #!/bin/bash
  2. #### INSTALL PARAMS ####
  3. export ARCH=amd64
  4. ### DIRS ###
  5. INC_DIR=${HARVEY}/sys/include
  6. INC_ARCH=${HARVEY}/${ARCH}/include
  7. LIB_DIR=${HARVEY}/${ARCH}/lib
  8. BIN_DIR=${HARVEY}/${ARCH}/bin
  9. SRC_DIR=${HARVEY}/sys/src
  10. UTIL_DIR=${HARVEY}/util
  11. CMD_DIR=${SRC_DIR}/cmd
  12. KRL_DIR=${SRC_DIR}/9/k10
  13. TEST_DIR=${SRC_DIR}/test
  14. ### TOOLCHAIN ###
  15. AR=ar
  16. RANLIB=ranlib
  17. LD=ld
  18. LEX=lex
  19. PARSER_GEN=yacc
  20. COLLECT=/usr/lib/gcc/x86_64-linux-gnu/4.9/collect2
  21. COLLECTFLAGS="-plugin /usr/lib/gcc/x86_64-linux-gnu/4.9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper --sysroot=/ --build-id -m elf_x86_64 --hash-style=gnu"
  22. AWK=awk
  23. XD=xxd
  24. NM=nm
  25. ### KERNEL ###
  26. DATE=$(date +%s)
  27. EXTKERNDATE="-DKERNDATE=${DATE}"
  28. KERNEL_CONF="k8cpu"
  29. ### PATH ###
  30. PATH="$UTIL_DIR:$PATH"