diff options
author | Christoph Muellner <christoph.muellner@theobroma-systems.com> | 2019-09-24 12:19:25 +0200 |
---|---|---|
committer | Christoph Muellner <christoph.muellner@theobroma-systems.com> | 2019-09-27 08:24:29 +0200 |
commit | 57cd7d26a1db1b7ecb8046c5aa4a5dcca2a5a91e (patch) | |
tree | 6b11fb446ab52420628fb9061a305f75cf92f7ae | |
parent | 8f2e213498f7a3056a81071450867ed703a4a46e (diff) |
package: rockchip: Add support for Rockchip SoC differentiation symbols.
This patch is a backport of Rockchip's SoC differentiation mechanism
used in their Buildroot BSP. It does not bring any package at all, but
allows packages to control their behaviour based on the selected
target SoC (e.g. install different drivers).
In order to keep compatibility with Rockchip packages we add support
for the differentiation mechanism as well.
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
-rw-r--r-- | package/Config.in | 1 | ||||
-rw-r--r-- | package/rockchip/Config.in | 102 |
2 files changed, 103 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in index edc60280e5..a7353de8cc 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1,6 +1,7 @@ menu "Target packages" source "package/busybox/Config.in" + source "package/rockchip/Config.in" source "package/skeleton/Config.in" source "package/skeleton-custom/Config.in" source "package/skeleton-init-common/Config.in" diff --git a/package/rockchip/Config.in b/package/rockchip/Config.in new file mode 100644 index 0000000000..7d32b8a7b2 --- /dev/null +++ b/package/rockchip/Config.in @@ -0,0 +1,102 @@ +menuconfig BR2_PACKAGE_ROCKCHIP + bool "rockchip BSP packages" + +if BR2_PACKAGE_ROCKCHIP +choice + default BR2_PACKAGE_RV1108 + prompt "Rockchip SoC selection" + +config BR2_PACKAGE_RV1108 + bool "rv1108 chip" + help + Use rockchip's rv1108 chip + +config BR2_PACKAGE_RK312X + bool "rk312X chip" + help + Use rockchip's rk312x chip + +config BR2_PACKAGE_RK3036_ECHO + bool "rk3036G chip" + help + Use rockchip's rk3036g chip + +config BR2_PACKAGE_RK3308 + bool "rk3308 chip" + help + Use rockchip's rk3308 chip + +config BR2_PACKAGE_RK3128H + bool "rk3128H chip" + help + Use rockchip's rk3128H box chip + +config BR2_PACKAGE_RK3128 + bool "rk3128 chip" + help + Use rockchip's rk3128 chip + +config BR2_PACKAGE_RK3126C + bool "rk3126c chip" + help + Use rockchip's rk3126c chip + +config BR2_PACKAGE_RK3399 + bool "rk3399 chip" + help + Use rockchip's rk3399 chip + +config BR2_PACKAGE_RK3399PRO + bool "rk3399pro chip" + help + Use rockchip's rk3399pro chip + +config BR2_PACKAGE_RK3288 + bool "rk3288 chip" + help + Use rockchip's rk3288 chip + +config BR2_PACKAGE_RK3326 + bool "rk3326 chip" + help + Use rockchip's rk3326 chip + +config BR2_PACKAGE_PX30 + bool "px30 chip" + help + Use rockchip's px30 chip + +config BR2_PACKAGE_PX3SE + bool "px3se chip" + help + Use rockchip's px3se chip + +config BR2_PACKAGE_RK1808 + bool "rk1808 chip" + help + Use rockchip's rk1808 chip + +config BR2_PACKAGE_RK3399PRO_NPU + bool "rk3399pro npu chip" + help + Use rockchip's rk3399pro npu chip + +config BR2_PACKAGE_RK3328 + bool "rk3328 chip" + help + Use rockchip's rk3328 chip + +config BR2_PACKAGE_RK3229 + bool "rk3229 chip" + help + Use rockchip's rk3229 chip + +config BR2_PACKAGE_RK3036 + bool "rk3036 chip" + help + Use rockchip's rk3036 chip + +endchoice + +endif + |