[haiku-commits] Re: haiku: hrev49015 - build/jam/board/beagle

  • From: François Revol <revol@xxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 22 Apr 2015 03:05:45 +0200

On 08/04/2015 21:23, pulkomandy@xxxxxxxxxxxxx wrote:

hrev49015 adds 1 changeset to branch 'master'
old head: ae2192e832d8b02820953ef70f48b1dc3dc97eb2
new head: cb6de5e19bddd44fff09f65b120965bd3fbf209c
overview:
http://cgit.haiku-os.org/haiku/log/?qt=range&q=cb6de5e19bdd+%5Eae2192e832d8

----------------------------------------------------------------------------

cb6de5e19bdd: BeagleBoard: fix compilation of dtb.

* Copy from rpi2, but this should probably be shared somewhere.



diff --git a/build/jam/board/beagle/BoardSetup
b/build/jam/board/beagle/BoardSetup
index 7731f5d..bbab42f 100644
--- a/build/jam/board/beagle/BoardSetup
+++ b/build/jam/board/beagle/BoardSetup
@@ -53,6 +53,9 @@ mloFile = [ DownloadFile $(HAIKU_BOARD_MLO_IMAGE)
ubootFile = [ DownloadFile $(HAIKU_BOARD_UBOOT_IMAGE)
: $(HAIKU_BOARD_UBOOT_IMAGE_URL) ] ;

+local fdtBinary = [ FDirName $(HAIKU_OUTPUT_DIR) $(HAIKU_BOARD_FDT_NAME).dtb
] ;
+CompileDTS $(fdtBinary) : [ FDirName $(HAIKU_TOP) src data dts arch arm
$(HAIKU_BOARD_FDT_NAME).dts ] ;
+

There's already code for this in the platform/u-boot Jamfile, why put it
in there?

François.


Other related posts: