blob: aa363eec91744547591c2f1f9e3692e887ede800 [file] [log] [blame]
Brian Silvercb565552014-12-11 12:51:36 -06001config BR2_PACKAGE_OCC
Stewart Smith03671c02017-02-17 14:57:57 +11002 bool "OCC (POWER9)"
3 default y if (BR2_OPENPOWER_PLATFORM && BR2_OPENPOWER_POWER9)
Brian Silvercb565552014-12-11 12:51:36 -06004 select BR2_CPP
5 help
6 Project to build OCC
7
Stewart Smith03671c02017-02-17 14:57:57 +11008if BR2_PACKAGE_OCC
9
Brian Silvercb565552014-12-11 12:51:36 -060010config BR2_OCC_BIN_FILENAME
Stewart Smith03671c02017-02-17 14:57:57 +110011 string "Name of OCC P9 image file"
12 default "occ.bin"
Brian Silvercb565552014-12-11 12:51:36 -060013 help
14 String used to define name of the OCC binary image file
Bill Hoffa11a23f22017-10-03 07:58:12 -050015
16config BR2_OCC_GPU_BIN_BUILD
17 bool "Enables Compilation of GPU Binary Image"
18 default n
Stewart Smith6af76632018-04-27 06:45:42 +100019 select BR2_PACKAGE_HOSTBOOT_BINARIES
Bill Hoffa11a23f22017-10-03 07:58:12 -050020 help
21 Boolean used to flag whether to compile OCC GPU binary
22
23config BR2_OCC_GPU_GPE_BIN_FILENAME
24 string "Name of OCC GPU GPE Binary file"
25 help
26 String used to define name of the OCC GPUE GPE binary image file
27
Stewart Smith2f718e42018-05-02 01:47:29 -050028choice
29 prompt "OCC version"
30 default BR2_OCC_OP920_VERSION
31
32config BR2_OCC_OP920_VERSION
33 bool "Use latest OCC stable version (OP920)"
34
35config BR2_OCC_LATEST_VERSION
36 bool "Use latest OCC master"
37
38config BR2_OCC_CUSTOM_VERSION
39 bool "Custom OCC version"
40
41endchoice
42
43config BR2_OCC_CUSTOM_VERSION_VALUE
44 string "OCC version"
45 depends on BR2_OCC_CUSTOM_VERSION
46
47config BR2_OCC_VERSION
48 string
49 default "cd30b100eee09956a27b69f7893349451400e5ba" if BR2_OCC_LATEST_VERSION
50 default "cd30b100eee09956a27b69f7893349451400e5ba" if BR2_OCC_OP920_VERSION
51 default BR2_OCC_CUSTOM_VERSION_VALUE \
52 if BR2_OCC_CUSTOM_VERSION
53
Stewart Smith03671c02017-02-17 14:57:57 +110054endif
55