diff options
| author | Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> | 2023-12-21 13:19:19 -0700 |
|---|---|---|
| committer | Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> | 2024-01-03 10:02:12 -0700 |
| commit | b122d894dfa417c59f6c68c17e31705c0b268dbf (patch) | |
| tree | 18eaea026e883a74022df25362f6a03b143d0844 /meta-xilinx-core/classes-recipe | |
| parent | 2757215333b58a36965261d6b76749cc08a54e10 (diff) | |
| download | meta-xilinx-b122d894dfa417c59f6c68c17e31705c0b268dbf.tar.gz | |
dfx_user_dts.bbclass: Fix build issue with bin and dtsi as input
In dfx_user_dts.bbclass fix build issue with bin and dtsi as input file
to firmware recipe. In case of bin file as input bootgen operation is
not performed and directly copy from ${S} directory. Also remove check
condition if dtbo with firmware-name doesn't exist which is not
required in case of bin file as input.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Diffstat (limited to 'meta-xilinx-core/classes-recipe')
| -rw-r--r-- | meta-xilinx-core/classes-recipe/dfx_user_dts.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-xilinx-core/classes-recipe/dfx_user_dts.bbclass b/meta-xilinx-core/classes-recipe/dfx_user_dts.bbclass index c20cd8f7..9f63fccc 100644 --- a/meta-xilinx-core/classes-recipe/dfx_user_dts.bbclass +++ b/meta-xilinx-core/classes-recipe/dfx_user_dts.bbclass | |||
| @@ -262,7 +262,7 @@ do_install() { | |||
| 262 | bbfatal "Multiple .bin found, use the right .bin in SRC_URI from the following:\n$(basename -a ${S}/*.bin)" | 262 | bbfatal "Multiple .bin found, use the right .bin in SRC_URI from the following:\n$(basename -a ${S}/*.bin)" |
| 263 | elif [ `ls ${S}/*.bit | wc -l` -eq 1 ] && [ ! -f ${B}/${USER_DTS_FILE}.dtbo ]; then | 263 | elif [ `ls ${S}/*.bit | wc -l` -eq 1 ] && [ ! -f ${B}/${USER_DTS_FILE}.dtbo ]; then |
| 264 | install -Dm 0644 ${S}/*.bit ${D}/${nonarch_base_libdir}/firmware/xilinx/${PN}/ | 264 | install -Dm 0644 ${S}/*.bit ${D}/${nonarch_base_libdir}/firmware/xilinx/${PN}/ |
| 265 | elif [ `ls ${S}/*.bin | wc -l` -eq 1 ] && [ ! -f ${B}/${USER_DTS_FILE}.dtbo ]; then | 265 | elif [ `ls ${S}/*.bin | wc -l` -eq 1 ]; then |
| 266 | install -Dm 0644 ${S}/*.bin ${D}/${nonarch_base_libdir}/firmware/xilinx/${PN}/ | 266 | install -Dm 0644 ${S}/*.bin ${D}/${nonarch_base_libdir}/firmware/xilinx/${PN}/ |
| 267 | elif [ -f ${B}/${PN}.bin ] && [ -f ${B}/${USER_DTS_FILE}.dtbo ]; then | 267 | elif [ -f ${B}/${PN}.bin ] && [ -f ${B}/${USER_DTS_FILE}.dtbo ]; then |
| 268 | install -Dm 0644 ${B}/${PN}.bin ${D}/${nonarch_base_libdir}/firmware/xilinx/${PN}/${PN}.bin | 268 | install -Dm 0644 ${B}/${PN}.bin ${D}/${nonarch_base_libdir}/firmware/xilinx/${PN}/${PN}.bin |
