[Buildroot] [next 04/25] utils/checkpackagelib: warn about redefined config

Peter Korsgaard peter at korsgaard.com
Mon Feb 6 11:03:21 UTC 2023


>>>>> "Ricardo" == Ricardo Martincoski <ricardo.martincoski at gmail.com> writes:

 > Warn the developer in the case the same config is declared more than
 > once in the same Config.in file.
 > But take into account the conditional code that lets the config be
 > visible and warn only when it is declared more than once in the same
 > conditions.
 > For instance, do not warn for:
 >  if BR2_PACKAGE_BUSYBOX
 >  config BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 >  endif
 >  if !BR2_PACKAGE_BUSYBOX # kconfig doesn't support else
 >  config BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 >  endif

 > Signed-off-by: Ricardo Martincoski <ricardo.martincoski at gmail.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list