Author: andreasf Date: 2010-08-21 21:52:46 +0200 (Sat, 21 Aug 2010) New Revision: 38301 Changeset: http://dev.haiku-os.org/changeset/38301 Ticket: http://dev.haiku-os.org/ticket/6105 Modified: haiku/trunk/src/system/boot/platform/openfirmware/Jamfile Log: boot_loader_openfirmware: Refactor Jamfile The frame buffer will need more generic sources than just the text menu. Adapted from bios_ia32 platform. Part of ticket #6105. Modified: haiku/trunk/src/system/boot/platform/openfirmware/Jamfile =================================================================== --- haiku/trunk/src/system/boot/platform/openfirmware/Jamfile 2010-08-21 18:42:25 UTC (rev 38300) +++ haiku/trunk/src/system/boot/platform/openfirmware/Jamfile 2010-08-21 19:52:46 UTC (rev 38301) @@ -2,6 +2,10 @@ SubDirC++Flags -D_BOOT_MODE -fno-rtti ; +local genericPlatformSources = + text_menu.cpp +; + KernelMergeObject boot_platform_openfirmware.o : console.cpp debug.cpp @@ -19,13 +23,12 @@ openfirmware.cpp openfirmware_devices.cpp - # generic - text_menu.cpp + $(genericPlatformSources) : : boot_platform_openfirmware_$(TARGET_ARCH).a ; -SEARCH on [ FGristFiles text_menu.cpp ] +SEARCH on [ FGristFiles $(genericPlatformSources) ] = [ FDirName $(HAIKU_TOP) src system boot platform generic ] ; SEARCH on [ FGristFiles openfirmware.cpp openfirmware_devices.cpp ] = [ FDirName $(HAIKU_TOP) src system kernel platform openfirmware ] ;