U-Boot: Fix ppc build
* we have an uimage for the Sam460 \o/
This commit is contained in:
@@ -1,6 +1,13 @@
|
|||||||
SubDir HAIKU_TOP src system boot arch ppc ;
|
SubDir HAIKU_TOP src system boot arch ppc ;
|
||||||
|
|
||||||
DEFINES += _BOOT_MODE ;
|
{
|
||||||
|
local defines = _BOOT_MODE ;
|
||||||
|
|
||||||
|
defines = [ FDefines $(defines) ] ;
|
||||||
|
SubDirCcFlags $(defines) ;
|
||||||
|
SubDirC++Flags $(defines) -fno-rtti ;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
local kernelLibArchObjects =
|
local kernelLibArchObjects =
|
||||||
<src!system!kernel!lib!arch!$(TARGET_ARCH)>byteorder.o
|
<src!system!kernel!lib!arch!$(TARGET_ARCH)>byteorder.o
|
||||||
@@ -9,6 +16,8 @@ local kernelLibArchObjects =
|
|||||||
;
|
;
|
||||||
|
|
||||||
KernelMergeObject boot_arch_$(TARGET_ARCH).o :
|
KernelMergeObject boot_arch_$(TARGET_ARCH).o :
|
||||||
|
debug_uart_8250.cpp
|
||||||
|
arch_uart_8250.cpp
|
||||||
arch_elf.cpp
|
arch_elf.cpp
|
||||||
: # additional flags
|
: # additional flags
|
||||||
:
|
:
|
||||||
@@ -16,5 +25,9 @@ KernelMergeObject boot_arch_$(TARGET_ARCH).o :
|
|||||||
$(kernelLibArchObjects)
|
$(kernelLibArchObjects)
|
||||||
;
|
;
|
||||||
|
|
||||||
SEARCH on [ FGristFiles arch_elf.cpp ]
|
SEARCH on [ FGristFiles arch_elf.cpp arch_uart_8250.cpp ]
|
||||||
= [ FDirName $(HAIKU_TOP) src system kernel arch $(TARGET_ARCH) ] ;
|
= [ FDirName $(HAIKU_TOP) src system kernel arch $(TARGET_ARCH) ] ;
|
||||||
|
|
||||||
|
SEARCH on [ FGristFiles debug_uart_8250.cpp ]
|
||||||
|
= [ FDirName $(HAIKU_TOP) src system kernel arch generic ] ;
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
#include <arch/generic/debug_uart_8250.h>
|
#include <arch/generic/debug_uart_8250.h>
|
||||||
//#include <board_config.h>
|
#include <new>
|
||||||
|
|
||||||
|
|
||||||
// we shouldn't need special setup, we use plain MMIO.
|
// we shouldn't need special setup, we use plain MMIO.
|
||||||
|
|||||||
Reference in New Issue
Block a user