mirror of
				https://github.com/lingble/meta-tegra.git
				synced 2025-10-30 20:07:55 +00:00 
			
		
		
		
	optee: update for gcc 15 and DEBUG_PREFIX_MAP changes
* pass -std=gnu17 and disable errors for unterminated string initialization warnings in the test programs * update the sed filter to catch -ffile-prefix-map for the TA development kit Signed-off-by: Matt Madison <matt@madison.systems>
This commit is contained in:
		| @@ -10,7 +10,7 @@ do_install() { | |||||||
|     for f in ${B}/export-ta_${OPTEE_ARCH}/* ; do |     for f in ${B}/export-ta_${OPTEE_ARCH}/* ; do | ||||||
|         cp -aR $f ${D}${includedir}/optee/export-user_ta/ |         cp -aR $f ${D}${includedir}/optee/export-user_ta/ | ||||||
|     done |     done | ||||||
|     sed -i -r -e's!-f(macro|debug)-prefix-map=[^ ]+!!g' ${D}${includedir}/optee/export-user_ta/mk/conf.mk |     sed -i -r -e's!-f(macro|debug|file)-prefix-map=[^ ]+!!g' ${D}${includedir}/optee/export-user_ta/mk/conf.mk | ||||||
| } | } | ||||||
|  |  | ||||||
| FILES:${PN} = "${includedir}/optee/" | FILES:${PN} = "${includedir}/optee/" | ||||||
|   | |||||||
| @@ -14,6 +14,8 @@ DEPENDS += "optee-os-tadevkit optee-client openssl" | |||||||
| S = "${WORKDIR}/optee_test" | S = "${WORKDIR}/optee_test" | ||||||
| B = "${WORKDIR}/build" | B = "${WORKDIR}/build" | ||||||
|  |  | ||||||
|  | CFLAGS += "-std=gnu17 -Wno-error=unterminated-string-initialization" | ||||||
|  |  | ||||||
| EXTRA_OEMAKE += " \ | EXTRA_OEMAKE += " \ | ||||||
|     CROSS_COMPILE_HOST=${HOST_PREFIX} \ |     CROSS_COMPILE_HOST=${HOST_PREFIX} \ | ||||||
|     CROSS_COMPILE_TA=${HOST_PREFIX} \ |     CROSS_COMPILE_TA=${HOST_PREFIX} \ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Matt Madison
					Matt Madison