Browse Source

brcm2708: switch device tree compilation to linux

Signed-off-by: Álvaro Fernández Rojas <[email protected]>

SVN-Revision: 47124
John Crispin 10 years ago
parent
commit
b97498ab29
2 changed files with 3 additions and 7 deletions
  1. 1 1
      target/linux/brcm2708/Makefile
  2. 2 6
      target/linux/brcm2708/image/Makefile

+ 1 - 1
target/linux/brcm2708/Makefile

@@ -26,6 +26,6 @@ define Target/Description
 	Currently produces SD Card image for Raspberry Pi.
 endef
 
-KERNELNAME:=Image
+KERNELNAME:=Image dtbs
 
 $(eval $(call BuildTarget))

+ 2 - 6
target/linux/brcm2708/image/Makefile

@@ -22,10 +22,6 @@ else
 endif
 
 ### Image scripts ###
-define Build/build-dtb
-	$(call Image/BuildDTB,$(DTS_DIR)/$(DEVICE_DTS).dts,[email protected])
-endef
-
 define Build/gen-cfg
 	cat config.txt > [email protected]
 	echo -e "\ndevice_tree=$(DEVICE_DTS).dtb" >> [email protected]
@@ -44,7 +40,7 @@ define Build/boot-img
 	mcopy -i [email protected] cmdline.txt ::
 	mcopy -i [email protected] [email protected] ::config.txt
 	mcopy -i [email protected] $(word 1,$^) ::kernel.img
-	mcopy -i [email protected] $@.dtb ::$(DEVICE_DTS).dtb
+	mcopy -i [email protected] $(DTS_DIR)/$(DEVICE_DTS).dtb ::$(DEVICE_DTS).dtb
 endef
 
 define Build/sdcard-img
@@ -59,7 +55,7 @@ define Device/Default
   PROFILES = Default $$(DEVICE_PROFILE)
   KERNEL := kernel-bin
   IMAGES := sdcard.bin
-  IMAGE/sdcard.bin := build-dtb | gen-cfg | boot-img | sdcard-img
+  IMAGE/sdcard.bin := gen-cfg | boot-img | sdcard-img
   DEVICE_PROFILE :=
   DEVICE_DTS :=
 endef