diff options
author | Sunil.Kumar <skumar8j@in.ibm.com> | 2015-12-01 06:32:53 -0600 |
---|---|---|
committer | Amit J. Tendolkar <amit.tendolkar@in.ibm.com> | 2015-12-08 04:07:19 -0600 |
commit | 02632c435f420892f94ecf1a39785ed39e6fd62f (patch) | |
tree | b465d4f8e695df250ceacfe403790a997483c978 /import/chips/p9/procedures/hwp | |
parent | b50b79a16f7face41d9d4fbb5983af76c7d3de26 (diff) | |
download | talos-sbe-02632c435f420892f94ecf1a39785ed39e6fd62f.tar.gz talos-sbe-02632c435f420892f94ecf1a39785ed39e6fd62f.zip |
Makefile Infra
Change-Id: I541cbf57945ab77f7e2575745dc2cc6b839687b5
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22362
Tested-by: Jenkins Server
Reviewed-by: Basabjit Sengupta <basengup@in.ibm.com>
Reviewed-by: Amit J. Tendolkar <amit.tendolkar@in.ibm.com>
Diffstat (limited to 'import/chips/p9/procedures/hwp')
-rw-r--r-- | import/chips/p9/procedures/hwp/cache/Makefile | 30 | ||||
-rw-r--r-- | import/chips/p9/procedures/hwp/cache/cachehcdfiles.mk | 30 | ||||
-rw-r--r-- | import/chips/p9/procedures/hwp/core/Makefile | 30 | ||||
-rw-r--r-- | import/chips/p9/procedures/hwp/core/corehcdfiles.mk | 32 | ||||
-rw-r--r-- | import/chips/p9/procedures/hwp/lib/Makefile | 30 | ||||
-rw-r--r-- | import/chips/p9/procedures/hwp/lib/libcommonfiles.mk | 18 | ||||
-rw-r--r-- | import/chips/p9/procedures/hwp/nest/Makefile | 30 | ||||
-rw-r--r-- | import/chips/p9/procedures/hwp/nest/nestfiles.mk | 22 | ||||
-rw-r--r-- | import/chips/p9/procedures/hwp/perv/Makefile | 30 | ||||
-rw-r--r-- | import/chips/p9/procedures/hwp/perv/pervfiles.mk | 51 |
10 files changed, 303 insertions, 0 deletions
diff --git a/import/chips/p9/procedures/hwp/cache/Makefile b/import/chips/p9/procedures/hwp/cache/Makefile new file mode 100644 index 00000000..94d8ef88 --- /dev/null +++ b/import/chips/p9/procedures/hwp/cache/Makefile @@ -0,0 +1,30 @@ + +# This Makefile compiles all of the cache hardware procedure code. See the +# "cachehcdfiles.mk" file in this directory. + +#all generated files from this makefile will end up in obj/cache +export SUB_OBJDIR = /cache + +include img_defs.mk +include cachehcdfiles.mk + + +OBJS := $(addprefix $(OBJDIR)/, $(CACHE_OBJECTS)) + +libcache.a: cache + $(AR) crs $(OBJDIR)/libcache.a $(OBJDIR)/*.o + +.PHONY: clean cache +cache: $(OBJS) + +$(OBJS) $(OBJS:.o=.d): | $(OBJDIR) + +$(OBJDIR): + mkdir -p $(OBJDIR) + +clean: + rm -fr $(OBJDIR) + +ifneq ($(MAKECMDGOALS),clean) +include $(OBJS:.o=.d) +endif diff --git a/import/chips/p9/procedures/hwp/cache/cachehcdfiles.mk b/import/chips/p9/procedures/hwp/cache/cachehcdfiles.mk new file mode 100644 index 00000000..2066cc39 --- /dev/null +++ b/import/chips/p9/procedures/hwp/cache/cachehcdfiles.mk @@ -0,0 +1,30 @@ +# @file cachehcdfiles.mk +# +# @brief mk for including cache hcode object files +# +########################################################################## +# Object Files +########################################################################## + +CACHE-CPP-SOURCES += p9_hcd_cache_arrayinit.C +CACHE-CPP-SOURCES += p9_hcd_cache_chiplet_init.C +CACHE-CPP-SOURCES += p9_hcd_cache_chiplet_reset.C +CACHE-CPP-SOURCES += p9_hcd_cache_dpll_setup.C +CACHE-CPP-SOURCES += p9_hcd_cache_gptr_time_initf.C +CACHE-CPP-SOURCES += p9_hcd_cache_initf.C +CACHE-CPP-SOURCES += p9_hcd_cache_occ_runtime_scom.C +CACHE-CPP-SOURCES += p9_hcd_cache_poweron.C +CACHE-CPP-SOURCES += p9_hcd_cache_ras_runtime_scom.C +CACHE-CPP-SOURCES += p9_hcd_cache_repair_initf.C +CACHE-CPP-SOURCES += p9_hcd_cache_runinit.C +CACHE-CPP-SOURCES += p9_hcd_cache_scomcust.C +CACHE-CPP-SOURCES += p9_hcd_cache_scominit.C +CACHE-CPP-SOURCES += p9_hcd_cache_startclocks.C + +CACHE-C-SOURCES += +CACHE-S-SOURCES += + +CACHE_OBJECTS += $(CACHE-CPP-SOURCES:.C=.o) +CACHE_OBJECTS += $(CACHE-C-SOURCES:.c=.o) +CACHE_OBJECTS += $(CACHE-S-SOURCES:.S=.o) + diff --git a/import/chips/p9/procedures/hwp/core/Makefile b/import/chips/p9/procedures/hwp/core/Makefile new file mode 100644 index 00000000..8bd2d2ac --- /dev/null +++ b/import/chips/p9/procedures/hwp/core/Makefile @@ -0,0 +1,30 @@ + +# This Makefile compiles all of the core hardware procedure code. See the +# "corehcdfiles.mk" file in this directory. + +#all generated files from this makefile will end up in obj/cache +export SUB_OBJDIR = /core + +include img_defs.mk +include corehcdfiles.mk + + +OBJS := $(addprefix $(OBJDIR)/, $(CORE_OBJECTS)) + +libcore.a: core + $(AR) crs $(OBJDIR)/libcore.a $(OBJDIR)/*.o + +.PHONY: clean core +core: $(OBJS) + +$(OBJS) $(OBJS:.o=.d): | $(OBJDIR) + +$(OBJDIR): + mkdir -p $(OBJDIR) + +clean: + rm -fr $(OBJDIR) + +ifneq ($(MAKECMDGOALS),clean) +include $(OBJS:.o=.d) +endif diff --git a/import/chips/p9/procedures/hwp/core/corehcdfiles.mk b/import/chips/p9/procedures/hwp/core/corehcdfiles.mk new file mode 100644 index 00000000..368595c5 --- /dev/null +++ b/import/chips/p9/procedures/hwp/core/corehcdfiles.mk @@ -0,0 +1,32 @@ +# @file corehcdfiles.mk +# +# @brief mk for including core hcode object files +# +########################################################################## +# Object Files +########################################################################## + +CORE-CPP-SOURCES += p9_hcd_core_arrayinit.C +CORE-CPP-SOURCES += p9_hcd_core_chiplet_init.C +CORE-CPP-SOURCES += p9_hcd_core_chiplet_reset.C +CORE-CPP-SOURCES += p9_hcd_core_gptr_time_initf.C +CORE-CPP-SOURCES += p9_hcd_core_initf.C +CORE-CPP-SOURCES += p9_hcd_core_occ_runtime_scom.C +CORE-CPP-SOURCES += p9_hcd_core_pcb_arb.C +CORE-CPP-SOURCES += p9_hcd_core_poweron.C +CORE-CPP-SOURCES += p9_hcd_core_ras_runtime_scom.C +CORE-CPP-SOURCES += p9_hcd_core_repair_initf.C +CORE-CPP-SOURCES += p9_hcd_core_runinit.C +CORE-CPP-SOURCES += p9_hcd_core_scomcust.C +CORE-CPP-SOURCES += p9_hcd_core_scominit.C +CORE-CPP-SOURCES += p9_hcd_core_startclocks.C +CORE-CPP-SOURCES += p9_thread_control.C +CORE-CPP-SOURCES += p9_sbe_instruct_start.C + +CORE-C-SOURCES += +CORE-S-SOURCES += + +CORE_OBJECTS += $(CORE-CPP-SOURCES:.C=.o) +CORE_OBJECTS += $(CORE-C-SOURCES:.c=.o) +CORE_OBJECTS += $(CORE-S-SOURCES:.S=.o) + diff --git a/import/chips/p9/procedures/hwp/lib/Makefile b/import/chips/p9/procedures/hwp/lib/Makefile new file mode 100644 index 00000000..9cecb0ae --- /dev/null +++ b/import/chips/p9/procedures/hwp/lib/Makefile @@ -0,0 +1,30 @@ + +# This Makefile compiles all of the common library hardware procedure code. +# See the "libcommonfiles.mk" file in this directory. + +#all generated files from this makefile will end up in obj/lib +export SUB_OBJDIR = /lib + +include img_defs.mk +include libcommonfiles.mk + + +OBJS := $(addprefix $(OBJDIR)/, $(LIB_OBJECTS)) + +libcommon.a: lib + $(AR) crs $(OBJDIR)/libcommon.a $(OBJDIR)/*.o + +.PHONY: clean lib +lib: $(OBJS) + +$(OBJS) $(OBJS:.o=.d): | $(OBJDIR) + +$(OBJDIR): + mkdir -p $(OBJDIR) + +clean: + rm -fr $(OBJDIR) + +ifneq ($(MAKECMDGOALS),clean) +include $(OBJS:.o=.d) +endif diff --git a/import/chips/p9/procedures/hwp/lib/libcommonfiles.mk b/import/chips/p9/procedures/hwp/lib/libcommonfiles.mk new file mode 100644 index 00000000..f494b819 --- /dev/null +++ b/import/chips/p9/procedures/hwp/lib/libcommonfiles.mk @@ -0,0 +1,18 @@ +# @file libcommonfiles.mk +# +# @brief mk for including library common object files +# +########################################################################## +# Object Files +########################################################################## + +LIB-CPP-SOURCES += p9_common_poweronoff.C +LIB-CPP-SOURCES += p9_common_pro_epi_log.C + +LIB-C-SOURCES += +LIB-S-SOURCES += + +LIB_OBJECTS += $(LIB-CPP-SOURCES:.C=.o) +LIB_OBJECTS += $(LIB-C-SOURCES:.c=.o) +LIB_OBJECTS += $(LIB-S-SOURCES:.S=.o) + diff --git a/import/chips/p9/procedures/hwp/nest/Makefile b/import/chips/p9/procedures/hwp/nest/Makefile new file mode 100644 index 00000000..c1fc1f6c --- /dev/null +++ b/import/chips/p9/procedures/hwp/nest/Makefile @@ -0,0 +1,30 @@ + +# This Makefile compiles all of the nest hardware procedure code. See the +# "nestfiles.mk" file in this directory. + +#all generated files from this makefile will end up in obj/nest +export SUB_OBJDIR = /nest + +include img_defs.mk +include nestfiles.mk + + +OBJS := $(addprefix $(OBJDIR)/, $(NEST_OBJECTS)) + +libnest.a: nest + $(AR) crs $(OBJDIR)/libnest.a $(OBJDIR)/*.o + +.PHONY: clean nest +nest: $(OBJS) + +$(OBJS) $(OBJS:.o=.d): | $(OBJDIR) + +$(OBJDIR): + mkdir -p $(OBJDIR) + +clean: + rm -fr $(OBJDIR) + +ifneq ($(MAKECMDGOALS),clean) +include $(OBJS:.o=.d) +endif diff --git a/import/chips/p9/procedures/hwp/nest/nestfiles.mk b/import/chips/p9/procedures/hwp/nest/nestfiles.mk new file mode 100644 index 00000000..e0b97bc0 --- /dev/null +++ b/import/chips/p9/procedures/hwp/nest/nestfiles.mk @@ -0,0 +1,22 @@ +# @file nestfiles.mk +# +# @brief mk for including nest object files +# +########################################################################## +# Object Files +########################################################################## + +#NEST-CPP-SOURCES = p9_sbe_mcs_setup.C +NEST-CPP-SOURCES +=p9_sbe_scominit.C +NEST-CPP-SOURCES +=p9_sbe_fabricinit.C +NEST-CPP-SOURCES +=p9_fbc_utils.C +NEST-CPP-SOURCES +=p9_sbe_load_bootloader.C +NEST-CPP-SOURCES +=p9_pba_access.C +NEST-CPP-SOURCES +=p9_pba_coherent_utils.C +NEST-CPP-SOURCES +=p9_pba_setup.C +NEST-C-SOURCES = +NEST-S-SOURCES = + +NEST_OBJECTS += $(NEST-CPP-SOURCES:.C=.o) +NEST_OBJECTS += $(NEST-C-SOURCES:.c=.o) +NEST_OBJECTS += $(NEST-S-SOURCES:.S=.o) diff --git a/import/chips/p9/procedures/hwp/perv/Makefile b/import/chips/p9/procedures/hwp/perv/Makefile new file mode 100644 index 00000000..5c1fc635 --- /dev/null +++ b/import/chips/p9/procedures/hwp/perv/Makefile @@ -0,0 +1,30 @@ + +# This Makefile compiles all of the core hardware procedure code. See the +# "pervfiles.mk" file in this directory. + +#all generated files from this makefile will end up in obj/perv +export SUB_OBJDIR = /perv + +include img_defs.mk +include pervfiles.mk + + +OBJS := $(addprefix $(OBJDIR)/, $(PERV_OBJECTS)) + +libperv.a: perv + $(AR) crs $(OBJDIR)/libperv.a $(OBJDIR)/*.o + +.PHONY: clean perv +perv: $(OBJS) + +$(OBJS) $(OBJS:.o=.d): | $(OBJDIR) + +$(OBJDIR): + mkdir -p $(OBJDIR) + +clean: + rm -fr $(OBJDIR) + +ifneq ($(MAKECMDGOALS),clean) +include $(OBJS:.o=.d) +endif diff --git a/import/chips/p9/procedures/hwp/perv/pervfiles.mk b/import/chips/p9/procedures/hwp/perv/pervfiles.mk new file mode 100644 index 00000000..030fb39a --- /dev/null +++ b/import/chips/p9/procedures/hwp/perv/pervfiles.mk @@ -0,0 +1,51 @@ +# @file pervfiles.mk +# +# @brief mk for including perv object files +# +########################################################################## +# Object Files +########################################################################## + +PERV-CPP-SOURCES =p9_sbe_arrayinit.C +PERV-CPP-SOURCES +=p9_sbe_attr_setup.C +PERV-CPP-SOURCES +=p9_sbe_check_master.C +PERV-CPP-SOURCES +=p9_sbe_chiplet_init.C +PERV-CPP-SOURCES +=p9_sbe_chiplet_pll_initf.C +PERV-CPP-SOURCES +=p9_sbe_chiplet_pll_setup.C +PERV-CPP-SOURCES +=p9_sbe_chiplet_reset.C +PERV-CPP-SOURCES +=p9_sbe_enable_seeprom.C +PERV-CPP-SOURCES +=p9_sbe_gptr_time_repr_initf.C +PERV-CPP-SOURCES +=p9_sbe_lpc_init.C +PERV-CPP-SOURCES +=p9_sbe_nest_enable_ridi.C +PERV-CPP-SOURCES +=p9_sbe_nest_initf.C +PERV-CPP-SOURCES +=p9_sbe_nest_startclocks.C +PERV-CPP-SOURCES +=p9_sbe_npll_initf.C +PERV-CPP-SOURCES +=p9_sbe_npll_setup.C +PERV-CPP-SOURCES +=p9_sbe_select_ex.C +PERV-CPP-SOURCES +=p9_sbe_startclock_chiplets.C +PERV-CPP-SOURCES +=p9_sbe_tp_arrayinit.C +PERV-CPP-SOURCES +=p9_sbe_tp_chiplet_init1.C +PERV-CPP-SOURCES +=p9_sbe_tp_chiplet_init2.C +PERV-CPP-SOURCES +=p9_sbe_tp_chiplet_init3.C +PERV-CPP-SOURCES +=p9_sbe_tp_chiplet_reset.C +PERV-CPP-SOURCES +=p9_sbe_tp_enable_ridi.C +PERV-CPP-SOURCES +=p9_sbe_tp_gptr_time_repr_initf.C +PERV-CPP-SOURCES +=p9_sbe_tp_initf.C +PERV-CPP-SOURCES +=p9_sbe_tp_ld_image.C +PERV-CPP-SOURCES +=p9_sbe_tp_switch_gears.C +PERV-CPP-SOURCES +=p9_select_boot_master.C +PERV-CPP-SOURCES +=p9_select_clock_mux.C +PERV-CPP-SOURCES +=p9_set_fsi_gp_shadow.C +PERV-CPP-SOURCES +=p9_setup_clock_term.C +PERV-CPP-SOURCES +=p9_setup_sbe_config.C +PERV-CPP-SOURCES +=p9_sbe_setup_evid.C +PERV-CPP-SOURCES +=p9_perv_sbe_cmn.C +PERV-CPP-SOURCES +=p9_sbe_common.C +PERV-CPP-SOURCES +=p9_sbe_gear_switcher.C + +PERV-C-SOURCES = +PERV-S-SOURCES = + +PERV_OBJECTS += $(PERV-CPP-SOURCES:.C=.o) +PERV_OBJECTS += $(PERV-C-SOURCES:.c=.o) +PERV_OBJECTS += $(PERV-S-SOURCES:.S=.o) |