From patchwork Thu Oct 1 20:36:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= X-Patchwork-Id: 525295 X-Patchwork-Delegate: blogic@openwrt.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id B8D20140157 for ; Fri, 2 Oct 2015 06:38:21 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=JXYXRrJo; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 98D5928BD11; Thu, 1 Oct 2015 22:35:21 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 20A6928BBD3 for ; Thu, 1 Oct 2015 22:35:08 +0200 (CEST) X-policyd-weight: using cached result; rate: -8.5 Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Thu, 1 Oct 2015 22:35:02 +0200 (CEST) Received: by wiclk2 with SMTP id lk2so7451005wic.0 for ; Thu, 01 Oct 2015 13:36:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=Z0qImHZeSWKuijfwDReNwsuv1joS8Gtmo7oizm3D8gk=; b=JXYXRrJohvCvyPoJ8/oZQ3PlEwkR+qMhhKlmSKqJqPzCGQNTcu3hGumRjuFFgVufsX YgIn8pGwV//ttE0WR3xRQYYV0he87laTvtaI++DS/dOpevkco20TD8nVGH6FR06T9jJA GEpbdD3dvZQPP+hxF0oz4fl5aldr80Sa80DvC5NZbkyUevdj7GC9kbSniT7Am4Jl0YrJ JdDvv4V24RPOSU8DMbjYEbSAHpzpSwnequMyByeaM7aweUTFhOv9Ok9GhGfH9G6AdNws cKGTOqyPoRMxAXiBYio1hvUQK+Cy+xfKQB/kBYnuKyIJkGGsbZbpg0vXyfP0NyQmJWL2 sYVQ== X-Received: by 10.194.238.228 with SMTP id vn4mr12445928wjc.13.1443731784903; Thu, 01 Oct 2015 13:36:24 -0700 (PDT) Received: from skynet.lan (199.Red-83-53-107.dynamicIP.rima-tde.net. [83.53.107.199]) by smtp.gmail.com with ESMTPSA id xt1sm7866081wjb.32.2015.10.01.13.36.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 01 Oct 2015 13:36:24 -0700 (PDT) From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= To: openwrt-devel@lists.openwrt.org, blogic@openwrt.org Date: Thu, 1 Oct 2015 22:36:18 +0200 Message-Id: <1443731780-13238-2-git-send-email-noltari@gmail.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Subject: [OpenWrt-Devel] [PATCH 2/4] brcm2708: switch device tree compilation to linux X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" Signed-off-by: Álvaro Fernández Rojas --- target/linux/brcm2708/Makefile | 2 +- target/linux/brcm2708/image/Makefile | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/target/linux/brcm2708/Makefile b/target/linux/brcm2708/Makefile index 6d8aba0..f8c9347 100644 --- a/target/linux/brcm2708/Makefile +++ b/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)) diff --git a/target/linux/brcm2708/image/Makefile b/target/linux/brcm2708/image/Makefile index de222f0..7a68c50 100644 --- a/target/linux/brcm2708/image/Makefile +++ b/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,$@.dtb) -endef - define Build/gen-cfg cat config.txt > $@.config echo -e "\ndevice_tree=$(DEVICE_DTS).dtb" >> $@.config @@ -44,7 +40,7 @@ define Build/boot-img mcopy -i $@.boot cmdline.txt :: mcopy -i $@.boot $@.config ::config.txt mcopy -i $@.boot $(word 1,$^) ::kernel.img - mcopy -i $@.boot $@.dtb ::$(DEVICE_DTS).dtb + mcopy -i $@.boot $(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