# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# $Source: src/import/chips/p10/procedures/utils/stopreg/p10_stop_api.mk $
#
# OpenPOWER HostBoot Project
#
# Contributors Listed Below - COPYRIGHT 2015,2019
# [+] International Business Machines Corp.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied. See the License for the specific language governing
# permissions and limitations under the License.
#
# IBM_PROLOG_END_TAG
PROCEDURE=p10_stop_api
STOP_UTIL=$(ROOTPATH)/chips/p10/procedures/utils/stopreg/
STOP_UTIL+=$(ROOTPATH)/chips/p10/procedures/hwp/lib
lib$(PROCEDURE)_DEPLIBS += p10_stop_util
$(call ADD_MODULE_INCDIR,$(PROCEDURE),$(STOP_UTIL))
$(call BUILD_PROCEDURE)

# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# $Source: src/import/chips/p10/procedures/utils/stopreg/p10_stop_api.mk $
#
# OpenPOWER HostBoot Project
#
# Contributors Listed Below - COPYRIGHT 2015,2021
# [+] International Business Machines Corp.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied. See the License for the specific language governing
# permissions and limitations under the License.
#
# IBM_PROLOG_END_TAG
PROCEDURE=p10_stop_api
STOP_UTIL=$(ROOTPATH)/chips/p10/procedures/utils/stopreg/
STOP_UTIL+=$(ROOTPATH)/chips/p10/procedures/hwp/lib
lib$(PROCEDURE)_USELIBS += p10_stop_util
$(call ADD_MODULE_INCDIR,$(PROCEDURE),$(STOP_UTIL))
$(call BUILD_PROCEDURE)

Stop API: Fixed OP build issue for ubuntu 21.04.
Stop API: Fixed OP build issue for ubuntu 21.04.

commit fixes issue of multiple definitions observed in
OP build environment using ubuntu 21.04.

Change-Id: I73998cc8ec6451aa8ddd2d3f82239dbae4055639
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/124072
Tested-by: Jenkins Server <8e3f934e4c44875bc48d33da3ea13d93ba9a233f@us.ibm.com>
Tested-by: FSP CI Jenkins <aa9e4d9ac7cd25905e9c0dd36d4150516e73dd86@us.ibm.com>
Tested-by: Hostboot CI <52521565bd8ea18a2b112942dce4f4220a97c2c8@us.ibm.com>
Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <95a9682e5bdc1ccf6e82d516bbb3db21526dc713@in.ibm.com>
Reviewed-by: Sumit Kumar <ff5b4540db53296dde98178f6d336c6b609ba803@in.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/124074
Tested-by: Jenkins OP Build CI <e610bd72261d3c0a48f1e8ae36832ab00774d426@us.ibm.com>
Tested-by: Jenkins OP HW <0eb0fff262f74a65a832afbcc7b153e391c9a3fd@us.ibm.com>
Tested-by: Jenkins Combined Simics CI <8312af3886dfc9bb930f549023677220805b137e@us.ibm.com>
Reviewed-by: Nicholas E Bofferding <fb8db48116bc8a69e29dd8cdb037246f232f4af5@us.ibm.com>
