Skip to content

Commit fdfe1b6

Browse files
committed
ipl-burning: Tidy up License files
To cleanup the top directory, all license files are stored into License directory and only License-index.txt is located on top directory. Signed-off-by: Yuya Hamamachi <yuya.hamamachi.sx@renesas.com>
1 parent 07615af commit fdfe1b6

4 files changed

Lines changed: 63 additions & 6 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
2+
- burn.py, ipl-burning.py, ipl-burning.json, run.sh, run.bat
3+
License: MIT
4+
LicensePath: ./License/LICENSE.MIT
5+
6+
- flash.bin(U-boot)
7+
License: GPL-2.0-or-later
8+
LicensePath: ./License/u-boot_licenses/*
9+
10+
- Flash_writer_sparrow_hawk_CR52.mot
11+
License: BSD-3-Clause
12+
LicensePath: ./License/LICENSE.BSD-3-Clause
13+
14+
- rcar_gen4_pcie.bin
15+
License: Proprietary
16+
LicensePath: ./License/LICENCE.r8a779g_pcie_phy
17+
18+
- python-embed-amd64
19+
License: PSF License
20+
License Text: ./python-embed-amd64/LICENSE.txt
21+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
Copyright (c) 2025-2026, Renesas Electronics Corporation.
3+
All rights reserved.
4+
5+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
6+
7+
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
8+
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.
9+
Neither the name of the <ORGANIZATION> nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
10+
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.
11+
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 Renesas Electronics Corporation
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

recipes-dev/ipl-burning/ipl-burning.bb

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
DESCRIPTION = "IPL burning tool"
22

33
LICENSE = "MIT"
4-
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
4+
LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE.MIT;md5=e7d4fc574e1858d0f946f9aa32397c5a"
55

66
PACKAGE_ARCH = "${MACHINE_ARCH}"
77

@@ -25,6 +25,9 @@ SRC_URI:append = " \
2525
file://run.bat \
2626
file://run.sh \
2727
file://Flash_writer_sparrow_hawk_CR52.mot \
28+
file://LICENSE-index.txt \
29+
file://LICENSE.MIT \
30+
file://LICENSE.BSD-3-Clause \
2831
${PCIE_FIRMWARE} \
2932
${PCIE_FIRMWARE_LIC} \
3033
"
@@ -48,8 +51,10 @@ do_deploy() {
4851
install -d ${DEPLOYDIR}/${PN}
4952

5053
# Copy license file to distribute
51-
install -m 0644 ${COMMON_LICENSE_DIR}/MIT ${DEPLOYDIR}/${PN}/MIT
52-
install -m 0644 ${COMMON_LICENSE_DIR}/BSD-3-Clause ${DEPLOYDIR}/${PN}/FlashWriter_LICENSE
54+
install -d ${DEPLOYDIR}/${PN}/License
55+
install -m 0644 ${WORKDIR}/LICENSE-index.txt ${DEPLOYDIR}/${PN}
56+
install -m 0644 ${WORKDIR}/LICENSE.MIT ${DEPLOYDIR}/${PN}/License
57+
install -m 0644 ${WORKDIR}/LICENSE.BSD-3-Clause ${DEPLOYDIR}/${PN}/License
5358

5459
# Copy to deploy folder
5560
install -m 0644 ${WORKDIR}/burn.py ${DEPLOYDIR}/${PN}
@@ -59,9 +64,9 @@ do_deploy() {
5964
install -m 0644 ${WORKDIR}/run.bat ${DEPLOYDIR}/${PN}
6065
install -m 0644 ${WORKDIR}/Flash_writer_sparrow_hawk_CR52.mot ${DEPLOYDIR}/${PN}
6166
install -m 0644 ${DEPLOY_DIR}/images/${MACHINE}/flash.bin ${DEPLOYDIR}/${PN}
62-
cp -r ${DEPLOY_DIR}/licenses/${MACHINE_LIC}/u-boot ${DEPLOYDIR}/${PN}/u-boot_licenses
67+
cp -r ${DEPLOY_DIR}/licenses/${MACHINE_LIC}/u-boot ${DEPLOYDIR}/${PN}/License/u-boot_licenses
6368
install -m 755 ${WORKDIR}/rcar_gen4_pcie.bin ${DEPLOYDIR}/${PN}
64-
install -m 755 ${WORKDIR}/LICENCE.r8a779g_pcie_phy ${DEPLOYDIR}/${PN}
69+
install -m 755 ${WORKDIR}/LICENCE.r8a779g_pcie_phy ${DEPLOYDIR}/${PN}/License
6570

6671
# install embedded python binary for Windows environment
6772
PYTHON_DIR=${DEPLOYDIR}/${PN}/python-embed-amd64
@@ -72,7 +77,6 @@ do_deploy() {
7277
unzip -qo ${WORKDIR}/python-3.13.4-embed-amd64.zip -d ${PYTHON_DIR}
7378
sed -i ${PYTHON_DIR}/*._pth -e "s/.*import site/import site/"
7479
install -m 0644 ${WORKDIR}/get-pip.py ${PYTHON_DIR}
75-
echo "./python-embed-amd64/LICENSE.txt" > ${DEPLOYDIR}/${PN}/PYTHON_LICENSE
7680
}
7781

7882
addtask deploy before do_build after do_compile

0 commit comments

Comments
 (0)