Re: [PATCH v3 2/2] android_ab: Fix ANDROID_AB_BACKUP_OFFSET

2024-03-08 Thread Sam Protsenko
On Fri, Mar 8, 2024 at 11:50 AM Sam Protsenko wrote: > > On Fri, Mar 8, 2024 at 11:00 AM Colin McAllister > wrote: > > > > Currently, setting CONFIG_AB_BACKUP_OFFSET in a target's defconfig will > > not actually enable the #if protected code in android_ab.c. This is > > because "CONFIG_" should h

Re: [PATCH v3 2/2] android_ab: Fix ANDROID_AB_BACKUP_OFFSET

2024-03-08 Thread Sam Protsenko
On Fri, Mar 8, 2024 at 11:00 AM Colin McAllister wrote: > > Currently, setting CONFIG_AB_BACKUP_OFFSET in a target's defconfig will > not actually enable the #if protected code in android_ab.c. This is > because "CONFIG_" should have been prepended to the config macro, or the > macros defined in k

[PATCH v3 2/2] android_ab: Fix ANDROID_AB_BACKUP_OFFSET

2024-03-08 Thread Colin McAllister
Currently, setting CONFIG_AB_BACKUP_OFFSET in a target's defconfig will not actually enable the #if protected code in android_ab.c. This is because "CONFIG_" should have been prepended to the config macro, or the macros defined in kconfig.h could have been used. The code included by ANDROID_AB_BAC