Skip to content
View in the app

A better way to browse. Learn more.

Learn more

[Armbian build PR] - allwinner-boot-splash.patch: Fix sunxi uboot redefined warnings on "CONFIG_VIDEO_*"

Featured Replies

Description

Current U-Boot compile on SUNXI 32-bit boards comes up with a couple of CONFIG_ redefined warnings.

Root cause is allwinner-boot-splash.patch. If CONFIG_VIDEO or CONFIG_DM_VIDEO is defined, then this patch is defining a couple of dependent configs - regardless if those are defined already.

Solution

Wrap those defines with an appropriate if !defined pattern.

How Has This Been Tested?

  • [x] Test 1: Compile for a SUNXI 32-bit board - e.g.: /compile.sh u-boot BOARD=bananapipro BRANCH=current RELEASE=focal BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_CONFIGURE=no COMPRESS_OUTPUTIMAGE=sha,gpg,7z SYNC_CLOCK=no CREATE_PATCHES=no

  • [x] Test 2: Compile for a SUNXI 64-bit board does not create any warning.

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [x] My changes generate no new warnings

View the full article

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.