diff --git a/common/scripts/build-sct-arm.sh b/common/scripts/build-sct-arm.sh index 67ea997..5f8e81a 100755 --- a/common/scripts/build-sct-arm.sh +++ b/common/scripts/build-sct-arm.sh @@ -1,34 +1,22 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2023, ARM Limited and Contributors. All rights reserved. +# Copyright (c) 2021-2024, Arm Limited or its affiliates. All rights reserved. +# SPDX-License-Identifier : Apache-2.0 # -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: +# 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 # -# Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. +# http://www.apache.org/licenses/LICENSE-2.0 # -# Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# Neither the name of ARM nor the names of its contributors may be used -# to endorse or promote products derived from this software without specific -# prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. +# 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. +## + -# # This script uses the following environment variables from the variant # # VARIANT - build variant name diff --git a/common/scripts/build-sct.sh b/common/scripts/build-sct.sh index 5837bfa..8aabe64 100755 --- a/common/scripts/build-sct.sh +++ b/common/scripts/build-sct.sh @@ -1,32 +1,20 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2024, ARM Limited and Contributors. All rights reserved. +# Copyright (c) 2021-2024, Arm Limited or its affiliates. All rights reserved. +# SPDX-License-Identifier : Apache-2.0 # -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: +# 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 # -# Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. +# http://www.apache.org/licenses/LICENSE-2.0 # -# Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# Neither the name of ARM nor the names of its contributors may be used -# to endorse or promote products derived from this software without specific -# prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. +# 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. +## # # This script uses the following environment variables from the variant diff --git a/common/scripts/get_source.sh b/common/scripts/get_source.sh index f4e91ac..b80d566 100755 --- a/common/scripts/get_source.sh +++ b/common/scripts/get_source.sh @@ -1,32 +1,20 @@ #!/usr/bin/env bash -# Copyright (c) 2021, 2023, ARM Limited and Contributors. All rights reserved. +# Copyright (c) 2021, 2023-2024, Arm Limited or its affiliates. All rights reserved. +# SPDX-License-Identifier : Apache-2.0 # -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: +# 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 # -# Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. +# http://www.apache.org/licenses/LICENSE-2.0 # -# Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# Neither the name of ARM nor the names of its contributors may be used -# to endorse or promote products derived from this software without specific -# prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. +# 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. +## TOP_DIR=`pwd` diff --git a/common/sct-tests/sbbr-tests/BBR_SCT.dsc b/common/sct-tests/sbbr-tests/BBR_SCT.dsc index 5113cc8..9c6a10a 100755 --- a/common/sct-tests/sbbr-tests/BBR_SCT.dsc +++ b/common/sct-tests/sbbr-tests/BBR_SCT.dsc @@ -101,7 +101,6 @@ DEBUG_*_*_CC_FLAGS = -DEFI_DEBUG -DACS_VERSION=\"v24.03_2.1.0\" RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -DACS_VERSION=\"v24.03_2.1.0\" - RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -DACS_VERSION=\"v24.03_2.1.0\" [Libraries] SctPkg/Library/SctLib/SctLib.inf diff --git a/sbbr/scripts/build-scripts/build_sbbr.sh b/sbbr/scripts/build-scripts/build_sbbr.sh index 36f4667..420ce00 100755 --- a/sbbr/scripts/build-scripts/build_sbbr.sh +++ b/sbbr/scripts/build-scripts/build_sbbr.sh @@ -1,32 +1,20 @@ #!/usr/bin/env bash -# Copyright (c) 2021, ARM Limited and Contributors. All rights reserved. +# Copyright (c) 2021, 2024, Arm Limited or its affiliates. All rights reserved. +# SPDX-License-Identifier : Apache-2.0 # -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: +# 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 # -# Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. +# http://www.apache.org/licenses/LICENSE-2.0 # -# Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# Neither the name of ARM nor the names of its contributors may be used -# to endorse or promote products derived from this software without specific -# prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. +# 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. +## TOP_DIR=`pwd` @@ -35,14 +23,14 @@ create_scripts_link() ln -s $TOP_DIR/../../common/scripts/framework.sh $TOP_DIR/build-scripts/framework.sh ln -s $TOP_DIR/../../common/scripts/parse_params.sh $TOP_DIR/build-scripts/parse_params.sh if [[ $1 = "fwts" ]]; then - ln -s $TOP_DIR/../../common/scripts/build-fwts.sh $TOP_DIR/build-scripts/build-fwts.sh + ln -s $TOP_DIR/../../common/scripts/build-fwts.sh $TOP_DIR/build-scripts/build-fwts.sh elif [[ $1 = "sct" ]]; then - ln -s $TOP_DIR/../../common/scripts/build-sct.sh $TOP_DIR/build-scripts/build-sct.sh + ln -s $TOP_DIR/../../common/scripts/build-sct.sh $TOP_DIR/build-scripts/build-sct.sh else - ln -s $TOP_DIR/../../common/scripts/build-sct.sh $TOP_DIR/build-scripts/build-sct.sh - ln -s $TOP_DIR/../../common/scripts/build-fwts.sh $TOP_DIR/build-scripts/build-fwts.sh + ln -s $TOP_DIR/../../common/scripts/build-sct.sh $TOP_DIR/build-scripts/build-sct.sh + ln -s $TOP_DIR/../../common/scripts/build-fwts.sh $TOP_DIR/build-scripts/build-fwts.sh fi - ln -s $TOP_DIR/../../common/scripts/build-uefi-apps.sh $TOP_DIR/build-scripts/build-uefi-apps.sh + ln -s $TOP_DIR/../../common/scripts/build-uefi-apps.sh $TOP_DIR/build-scripts/build-uefi-apps.sh } init_dir()