1
0
mirror of https://github.com/deadw00d/AROS.git synced 2025-12-06 21:40:57 +00:00
Files
AROS-v0/config/build.cfg.in

83 lines
2.0 KiB
INI

# Fixup some things for
# optional components
AROS_PREFS_SET := @config_prefs_set@
AROS_STDC_WCHAR32 := @aros_config_wchar32@
#
# Target options
#
#Bootloader
GRUB2_VERSION := @target_grub2_version@
GRUB2_SPLASHIMG := @grub2_splash@
GRUB2_USELZMA := @host_has_lzma@
GRUB2_USEEFISHIM := @host_has_libelf@
ifeq ($(GRUB2_USELZMA),yes)
ifeq ($(AROS_TARGET_CPU),x86_64)
AROS_PACKAGE_FMT := xz
else
ifeq ($(AROS_TARGET_CPU),i386)
AROS_PACKAGE_FMT := xz
endif
endif
endif
ifeq ($(AROS_PACKAGE_FMT),)
AROS_PACKAGE_FMT := gz
endif
#
# "Host" options & flags
#
# DBUS flags
DBUS_CFLAGS := @DBUS_CFLAGS@
DBUS_LIBFLAGS := @DBUS_LIBFLAGS@
ifeq ($(OPT_HOST_ALSA),yes)
HOST_ALSA_CFLAGS := @ALSA_CFLAGS@
HOST_ALSA_LDFLAGS := @ALSA_LIBS@
endif
ifeq ($(OPT_HOST_X11GFX),yes)
HOST_X11_CFLAGS := @aros_host_x11_cflags@
HOST_X11_LDFLAGS := @aros_host_x11_ldflags@
endif
ifeq ($(OPT_HOST_SDLGFX),yes)
HOST_SDL_CFLAGS := @aros_host_sdl_cflags@
HOST_SDL_LIBS := @aros_host_sdl_libs@
endif
ifeq (@host_header_syscall@,yes)
HOST_SYSCALL_CPPFLAGS += -DHAVE_SYSCALL_H
endif
ifeq (@host_header_syssyscall@,yes)
HOST_SYSCALL_CPPFLAGS += -DHAVE_SYS_SYSCALL_H
endif
#
# Toolchain options
#
GCC_TARGET_CPU := @gcc_target_cpu@
LLVM_TARGET_CPU := @llvm_target_cpu@
TARGET_STRIP := $(TARGET_DEF_STRIP)
HOST_STRIP := $(HOST_DEF_STRIP)
# Enable target coverage instrumentation ...
TARGET_COVERAGEINSTR := @aros_config_coverage@
TARGET_COVERAGEINSTR_EXTS := .gcno
# Enable target function entry/exit instrumentation
TARGET_FUNCINSTR := no
# Enable LTO if supported ...
TARGET_LTO := @aros_config_lto@
# If set, the build system will use this tool to convert the elf
# binary to the targets file format - otherwise the elf will be copied
TARGET_TRANSLATEELF = @aros_elf_translate@