summaryrefslogtreecommitdiff
path: root/board/compulab
diff options
context:
space:
mode:
authorMarc Dietrich <marvin24@gmx.de>2012-10-03 04:26:28 +0000
committerTom Warren <twarren@nvidia.com>2012-10-29 09:07:04 -0700
commit73286d8729c0a2325911719492218477caa2c58e (patch)
tree90515611a7989146f4e6b11d450021f3008cfc59 /board/compulab
parentf04821a8ca714459481bd9fd315af2b5f92d99a6 (diff)
downloadu-boot-imx-73286d8729c0a2325911719492218477caa2c58e.zip
u-boot-imx-73286d8729c0a2325911719492218477caa2c58e.tar.gz
u-boot-imx-73286d8729c0a2325911719492218477caa2c58e.tar.bz2
tegra: move common features to a common makefile
For Non-Nvidia boards to include newly added features (like emc clock scaling) it would be necessary to add each feature to their own board Makefile. This is because currently the top Makefile automaticly includes these features only for Nvidia boards. This patch adds a simple Makefile include so all new features become available for non-Nvidia board vendors. Cc: Stephen Warren <swarren@wwwdotorg.org> Cc: Tom Warren <twarren@nvidia.com> Cc: Thierry Reding <thierry.reding@avionic-design.de> Cc: Lucas Stach <dev@lynxeye.de> Signed-off-by: Marc Dietrich <marvin24@gmx.de> Acked-by: Stephen Warren <swarren@nvidia.com> Acked-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'board/compulab')
-rw-r--r--board/compulab/trimslice/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/board/compulab/trimslice/Makefile b/board/compulab/trimslice/Makefile
index ff07879..cc844d2 100644
--- a/board/compulab/trimslice/Makefile
+++ b/board/compulab/trimslice/Makefile
@@ -28,9 +28,11 @@ $(shell mkdir -p $(obj)../../nvidia/common)
LIB = $(obj)lib$(BOARD).o
-COBJS := $(BOARD).o
-COBJS += ../../nvidia/common/board.o
+COBJS-y := $(BOARD).o
+include ../../nvidia/common/common.mk
+
+COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))