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).
67 lines
1.6 KiB
Plaintext
67 lines
1.6 KiB
Plaintext
# Gumstix Overo board-specific definitions
|
|
|
|
HAIKU_BOARD_DESCRIPTION = "Gumstix Overo" ;
|
|
|
|
|
|
#
|
|
# Various hardcoded addresses
|
|
#
|
|
|
|
# load address for haiku_loader
|
|
HAIKU_BOARD_LOADER_BASE = 0x80008000 ;
|
|
# entry points (raw binary, and netbsd loader emulation)
|
|
HAIKU_BOARD_LOADER_ENTRY_RAW = 0x80008000 ;
|
|
HAIKU_BOARD_LOADER_ENTRY_NBSD = 0x80008008 ;
|
|
|
|
HAIKU_BOARD_LOADER_ENTRY = $(HAIKU_BOARD_LOADER_ENTRY_NBSD) ;
|
|
HAIKU_BOARD_LOADER_FAKE_OS = netbsd ;
|
|
|
|
# load address for haiku_loader uimage
|
|
# (must be different than real load address)
|
|
HAIKU_BOARD_LOADER_UIBASE = 0x84000000 ;
|
|
|
|
HAIKU_BOARD_LOADER_STACK_BASE = 0x84000000 ;
|
|
|
|
|
|
#
|
|
# mmc/SD image
|
|
#
|
|
|
|
# in MB
|
|
HAIKU_BOARD_SDIMAGE_SIZE = 256 ;
|
|
|
|
# in MB
|
|
HAIKU_BOARD_SDIMAGE_FAT_SIZE = 32 ;
|
|
|
|
# offset in blocks XXX: FIXME
|
|
# (autodetect from sfdisk or use cylinder count for fat size)
|
|
HAIKU_BOARD_SDIMAGE_BFS_OFFSET = ;
|
|
|
|
# autoboot script
|
|
HAIKU_BOARD_SDIMAGE_UBOOT_SCRIPT_NAME = gumstix-factory.script ;
|
|
HAIKU_BOARD_SDIMAGE_UBOOT_SCRIPT = "\
|
|
setenv bootargs debug_screen true; \
|
|
if mmcinit; then \
|
|
fatload mmc 0 $(HAIKU_BOARD_LOADER_UIBASE) haiku_loader.ub; \
|
|
bootm $(HAIKU_BOARD_LOADER_UIBASE); \
|
|
fi" ;
|
|
|
|
HAIKU_BOARD_SDIMAGE_FILES =
|
|
haiku_loader
|
|
haiku_loader.ub
|
|
haiku_loader_nbsd.ub
|
|
$(HAIKU_BOARD_SDIMAGE_UBOOT_SCRIPT_NAME)
|
|
;
|
|
|
|
|
|
#
|
|
# gcc flags for the specific cpu
|
|
#
|
|
|
|
HAIKU_KERNEL_CCFLAGS += -mcpu=cortex-a8 -mfpu=vfp -mfloat-abi=soft ;
|
|
HAIKU_KERNEL_C++FLAGS += -mcpu=cortex-a8 -mfpu=vfp -mfloat-abi=soft ;
|
|
HAIKU_CCFLAGS_$(HAIKU_PACKAGING_ARCH)
|
|
+= -mcpu=cortex-a8 -mfpu=vfp -mfloat-abi=soft ;
|
|
HAIKU_C++FLAGS_$(HAIKU_PACKAGING_ARCH)
|
|
+= -mcpu=cortex-a8 -mfpu=vfp -mfloat-abi=soft ;
|