summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/makefile
diff options
context:
space:
mode:
authorNick Bofferding <bofferdn@us.ibm.com>2012-04-17 22:30:59 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-04-24 15:48:42 -0500
commit4157b5631a1bbfcc7f9f95480b54e9ade7abce7d (patch)
tree423f4f13a4a0e2d6e76898992a37b4d2db302b3b /src/usr/targeting/makefile
parent5631ede5d2e63fa8585505eb29c6d86f420c9344 (diff)
downloadtalos-hostboot-4157b5631a1bbfcc7f9f95480b54e9ade7abce7d.tar.gz
talos-hostboot-4157b5631a1bbfcc7f9f95480b54e9ade7abce7d.zip
Support targeting code commonality
- Moved common targeting code to own subtrees - Updated many components with header file changes - Implemented abstract pointer class - Implemented Hostboot specific support for targeting commonality - Changed attribute VMM base address to 4 GB (From 3 GB) - Removed tabs, fixed > 80 character lines Change-Id: Ie5a6956670bfa4f262f7691b4f0ce5a20ed289fe RTC: 35569 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/909 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/makefile')
-rw-r--r--src/usr/targeting/makefile52
1 files changed, 32 insertions, 20 deletions
diff --git a/src/usr/targeting/makefile b/src/usr/targeting/makefile
index 438955284..661d3fbed 100644
--- a/src/usr/targeting/makefile
+++ b/src/usr/targeting/makefile
@@ -20,36 +20,48 @@
# Origin: 30
#
# IBM_PROLOG_END
+
+################################################################################
+#
+# @file src/usr/targeting/makefile
+#
+# @brief Makefile for building Hostboot's targeting implementation
+#
+################################################################################
+
ROOTPATH = ../../..
MODULE = targeting
-VPATH = \
- predicates: \
- iterators:
+COMMON_TARGETING_REL_PATH = common
+COMMON_TARGETING_MAKEFILE = ${COMMON_TARGETING_REL_PATH}/common.mk
-PREDICATES_OBJS = \
- predicatebase.o \
- predicatepostfixexpr.o \
- predicatectm.o \
- predicateisfunctional.o
-
-ITERATORS_OBJS = \
- targetiterator.o \
- rangefilter.o
+include ${COMMON_TARGETING_MAKEFILE}
-TARGET_OBJS = \
- target.o \
- targetservice.o \
- entitypath.o
+VPATH = \
+ adapters \
+ ${COMMON_TARGETING_REL_PATH} \
+ ${addprefix ${COMMON_TARGETING_REL_PATH}/, ${COMMON_TARGETING_SUBDIRS}}
ATTR_RP_OBJS = \
attrrp.o
-OTHER_OBJS = \
- util.o
+ENTRY_POINT_OBJS = \
+ targetservicestart.o
+
+DEBUG_OBJS = \
+ attributestrings.o \
+ attributedump.o
-OBJS = ${TARGET_OBJS} ${PREDICATES_OBJS} ${ITERATORS_OBJS} ${ATTR_RP_OBJS} ${OTHER_OBJS}
-OBJS += attributestrings.o attributedump.o
+HOSTBOOT_SPECIFIC_OBJS = ${ENTRY_POINT_OBJS} ${ATTR_RP_OBJS} ${DEBUG_OBJS}
+
+#debug :
+# @echo COMMON_TARGETING_REL_PATH = ${COMMON_TARGETING_REL_PATH}
+# @echo COMMON_TARGETING_MAKEFILE = ${COMMON_TARGETING_MAKEFILE}
+# @echo COMMON_TARGETING_SUBDIRS = ${COMMON_TARGETING_SUBDIRS}
+# @echo VPATH = ${VPATH}
+# @echo COMMON_TARGETING_OBJS = ${COMMON_TARGETING_OBJS}
+
+OBJS = ${COMMON_TARGETING_OBJS} ${HOSTBOOT_SPECIFIC_OBJS}
SUBDIRS = test.d xmltohb.d
OpenPOWER on IntegriCloud