rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | inherit workonsrc |
| 2 | DESCRIPTION = "libflash" |
| 3 | LICENSE = "MediaTekProprietary" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e1696b147d49d491bcb4da1a57173fff" |
| 5 | #DEPENDS = "" |
| 6 | WORKONSRC = "${TOPDIR}/../src/multimedia/libcamera_3a/libflash/mt8183" |
| 7 | PN='libflash' |
| 8 | |
| 9 | inherit pkgconfig |
| 10 | |
| 11 | do_compile () { |
| 12 | oe_runmake \ |
| 13 | CFLAGS="${CFLAGS}" \ |
| 14 | LDFLAGS="${LDFLAGS}" |
| 15 | } |
| 16 | |
| 17 | do_install() { |
| 18 | oe_runmake \ |
| 19 | PREFIX="${prefix}" DESTDIR="${D}" install |
| 20 | } |
| 21 | |
| 22 | # move libs in -dev to normal rpm |
| 23 | FILES_SOLIBSDEV = "" |
| 24 | FILES_${PN} = "${libdir}/*.so ${bindir}" |