From patchwork Thu Jan 21 12:04:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 60067 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp3735126lbb; Thu, 21 Jan 2016 04:06:18 -0800 (PST) X-Received: by 10.66.139.234 with SMTP id rb10mr59736480pab.82.1453377978346; Thu, 21 Jan 2016 04:06:18 -0800 (PST) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id e64si1744016pfd.66.2016.01.21.04.06.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jan 2016 04:06:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aMDzP-0003RK-VR; Thu, 21 Jan 2016 12:05:23 +0000 Received: from mail-lb0-x22e.google.com ([2a00:1450:4010:c04::22e]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aMDzL-0002DJ-Pt for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2016 12:05:21 +0000 Received: by mail-lb0-x22e.google.com with SMTP id cl12so21942573lbc.1 for ; Thu, 21 Jan 2016 04:04:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=Ge7L8jY45PFcfON+PMlOwRqVZhO/KDohqxBjXxQ0aFw=; b=AIT61dk+FbdqdBJxuC/bMydVfKb9mRoOe9NAt5gIpqE5PBM8zRiI09D/qKhAVCjG/Y MBJKbmg9xkjBYZdq7lVz1xB+RaD1RVgnUsMkVIcvqhWVGGwOTKANryZ7jDJvXDPMDdYe +XGy2S2ZrTdz4Jsmh5H5ocCwp3JPFwbpRltvU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Ge7L8jY45PFcfON+PMlOwRqVZhO/KDohqxBjXxQ0aFw=; b=kfn+y9IIvJtagxK66Qa88cEMaodubhIYw6n7itONGH+FEYFpl+jcUf95kR3qIJ+rz+ eBW3lC3TWAO2SYADRLOlHO+WvL2k5rnJRX+NgwGU1PYTuIaVTI42SJB3Qk3jZ2e1A4It NfzTDn7GX6w+J72k7EznnI5lqhysSRuIvT4LjRiIRIGSF2ObLIAhKpYmN+bsNZJq/Pss qLG3tXVUdaIOAaNvA9BQmX0sLYqiKPKZ4MemxcVRNJ5p5Cgf2tXaQT5a/E5eVWm480Ya bk9sdOt7NnwW7bNmAcN//dpby13mwxSZ6enAYeU3X8kTXtThMumK46VIGXDoEunTFKo5 FM7Q== X-Gm-Message-State: ALoCoQkMMiV0UuxWCn8S4tLBnuw0HKCO2RDFZs/oKGL3pfuY7j5Atuq/Fvfld4udIa93efKNkw20ZeRQeZAy/0TRe6jnm1KmEQ== X-Received: by 10.112.146.104 with SMTP id tb8mr15391945lbb.95.1453377897609; Thu, 21 Jan 2016 04:04:57 -0800 (PST) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id z193sm152709lfd.0.2016.01.21.04.04.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jan 2016 04:04:55 -0800 (PST) From: Linus Walleij To: arm@kernel.org Subject: [PATCH] ARM: realview: fix device tree build Date: Thu, 21 Jan 2016 13:04:47 +0100 Message-Id: <1453377887-23878-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160121_040520_117438_1D4E20C3 X-CRM114-Status: GOOD ( 11.94 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:4010:c04:0:0:0:22e listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linus Walleij , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org As it happens, two obj-$(CONFIG_FOO) += foo.o variables are above obj-y := core.o, which doesn't work: the += directives need to add something to the build and doesn't work if obj-y is not set first, so move the obj-y to be on top and everything builds nicely again. Signed-off-by: Linus Walleij --- ARM SoC guys, please apply this directly for fixes. --- arch/arm/mach-realview/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.4.3 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/arch/arm/mach-realview/Makefile b/arch/arm/mach-realview/Makefile index 8be6632407d8..dae8d86ef4cc 100644 --- a/arch/arm/mach-realview/Makefile +++ b/arch/arm/mach-realview/Makefile @@ -4,10 +4,9 @@ ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \ -I$(srctree)/arch/arm/plat-versatile/include - +obj-y := core.o obj-$(CONFIG_REALVIEW_DT) += realview-dt.o obj-$(CONFIG_SMP) += platsmp-dt.o -obj-y := core.o ifdef CONFIG_ATAGS obj-$(CONFIG_MACH_REALVIEW_EB) += realview_eb.o