This is a huge commit, but it mainly just moves some files around and doesn't change their contents much. A lot of stuff works the same on amd64 as it does on i386, so i'm moving the parts that are specific to the latter into separate subdirectories while the rest can be shared with the amd64 codebase.
25 lines
867 B
CMake
25 lines
867 B
CMake
# See the end of this file for copyright and license terms.
|
|
|
|
set(BOOT_TYPE "bios" CACHE STRING "Bootloader type")
|
|
set_property(CACHE BOOT_TYPE PROPERTY STRINGS
|
|
"bios"
|
|
)
|
|
|
|
option(CFG_X86_64 "64-bit kernel (32-bit support is fundamentally broken)" OFF)
|
|
if(CFG_X86_64)
|
|
set(X86_ARCH amd64)
|
|
else()
|
|
set(X86_ARCH i386)
|
|
endif()
|
|
|
|
# This file is part of GayBSD.
|
|
# Copyright (c) 2021 fef <owo@fef.moe>.
|
|
#
|
|
# GayBSD is nonviolent software: you may only use, redistribute, and/or
|
|
# modify it under the terms of the Cooperative Nonviolent Public License
|
|
# (CNPL) as found in the LICENSE file in the source code root directory
|
|
# or at <https://git.pixie.town/thufie/npl-builder>; either version 7
|
|
# of the license, or (at your option) any later version.
|
|
#
|
|
# GayBSD comes with ABSOLUTELY NO WARRANTY, to the extent
|
|
# permitted by applicable law. See the CNPL for details.
|