use different board xml files to git a working DTS for kernel 3.9

This commit is contained in:
2014-04-06 16:40:15 +02:00
parent c31383762a
commit d460d3f84f
3 changed files with 533 additions and 27 deletions

View File

@@ -96,11 +96,12 @@ uboot.HELP = Build UBoot
##### Device Tree ######################################################################################
.PHONY: dtb dts
DTS_BOARDINFO = $(TOP)/soc/soc_system_board_info.xml
DTS_CLKINFO = $(TOP)/soc/soc_system_hps_clk_info.xml
DEVICE_TREE_SOURCE = $(patsubst %.sopcinfo,%.dts,$(QSYS_SOPCINFO))
DEVICE_TREE_BLOB = $(patsubst %.dts,%.dtb,$(DEVICE_TREE_SOURCE))
$(DEVICE_TREE_SOURCE): %.dts: %.sopcinfo
sopc2dts --input $< --output $@ --board $(DTS_BOARDINFO)
sopc2dts --input $< --output $@ --board $(DTS_BOARDINFO) --board $(DTS_CLKINFO)
$(DEVICE_TREE_BLOB): %.dtb: %.dts
dtc -I dts -O dtb -o $@ $<