From 37864972b365f35d2e243569e27481040a9d2ea8 Mon Sep 17 00:00:00 2001 From: Martin Stein Date: Fri, 7 Dec 2012 14:23:46 +0100 Subject: [PATCH] base-hw: build vea9x4 libs only with vea9x4 spec Fix #561 --- base-hw/lib/mk/vea9x4_core_support.mk | 3 +++ base-hw/lib/mk/vea9x4_platform_support.mk | 3 +++ 2 files changed, 6 insertions(+) diff --git a/base-hw/lib/mk/vea9x4_core_support.mk b/base-hw/lib/mk/vea9x4_core_support.mk index 0503eef504..6e471811c5 100644 --- a/base-hw/lib/mk/vea9x4_core_support.mk +++ b/base-hw/lib/mk/vea9x4_core_support.mk @@ -4,6 +4,9 @@ # \date 2012-10-10 # +# avoid building of this lib with other platforms +REQUIRES += platform_vea9x4 + BOARD_DIR = $(REP_DIR)/src/core/vea9x4 # include generic part of core support diff --git a/base-hw/lib/mk/vea9x4_platform_support.mk b/base-hw/lib/mk/vea9x4_platform_support.mk index b971052dfc..e27f684861 100644 --- a/base-hw/lib/mk/vea9x4_platform_support.mk +++ b/base-hw/lib/mk/vea9x4_platform_support.mk @@ -8,6 +8,9 @@ INC_DIR += $(REP_DIR)/src/core/include \ $(BASE_DIR)/src/core/include +# avoid building of this lib with other platforms +REQUIRES += platform_vea9x4 + SRC_CC = platform_support.cc platform_services.cc vpath platform_support.cc $(REP_DIR)/src/core/vea9x4