RSS Bot Posted March 21, 2023 Posted March 21, 2023 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
Recommended Posts