diff options
| -rw-r--r-- | meta-oe/recipes-support/imx-cst/imx-cst_3.4.1.bb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta-oe/recipes-support/imx-cst/imx-cst_3.4.1.bb b/meta-oe/recipes-support/imx-cst/imx-cst_3.4.1.bb index 12b319843e..97117eb914 100644 --- a/meta-oe/recipes-support/imx-cst/imx-cst_3.4.1.bb +++ b/meta-oe/recipes-support/imx-cst/imx-cst_3.4.1.bb | |||
| @@ -25,15 +25,17 @@ S = "${UNPACKDIR}/${DEBIAN_PGK_NAME}-${DEBIAN_PGK_VERSION}" | |||
| 25 | 25 | ||
| 26 | EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}" AR="${AR}" OBJCOPY="${OBJCOPY}"' | 26 | EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}" AR="${AR}" OBJCOPY="${OBJCOPY}"' |
| 27 | 27 | ||
| 28 | inherit siteinfo | ||
| 29 | |||
| 28 | do_compile() { | 30 | do_compile() { |
| 29 | oe_runmake -C code/obj.linux64 OSTYPE=linux64 ENCRYPTION=yes COPTIONS="${CFLAGS} ${CPPFLAGS}" LDOPTIONS="${LDFLAGS}" | 31 | oe_runmake -C code/obj.linux${SITEINFO_BITS} OSTYPE=linux${SITEINFO_BITS} ENCRYPTION=yes COPTIONS="${CFLAGS} ${CPPFLAGS}" LDOPTIONS="${LDFLAGS}" |
| 30 | oe_runmake -C add-ons/hab_csf_parser COPTS="${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" | 32 | oe_runmake -C add-ons/hab_csf_parser COPTS="${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" |
| 31 | } | 33 | } |
| 32 | 34 | ||
| 33 | do_install () { | 35 | do_install () { |
| 34 | install -d ${D}${bindir} | 36 | install -d ${D}${bindir} |
| 35 | install -m 755 ${S}/code/obj.linux64/cst ${D}${bindir}/ | 37 | install -m 755 ${S}/code/obj.linux${SITEINFO_BITS}/cst ${D}${bindir}/ |
| 36 | install -m 755 ${S}/code/obj.linux64/srktool ${D}${bindir} | 38 | install -m 755 ${S}/code/obj.linux${SITEINFO_BITS}/srktool ${D}${bindir} |
| 37 | install -m 755 ${S}/add-ons/hab_csf_parser/csf_parser ${D}${bindir} | 39 | install -m 755 ${S}/add-ons/hab_csf_parser/csf_parser ${D}${bindir} |
| 38 | } | 40 | } |
| 39 | 41 | ||
