From: Thomas Petazzoni Date: Wed, 6 Mar 2013 16:59:56 +0000 (+0100) Subject: arm: plat-orion: only build addr-map.c when needed X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~70^2~19^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efaaa98d306d5bc52d4856c3758d44585d6abcc1;p=pandora-kernel.git arm: plat-orion: only build addr-map.c when needed -flagmail-match: MVEBU X-flagmail-match: KIRKWOOD X-flagmail-match: DOVE For now, addr-map.c is needed by all 5 Marvell EBU sub-architectures. However, we are going to introduce the orion-mbus driver, which will replace the address decoding code from addr-map.c. In order to ease the migration process, we will do that one sub-architecture at a time, which will require us to remove the compilation of addr-map.c one sub-architecture at a time. Therefore, we split the unconditional obj-y inclusion of addr-map.c into 5 conditionals obj-$(CONFIG_...) lines, one per sub-architecture. Signed-off-by: Thomas Petazzoni Signed-off-by: Jason Cooper --- Reading git-diff-tree failed