blob: 25e46780f4f99e4f12b45da161410b3b39da94bd [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"
Stewart Smithd68fc1f2018-05-16 21:11:31 -050030 default BR2_OCC_LATEST_VERSION
Stewart Smith2f718e42018-05-02 01:47:29 -050031
Stewart Smith2f718e42018-05-02 01:47:29 -050032config BR2_OCC_LATEST_VERSION
33 bool "Use latest OCC master"
34
35config BR2_OCC_CUSTOM_VERSION
36 bool "Custom OCC version"
37
38endchoice
39
40config BR2_OCC_CUSTOM_VERSION_VALUE
41 string "OCC version"
42 depends on BR2_OCC_CUSTOM_VERSION
43
44config BR2_OCC_VERSION
45 string
hostbootef1cb802018-08-16 02:29:41 -050046 default "d7adf6c28157d40f9e63311ccbe76df673807dd3" if BR2_OCC_LATEST_VERSION
Stewart Smith2f718e42018-05-02 01:47:29 -050047 default BR2_OCC_CUSTOM_VERSION_VALUE \
48 if BR2_OCC_CUSTOM_VERSION
49
Stewart Smith03671c02017-02-17 14:57:57 +110050endif
51