diff mbox

soc: tegra: remove redundant $(CONFIG_ARCH_TEGRA) in Makefile

Message ID 1438322301-24584-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Headers show

Commit Message

Masahiro Yamada July 31, 2015, 5:58 a.m. UTC
Kbuild descends into drivers/soc/tegra/ only when CONFIG_ARCH_TEGRA
is enabled. (see drivers/soc/Makefile)

$(CONFIG_ARCH_TEGRA) in drivers/soc/tegra/Makefile always evaluates
to 'y'.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/soc/tegra/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Thierry Reding Aug. 13, 2015, 2:18 p.m. UTC | #1
On Fri, Jul 31, 2015 at 02:58:21PM +0900, Masahiro Yamada wrote:
> Kbuild descends into drivers/soc/tegra/ only when CONFIG_ARCH_TEGRA
> is enabled. (see drivers/soc/Makefile)
> 
> $(CONFIG_ARCH_TEGRA) in drivers/soc/tegra/Makefile always evaluates
> to 'y'.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
> 
>  drivers/soc/tegra/Makefile | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Applied, thanks.

Thierry
diff mbox

Patch

diff --git a/drivers/soc/tegra/Makefile b/drivers/soc/tegra/Makefile
index cdaad9d..ae857ff 100644
--- a/drivers/soc/tegra/Makefile
+++ b/drivers/soc/tegra/Makefile
@@ -1,4 +1,4 @@ 
-obj-$(CONFIG_ARCH_TEGRA) += fuse/
+obj-y += fuse/
 
-obj-$(CONFIG_ARCH_TEGRA) += common.o
-obj-$(CONFIG_ARCH_TEGRA) += pmc.o
+obj-y += common.o
+obj-y += pmc.o