blob: e1c3c669a422e61e41fa1ede29a6cefc04a7096b [file] [log] [blame]
Ramesh Iyyarebfe9d82020-03-23 21:58:20 -05001################################################################################
2#
3# ekb
4#
5################################################################################
6
7EKB_VERSION = $(call qstrip,$(BR2_EKB_VERSION))
Ilya Smirnovd56cef72021-06-23 09:34:37 -05008EKB_SITE = $(call github,open-power,pub-ekb,$(EKB_VERSION))
Ramesh Iyyarebfe9d82020-03-23 21:58:20 -05009
10EKB_INSTALL_STAGING = YES
11EKB_INSTALL_TARGET = NO
12
13EKB_STAGING_DIR = $(STAGING_DIR)/ekb/
14
15ifeq ($(BR2_OPENPOWER_POWER10),y)
16EKB_HWP_ATTRS_XML_FILES = chips/p10/procedures/xml/attribute_info/p10_clock_attributes.xml \
17 chips/p10/procedures/xml/attribute_info/p10_freq_attributes.xml \
18 chips/p10/procedures/xml/attribute_info/p10_ipl_attributes.xml \
19 chips/p10/procedures/xml/attribute_info/p10_nest_attributes.xml \
20 chips/p10/procedures/xml/attribute_info/p10_pervasive_attributes.xml \
21 chips/p10/procedures/xml/attribute_info/p10_runn_attributes.xml \
22 chips/p10/procedures/xml/attribute_info/p10_bars_attributes.xml \
Nick Bofferdingc8ac86b2022-09-07 10:15:27 -050023 chips/p10/procedures/xml/attribute_info/pm_plat_attributes.xml \
Ramesh Iyyarebfe9d82020-03-23 21:58:20 -050024 hwpf/fapi2/xml/attribute_info/unit_attributes.xml \
25 hwpf/fapi2/xml/attribute_info/common_attributes.xml \
26 hwpf/fapi2/xml/attribute_info/chip_attributes.xml
27endif
28
29define EKB_INSTALL_STAGING_CMDS
30 # Creating ekb staging directory
31 mkdir -p $(EKB_STAGING_DIR)
32 # Copying all required hwps attributes xml file with respective directory structures
33 cd $(@D); cp --parents $(EKB_HWP_ATTRS_XML_FILES) $(EKB_STAGING_DIR)
34endef
35
36$(eval $(generic-package))