From patchwork Fri Sep 26 12:09:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Grant Likely X-Patchwork-Id: 37962 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 61A6820F2E for ; Fri, 26 Sep 2014 12:09:32 +0000 (UTC) Received: by mail-wi0-f198.google.com with SMTP id n3sf5599681wiv.5 for ; Fri, 26 Sep 2014 05:09:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:subject:to:cc :in-reply-to:references:date:message-id:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=Zz6aegYLRwtmidvG6yd4qmKajnN1FgMI97vhsQxi0DA=; b=LwPYWU34suoAEBc4NoZrX7ROeKQNJgIHl3j+acuTol4eTEOr7u2iHZ71xg50++EUt+ 7UqE1YIML+7BBDeih1BONnaAGAt8l74W1k38id520/atXaj2ulPpiB1R5uCoN3EBlHNg NQ0UESOVVqasCl5C7ywRTSz8muc0pNHxYWLKwVvgQ+ivyTAAD+LuMHTwatSPB3MjsqP/ Sti4lYD8x94JK7CaaIrly0N7b0mQpua2eAbHCZjtRYYbPVTY+/NIv420mRwhs2t4MSV3 4xLCWY98mMVRmtR5EoWAeOgzkvA/TdzwCjhuJBayVUETS5UwjvTkmezYUFjSFf0yvh9g MR2A== X-Gm-Message-State: ALoCoQmIfr0SF+me599p/Yh1gXcW7ttOHiT9pK5cDLOgamWh4SUPVWg7mnENd0fnSDpXEOF9XneL X-Received: by 10.152.4.4 with SMTP id g4mr3087980lag.2.1411733370727; Fri, 26 Sep 2014 05:09:30 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.43.69 with SMTP id u5ls385548lal.100.gmail; Fri, 26 Sep 2014 05:09:30 -0700 (PDT) X-Received: by 10.112.156.138 with SMTP id we10mr19277120lbb.68.1411733370589; Fri, 26 Sep 2014 05:09:30 -0700 (PDT) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com [209.85.217.172]) by mx.google.com with ESMTPS id ir4si6854644lac.116.2014.09.26.05.09.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Sep 2014 05:09:30 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) client-ip=209.85.217.172; Received: by mail-lb0-f172.google.com with SMTP id p9so13740088lbv.17 for ; Fri, 26 Sep 2014 05:09:30 -0700 (PDT) X-Received: by 10.112.4.33 with SMTP id h1mr18461931lbh.67.1411733369609; Fri, 26 Sep 2014 05:09:29 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.130.169 with SMTP id of9csp49110lbb; Fri, 26 Sep 2014 05:09:28 -0700 (PDT) X-Received: by 10.69.26.33 with SMTP id iv1mr30908754pbd.62.1411733367488; Fri, 26 Sep 2014 05:09:27 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pl6si9010674pdb.111.2014.09.26.05.09.26 for ; Fri, 26 Sep 2014 05:09:27 -0700 (PDT) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754684AbaIZMJY (ORCPT + 5 others); Fri, 26 Sep 2014 08:09:24 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:49388 "EHLO mail-we0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752966AbaIZMJW (ORCPT ); Fri, 26 Sep 2014 08:09:22 -0400 Received: by mail-we0-f169.google.com with SMTP id k48so9614398wev.0 for ; Fri, 26 Sep 2014 05:09:21 -0700 (PDT) X-Received: by 10.194.119.67 with SMTP id ks3mr23672468wjb.96.1411733360889; Fri, 26 Sep 2014 05:09:20 -0700 (PDT) Received: from trevor.secretlab.ca (host86-166-87-213.range86-166.btcentralplus.com. [86.166.87.213]) by mx.google.com with ESMTPSA id k10sm5929211wjb.28.2014.09.26.05.09.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Sep 2014 05:09:19 -0700 (PDT) Received: by trevor.secretlab.ca (Postfix, from userid 1000) id B60B4C40FEB; Fri, 26 Sep 2014 05:09:17 -0700 (PDT) From: Grant Likely Subject: Re: Adding selftest testdata dynamically into live tree To: Janusz =?iso-8859-2?q?U=BFycki?= , Gaurav Minocha Cc: "devicetree@vger.kernel.org" In-Reply-To: <542064F1.4000601@elproma.com.pl> References: <542064F1.4000601@elproma.com.pl> Date: Fri, 26 Sep 2014 13:09:17 +0100 Message-Id: <20140926120917.B60B4C40FEB@trevor.secretlab.ca> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: grant.likely@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , On Mon, 22 Sep 2014 20:05:37 +0200, Janusz UĹźycki wrote: > Hi. > > On 3.17.0-rc6-next-20140922+ with CONFIG_OF_SELFTEST enabled > zImage is recreated every time I call "make" despite I've not done > any change in source files and zImage was the same. > This is caused by the rm line: > CALL scripts/checksyscalls.sh > CHK include/generated/compile.h > DTC drivers/of/testcase-data/testcases.dtb > DTB drivers/of/testcase-data/testcases.dtb.S > AS drivers/of/testcase-data/testcases.dtb.o > LD drivers/of/of_selftest.o > LD drivers/of/built-in.o > rm drivers/of/testcase-data/testcases.dtb.S > drivers/of/testcase-data/testcases.dtb > LD drivers/built-in.o > LINK vmlinux > LD vmlinux.o Try this change: --- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 260bf8acfce9..4555e2e1b4ed 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -269,7 +269,7 @@ cmd_dtc = $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \ -d $(depfile).dtc.tmp $(dtc-tmp) ; \ cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) -$(obj)/%.dtb: $(src)/%.dts FORCE +$(obj)/%.dtb: $(src)/%.dts $(call if_changed_dep,dtc) dtc-tmp = $(subst $(comma),_,$(dot-target).dts.tmp)