b0944c78b0
* All packaging architecture dependent variables do now have a respective suffix and are set up for each configured packaging architecture, save for the kernel and boot loader variables, which are still only set up for the primary architecture. For convenience TARGET_PACKAGING_ARCH, TARGET_ARCH, TARGET_LIBSUPC++, and TARGET_LIBSTDC++ are set to the respective values for the primary packaging architecture by default. * Introduce a set of MultiArch* rules to help with building targets for multiple packaging architectures. Generally the respective targets are (additionally) gristed with the packaging architecture. For libraries the additional grist is usually omitted for the primary architecture (e.g. libroot.so and <x86>libroot.so for x86_gcc2/x86 hybrid), so that Jamfiles for targets built only for the primary architecture don't need to be changed. * Add multi-arch build support for all targets needed for the stage 1 cross devel package as well as for libbe (untested).
63 lines
1.4 KiB
Plaintext
63 lines
1.4 KiB
Plaintext
# Raspberry Pi board-specific definitions
|
|
|
|
HAIKU_BOARD_DESCRIPTION = "Raspberry Pi" ;
|
|
HAIKU_BOOT_PLATFORM = raspberrypi_arm ;
|
|
|
|
#
|
|
# Various hardcoded addresses
|
|
#
|
|
|
|
HAIKU_BOARD_LOADER_BASE = 0x0 ;
|
|
|
|
HAIKU_BOARD_BOOT_ARCHIVE_BASE = 0x04000000 ;
|
|
HAIKU_BOARD_BOOT_ARCHIVE_SIZE = 0x00400000 ;
|
|
# TODO: needs to be configured in the config.txt
|
|
# ramfsfile=haiku-floppyboot.tgz and ramfsaddr=x
|
|
|
|
#
|
|
# Flash image
|
|
#
|
|
|
|
# N/A for Raspberry Pi
|
|
|
|
#
|
|
# mmc/SD image
|
|
#
|
|
|
|
HAIKU_BOARD_FIRMWARE_URL = http://github.com/raspberrypi/firmware/raw/master/boot/ ;
|
|
HAIKU_BOARD_FIRMWARE_FILES =
|
|
bootcode.bin
|
|
loader.bin
|
|
arm224_start.elf # start.elf
|
|
LICENSE.broadcom
|
|
;
|
|
|
|
# in MB
|
|
HAIKU_BOARD_SDIMAGE_FAT_SIZE = 32 ;
|
|
HAIKU_BOARD_SDIMAGE_FAT_FILES =
|
|
$(HAIKU_BOARD_FIRMWARE_FILES)
|
|
haiku_loader
|
|
;
|
|
|
|
# in MB
|
|
HAIKU_BOARD_SDIMAGE_SIZE = 256 ;
|
|
|
|
#
|
|
# gcc flags for the specific cpu
|
|
#
|
|
|
|
HAIKU_KERNEL_CCFLAGS += -mtune=arm1176jzf-s ;
|
|
HAIKU_KERNEL_C++FLAGS += -mtune=arm1176jzf-s ;
|
|
HAIKU_CCFLAGS_$(HAIKU_PACKAGING_ARCH) += -mtune=arm1176jzf-s ;
|
|
HAIKU_C++FLAGS_$(HAIKU_PACKAGING_ARCH) += -mtune=arm1176jzf-s ;
|
|
|
|
# Workaround for ld using 32k for alignment despite forcing it in the config...
|
|
# should definitely not be needed!
|
|
HAIKU_KERNEL_LINKFLAGS +=
|
|
-Wl,-z -Wl,max-page-size=0x1000
|
|
-Wl,-z -Wl,common-page-size=0x1000 ;
|
|
HAIKU_LINKFLAGS_$(HAIKU_PACKAGING_ARCH) +=
|
|
-Wl,-z -Wl,max-page-size=0x1000
|
|
-Wl,-z -Wl,common-page-size=0x1000 ;
|
|
|