Add dependencies for user-space programs on FreeBSD
This commit is contained in:
parent
7cc5e1eac9
commit
6fa84e73fa
5 changed files with 15 additions and 3 deletions
|
@ -15,18 +15,21 @@ UNAME := $(shell uname)
|
|||
ifeq ($(UNAME),Darwin)
|
||||
FUMOUNT=sudo umount
|
||||
export NPROC=sysctl -n hw.ncpu
|
||||
export REDOX_MAKE=make
|
||||
PREFIX_BINARY=0
|
||||
VB_AUDIO=coreaudio
|
||||
VBM=/Applications/VirtualBox.app/Contents/MacOS/VBoxManage
|
||||
else ifeq ($(UNAME),FreeBSD)
|
||||
FUMOUNT=sudo umount
|
||||
export NPROC=sysctl -n hw.ncpu
|
||||
export REDOX_MAKE=gmake
|
||||
PREFIX_BINARY=0
|
||||
VB_AUDIO=pulse # To check, will probaly be OSS on most setups
|
||||
VBM=VBoxManage
|
||||
else
|
||||
FUMOUNT=fusermount -u
|
||||
export NPROC=nproc
|
||||
export REDOX_MAKE=make
|
||||
VB_AUDIO=pulse
|
||||
VBM=VBoxManage
|
||||
endif
|
||||
|
|
|
@ -45,8 +45,13 @@ endif
|
|||
#,int,pcall
|
||||
#-device intel-iommu
|
||||
|
||||
ifeq ($(UNAME),Linux)
|
||||
build/extra.bin:
|
||||
fallocate --posix --length 1G $@
|
||||
else
|
||||
build/extra.bin:
|
||||
truncate -s 1g $@
|
||||
endif
|
||||
|
||||
qemu: build/harddrive.bin build/extra.bin
|
||||
$(QEMU) $(QEMUFLAGS) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue