Skip to content
Permalink
Browse files

Show "Unhide Annex selection"-patch only for supported boxes

Thanks to PeterPawn for analyzing the problem in #230 (comment)

closes #230
closes #231
  • Loading branch information
er13 committed Dec 1, 2019
1 parent 2c1d13a commit da1fdb353e4636dfadf040beedc34404483d7845
Showing with 14 additions and 1 deletion.
  1. +13 −0 config/avm/features.in
  2. +1 −1 config/ui/patches.in
@@ -121,6 +121,19 @@ config FREETZ_AVM_HAS_MULTI_ANNEX
depends on FREETZ_TYPE_DSL
depends on FREETZ_AVM_VERSION_05_2X_MIN

config FREETZ_AVM_HAS_ANNEX_SELECTION
bool
default y
depends on FREETZ_AVM_HAS_MULTI_ANNEX
depends on \
(FREETZ_SYSTEM_TYPE_AR9 && !FREETZ_TYPE_7312 && !FREETZ_TYPE_7320) || \
(FREETZ_SYSTEM_TYPE_AR10 ) || \
(FREETZ_SYSTEM_TYPE_IKS ) || \
(FREETZ_SYSTEM_TYPE_IPQ40xx && !FREETZ_TYPE_4040 ) || \
(FREETZ_SYSTEM_TYPE_GRX5 ) || \
(FREETZ_SYSTEM_TYPE_UR8 && !FREETZ_TYPE_7240 ) || \
(FREETZ_SYSTEM_TYPE_VR9)

# two different firmware images are available, one supporting Annex A and another one supporting Annex B
config FREETZ_AVM_HAS_ANNEX_A_AND_B
bool
@@ -1458,7 +1458,7 @@ config FREETZ_PATCH_MODFS_BOOT_MANAGER

config FREETZ_PATCH_MODFS_ANNEX_SELECTION
bool "Unhide Annex selection"
depends on FREETZ_AVM_HAS_MULTI_ANNEX
depends on FREETZ_TYPE_DSL && FREETZ_AVM_HAS_MULTI_ANNEX && FREETZ_AVM_HAS_ANNEX_SELECTION
depends on !FREETZ_REMOVE_MULTI_ANNEX_FIRMWARE_PRIME && !FREETZ_REMOVE_MULTI_ANNEX_FIRMWARE_DIFFS
depends on FREETZ_TYPE_LANG_DE
default n

0 comments on commit da1fdb3

Please sign in to comment.
You can’t perform that action at this time.