Add dependencies for user-space programs on FreeBSD
This commit is contained in:
parent
7cc5e1eac9
commit
6fa84e73fa
|
@ -171,7 +171,10 @@ freebsd()
|
||||||
install_freebsd_pkg "wget"
|
install_freebsd_pkg "wget"
|
||||||
install_freebsd_pkg "texinfo"
|
install_freebsd_pkg "texinfo"
|
||||||
install_freebsd_pkg "python"
|
install_freebsd_pkg "python"
|
||||||
install_freebsd_pkg "sha256sum"
|
install_freebsd_pkg "automake"
|
||||||
|
install_freebsd_pkg "gettext"
|
||||||
|
install_freebsd_pkg "bison"
|
||||||
|
install_freebsd_pkg "gperf"
|
||||||
set +xe
|
set +xe
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -548,6 +551,7 @@ boot()
|
||||||
MAKE="make"
|
MAKE="make"
|
||||||
if [[ "$(uname)" -eq FreeBSD ]]; then
|
if [[ "$(uname)" -eq FreeBSD ]]; then
|
||||||
MAKE="gmake"
|
MAKE="gmake"
|
||||||
|
echo "kldload fuse.ko # This loads the kernel module for fuse"
|
||||||
fi
|
fi
|
||||||
echo "$MAKE all"
|
echo "$MAKE all"
|
||||||
echo "$MAKE virtualbox or qemu"
|
echo "$MAKE virtualbox or qemu"
|
||||||
|
|
|
@ -86,7 +86,7 @@ logd = {}
|
||||||
#ncursesw = {}
|
#ncursesw = {}
|
||||||
netdb = {}
|
netdb = {}
|
||||||
netstack = {}
|
netstack = {}
|
||||||
netsurf = {}
|
#netsurf = {}
|
||||||
netutils = {}
|
netutils = {}
|
||||||
#neverball = {}
|
#neverball = {}
|
||||||
#newlib = {}
|
#newlib = {}
|
||||||
|
|
2
cookbook
2
cookbook
|
@ -1 +1 @@
|
||||||
Subproject commit 50c3f8642cce2f541da9854a8e2c3bf677604269
|
Subproject commit 5097c70245514908477c1d032f7399390c089292
|
|
@ -15,18 +15,21 @@ UNAME := $(shell uname)
|
||||||
ifeq ($(UNAME),Darwin)
|
ifeq ($(UNAME),Darwin)
|
||||||
FUMOUNT=sudo umount
|
FUMOUNT=sudo umount
|
||||||
export NPROC=sysctl -n hw.ncpu
|
export NPROC=sysctl -n hw.ncpu
|
||||||
|
export REDOX_MAKE=make
|
||||||
PREFIX_BINARY=0
|
PREFIX_BINARY=0
|
||||||
VB_AUDIO=coreaudio
|
VB_AUDIO=coreaudio
|
||||||
VBM=/Applications/VirtualBox.app/Contents/MacOS/VBoxManage
|
VBM=/Applications/VirtualBox.app/Contents/MacOS/VBoxManage
|
||||||
else ifeq ($(UNAME),FreeBSD)
|
else ifeq ($(UNAME),FreeBSD)
|
||||||
FUMOUNT=sudo umount
|
FUMOUNT=sudo umount
|
||||||
export NPROC=sysctl -n hw.ncpu
|
export NPROC=sysctl -n hw.ncpu
|
||||||
|
export REDOX_MAKE=gmake
|
||||||
PREFIX_BINARY=0
|
PREFIX_BINARY=0
|
||||||
VB_AUDIO=pulse # To check, will probaly be OSS on most setups
|
VB_AUDIO=pulse # To check, will probaly be OSS on most setups
|
||||||
VBM=VBoxManage
|
VBM=VBoxManage
|
||||||
else
|
else
|
||||||
FUMOUNT=fusermount -u
|
FUMOUNT=fusermount -u
|
||||||
export NPROC=nproc
|
export NPROC=nproc
|
||||||
|
export REDOX_MAKE=make
|
||||||
VB_AUDIO=pulse
|
VB_AUDIO=pulse
|
||||||
VBM=VBoxManage
|
VBM=VBoxManage
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -45,8 +45,13 @@ endif
|
||||||
#,int,pcall
|
#,int,pcall
|
||||||
#-device intel-iommu
|
#-device intel-iommu
|
||||||
|
|
||||||
|
ifeq ($(UNAME),Linux)
|
||||||
build/extra.bin:
|
build/extra.bin:
|
||||||
fallocate --posix --length 1G $@
|
fallocate --posix --length 1G $@
|
||||||
|
else
|
||||||
|
build/extra.bin:
|
||||||
|
truncate -s 1g $@
|
||||||
|
endif
|
||||||
|
|
||||||
qemu: build/harddrive.bin build/extra.bin
|
qemu: build/harddrive.bin build/extra.bin
|
||||||
$(QEMU) $(QEMUFLAGS) \
|
$(QEMU) $(QEMUFLAGS) \
|
||||||
|
|
Loading…
Reference in a new issue