mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 17:38:41 +08:00
rockchip/rk3399: reverse dependency order
This order works better when we have more SoCs.
This commit is contained in:
committed by
mergify[bot]
parent
099d38a69e
commit
80340dcf86
@@ -9,7 +9,7 @@ let
|
||||
in {
|
||||
imports = [
|
||||
../.
|
||||
../../rockchip/rk3399
|
||||
../../rockchip
|
||||
];
|
||||
|
||||
options.hardware.radxa.rock-4c-plus = {
|
||||
|
||||
@@ -6,6 +6,10 @@
|
||||
let
|
||||
cfg = config.hardware.rockchip;
|
||||
in {
|
||||
imports = [
|
||||
./rk3399
|
||||
];
|
||||
|
||||
options.hardware.rockchip = {
|
||||
enable = lib.mkEnableOption "Rockchip SoC support";
|
||||
diskoImageName = lib.mkOption {
|
||||
|
||||
@@ -6,12 +6,8 @@
|
||||
let
|
||||
cfg = config.hardware.rockchip.rk3399;
|
||||
in {
|
||||
imports = [
|
||||
../.
|
||||
];
|
||||
|
||||
options.hardware.rockchip.rk3399 = {
|
||||
enable = lib.mkEnableOption "Rockchip RK3399 support";
|
||||
enable = lib.mkEnableOption "Rockchip RK3399 support";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
Reference in New Issue
Block a user