diff --git a/src/system/boot/platform/raspberrypi_arm/Jamfile b/src/system/boot/platform/raspberrypi_arm/Jamfile index 034ecea576f..e1cb1f77cac 100644 --- a/src/system/boot/platform/raspberrypi_arm/Jamfile +++ b/src/system/boot/platform/raspberrypi_arm/Jamfile @@ -22,7 +22,7 @@ SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons accelerants common ] ; BootMergeObject boot_platform_raspberrypi_arm.o : entry.S - start.c + start.cpp console.cpp cpu.cpp debug.cpp diff --git a/src/system/boot/platform/raspberrypi_arm/start.c b/src/system/boot/platform/raspberrypi_arm/start.cpp similarity index 97% rename from src/system/boot/platform/raspberrypi_arm/start.c rename to src/system/boot/platform/raspberrypi_arm/start.cpp index 4bb89729b14..5395444b6c7 100644 --- a/src/system/boot/platform/raspberrypi_arm/start.c +++ b/src/system/boot/platform/raspberrypi_arm/start.cpp @@ -15,7 +15,7 @@ #include #include #include -//#include +#include #include #include @@ -102,7 +102,7 @@ platform_exit(void) } -void +extern "C" void _start(void) { stage2_args args; @@ -128,4 +128,3 @@ _start(void) main(&args); } -