akaros/Makelocal.template
<<
>>
Prefs
   1# Userspace configuration parameters
   2#CFLAGS_USER += -DCONFIG_APPSERVER
   3#CFLAGS_USER += -DCONFIG_SYSCALL_TRAP
   4#CFLAGS_USER += -g
   5# Turn this on for better backtraces, but worse performance
   6#CFLAGS_USER += -fno-optimize-sibling-calls
   7#CFLAGS_TESTS += -static
   8#CFLAGS_TESTS += -fno-optimize-sibling-calls
   9export CFLAGS_USER CFLAGS_TESTS
  10
  11# The default is num_cpus.  Use whatever you want.
  12# MAKE_JOBS := 100
  13
  14# brho's custom targets.  Customize to your system.
  15#$(OBJDIR)/kern/.kvm.touch: $(CMP_KERNEL_OBJ)
  16#       @echo "  (KVM) Copying to mnt/hdd"
  17#       $(Q)cp $^ mnt/hdd/kernel
  18#       @sync
  19#       @touch $@
  20#
  21#kvm: $(OBJDIR)/kern/.kvm.touch ;
  22#
  23#$(OBJDIR)/kern/.usb.touch: $(CMP_KERNEL_OBJ)
  24#       @echo "  (USB) Copying to /dev/sdc4"
  25#       $(Q)mount /dev/sdc4
  26#       $(Q)cp $^ /mnt/usbstick/boot/akaros
  27#       @sync
  28#       $(Q)umount /mnt/usbstick
  29#       @touch $@
  30#
  31#usb: $(OBJDIR)/kern/.usb.touch ;
  32#
  33#$(OBJDIR)/kern/.pxe.touch: $(CMP_KERNEL_OBJ)
  34#       @echo "  (PXE) Copying to Watson"
  35#       $(Q)scp $^ watson.millennium.berkeley.edu:/tftpboot/akaros/akaros-kernel.gz
  36#       @touch $@
  37#
  38#pxe: $(OBJDIR)/kern/.pxe.touch ;
  39
  40# risc-v functional simulator
  41rvfs: all
  42        fesvr -p$(NP) -nopk $(KERNEL_OBJ)
  43rvfsd: all
  44        fesvr -d -p$(NP) -nopk $(KERNEL_OBJ)
  45
  46PHONY += fs fsd hw rvfs rvfsd
  47