From c8830a04b4adc3048b76c658fa1084e749f188da Mon Sep 17 00:00:00 2001 From: kokokodak <82901997+kokokodak@users.noreply.github.com> Date: Wed, 14 Jul 2021 14:43:34 +0300 Subject: Add support for OpenBSD (#779) * OpenBSD: add basic support modified: Build/Include/Makefile.inc modified: Driver/Fuse/FuseService.cpp modified: Main/FatalErrorHandler.cpp modified: Makefile modified: Platform/Unix/File.cpp modified: Platform/Unix/FilesystemPath.cpp modified: Platform/Unix/SystemInfo.cpp * OpenBSD: some necessary files were missing new file: Core/Unix/OpenBSD/CoreOpenBSD.cpp new file: Core/Unix/OpenBSD/CoreOpenBSD.h new file: Core/Unix/OpenBSD/System.h --- src/Build/Include/Makefile.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Build') diff --git a/src/Build/Include/Makefile.inc b/src/Build/Include/Makefile.inc index ba166b69..4c153657 100644 --- a/src/Build/Include/Makefile.inc +++ b/src/Build/Include/Makefile.inc @@ -51,7 +51,11 @@ endif # Embedded files +ifeq "$(PLATFORM)" "OpenBSD" +OD_BIN := ggod -v -t u1 -A n +else OD_BIN := od -v -t u1 -A n +endif TR_SED_BIN := tr '\n' ' ' | tr -s ' ' ',' | sed -e 's/^,//g' -e 's/,$$/n/' | tr 'n' '\n' %.xml.h: %.xml -- cgit v1.2.3