mirror of
https://github.com/tsukumijima/libmali-rockchip.git
synced 2026-01-24 00:10:50 +01:00
meson: Add firmware-dir option
It might require custom firmware dir for cases like 'usr merge'. Change-Id: Icaacd3fa26a8ff5bb2e7b8413c6e165b331ab16b Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This commit is contained in:
parent
bd6bb09578
commit
f450951d02
2 changed files with 4 additions and 1 deletions
|
|
@ -331,7 +331,8 @@ endif
|
|||
|
||||
# Install firmwares
|
||||
if gpu == 'valhall-g610'
|
||||
install_data('firmware/g610/mali_csffw.bin', install_dir : '/lib/firmware')
|
||||
install_data('firmware/g610/mali_csffw.bin',
|
||||
install_dir : get_option('firmware-dir'))
|
||||
endif
|
||||
|
||||
if vendor_package
|
||||
|
|
|
|||
|
|
@ -22,3 +22,5 @@ option('wrappers', type: 'feature', value: 'auto',
|
|||
description: 'Install with wrappers (default: auto)')
|
||||
option('optimize-level', type: 'combo', choices: ['O0', 'O1', 'O2', 'O3', 'Os', 'Ofast', 'Og'], value: 'O3',
|
||||
description: 'Optimize level (default: O3)')
|
||||
option('firmware-dir', type: 'string', value: '/lib/firmware',
|
||||
description: 'Firmware DIR (default: /lib/firmware)')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue