summaryrefslogtreecommitdiff
path: root/board/avionic-design/tec/Makefile
diff options
context:
space:
mode:
authorMarc Dietrich <marvin24@gmx.de>2012-10-03 04:26:28 (GMT)
committerTom Warren <twarren@nvidia.com>2012-10-29 16:07:04 (GMT)
commit73286d8729c0a2325911719492218477caa2c58e (patch)
tree90515611a7989146f4e6b11d450021f3008cfc59 /board/avionic-design/tec/Makefile
parentf04821a8ca714459481bd9fd315af2b5f92d99a6 (diff)
downloadu-boot-fsl-qoriq-73286d8729c0a2325911719492218477caa2c58e.tar.xz
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/avionic-design/tec/Makefile')
-rw-r--r--board/avionic-design/tec/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/board/avionic-design/tec/Makefile b/board/avionic-design/tec/Makefile
index 864bc0e..e8c1e8b 100644
--- a/board/avionic-design/tec/Makefile
+++ b/board/avionic-design/tec/Makefile
@@ -29,9 +29,11 @@ $(shell mkdir -p $(obj)../common $(obj)../../nvidia/common)
LIB = $(obj)lib$(BOARD).o
-COBJS := ../../nvidia/common/board.o
-COBJS += ../common/tamonten.o
+COBJS-y := ../common/tamonten.o
+include ../../nvidia/common/common.mk
+
+COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))