aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Makefile
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2010-09-01 09:37:05 -0400
committerNicolas Pitre <nicolas.pitre@linaro.org>2010-10-01 22:26:38 -0400
commitc62d0f2ac18d38265ccf0e821e6afee60a0c89b5 (patch)
tree41f31ec8607d3c82317a2b38191a43a2f39e6d57 /arch/arm/Makefile
parent899611ee7d373e5eeda08e9a8632684e1ebbbf00 (diff)
ARM: link board specific files after core files
This allows for board specific issues to override decisions made in generic code that might not be suitable due to some errata or the like, by making the initcall hooks from those board specific files run after the core ones, therefore avoiding ugly #ifdef's in core code. Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Tested-by: Dave Martin <dave.martin@linaro.org> Tested-by: Jason Hui <jason.hui@linaro.org>
Diffstat (limited to 'arch/arm/Makefile')
-rw-r--r--arch/arm/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 59c1ce858fc..30a21dddccb 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -245,13 +245,14 @@ ifeq ($(FASTFPE),$(wildcard $(FASTFPE)))
245FASTFPE_OBJ :=$(FASTFPE)/ 245FASTFPE_OBJ :=$(FASTFPE)/
246endif 246endif
247 247
248# If we have a machine-specific directory, then include it in the build.
249core-y += arch/arm/kernel/ arch/arm/mm/ arch/arm/common/
250core-y += $(machdirs) $(platdirs)
251core-$(CONFIG_FPE_NWFPE) += arch/arm/nwfpe/ 248core-$(CONFIG_FPE_NWFPE) += arch/arm/nwfpe/
252core-$(CONFIG_FPE_FASTFPE) += $(FASTFPE_OBJ) 249core-$(CONFIG_FPE_FASTFPE) += $(FASTFPE_OBJ)
253core-$(CONFIG_VFP) += arch/arm/vfp/ 250core-$(CONFIG_VFP) += arch/arm/vfp/
254 251
252# If we have a machine-specific directory, then include it in the build.
253core-y += arch/arm/kernel/ arch/arm/mm/ arch/arm/common/
254core-y += $(machdirs) $(platdirs)
255
255drivers-$(CONFIG_OPROFILE) += arch/arm/oprofile/ 256drivers-$(CONFIG_OPROFILE) += arch/arm/oprofile/
256 257
257libs-y := arch/arm/lib/ $(libs-y) 258libs-y := arch/arm/lib/ $(libs-y)