# git rev-parse -q --verify 060ef2b4224904cc2cbf867f141cb17fa2c9d2c0^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/mirror/linux-kbuild.git for-next remote: warning: multi-pack bitmap is missing required reverse index warning: The last gc run reported the following. Please correct the root cause and remove .git/gc.log. Automatic cleanup will not be performed until the file is removed. warning: There are too many unreachable loose objects; run 'git prune' to remove them. # git rev-parse -q --verify 060ef2b4224904cc2cbf867f141cb17fa2c9d2c0^{commit} 060ef2b4224904cc2cbf867f141cb17fa2c9d2c0 # git checkout -q -f -B kisskb 060ef2b4224904cc2cbf867f141cb17fa2c9d2c0 # git clean -qxdf # < git log -1 # commit 060ef2b4224904cc2cbf867f141cb17fa2c9d2c0 # Author: Masahiro Yamada # Date: Tue Apr 23 01:41:04 2024 +0900 # # kconfig: remove 'optional' property support # # The 'choice' statement is primarily used to exclusively select one # option, but the 'optional' property allows all entries to be disabled. # # In the following example, both A and B can be disabled simultaneously: # # choice # prompt "choose A, B, or nothing" # optional # # config A # bool "A" # # config B # bool "B" # # endchoice # # You can achieve the equivalent outcome by other means. # # A common solution is to add another option to guard the choice block. # In the following example, you can set ENABLE_A_B_CHOICE=n to disable # the entire choice block: # # choice # prompt "choose A or B" # depends on ENABLE_A_B_CHOICE # # config A # bool "A" # # config B # bool "B" # # endchoice # # Another approach is to insert one more entry: # # choice # prompt "choose A, B, or disable both" # # config A # bool "A" # # config B # bool "B" # # config DISABLE_A_AND_B # bool "choose this to disable both A and B" # # endchoice # # Some real examples are DEBUG_INFO_NONE, INITRAMFS_COMPRESSION_NONE, # LTO_NONE, etc. # # The 'optional' property is even more unnecessary for a tristate choice. # # Without the 'optional' property, you can disable A and B; you can set # 'm' in the choice prompt, and disable A and B individually: # # choice # prompt "choose one built-in or make them modular" # # config A # tristate "A" # # config B # tristate "B" # # endchoice # # In conclusion, the 'optional' property was unneeded. # # Signed-off-by: Masahiro Yamada # Reviewed-by: Nicolas Schier # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 060ef2b4224904cc2cbf867f141cb17fa2c9d2c0 # make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_pseries_le_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pseries_le_defconfig Using /kisskb/src/arch/powerpc/configs/ppc64_defconfig as base Merging /kisskb/src/arch/powerpc/configs/le.config Merging /kisskb/src/arch/powerpc/configs/guest.config Value of CONFIG_VIRTIO_BLK is redefined by fragment /kisskb/src/arch/powerpc/configs/guest.config: Previous value: CONFIG_VIRTIO_BLK=m New value: CONFIG_VIRTIO_BLK=y Value of CONFIG_SCSI_VIRTIO is redefined by fragment /kisskb/src/arch/powerpc/configs/guest.config: Previous value: CONFIG_SCSI_VIRTIO=m New value: CONFIG_SCSI_VIRTIO=y Value of CONFIG_VIRTIO_NET is redefined by fragment /kisskb/src/arch/powerpc/configs/guest.config: Previous value: CONFIG_VIRTIO_NET=m New value: CONFIG_VIRTIO_NET=y Value of CONFIG_VIRTIO_CONSOLE is redefined by fragment /kisskb/src/arch/powerpc/configs/guest.config: Previous value: CONFIG_VIRTIO_CONSOLE=m New value: CONFIG_VIRTIO_CONSOLE=y Value of CONFIG_VIRTIO_PCI is redefined by fragment /kisskb/src/arch/powerpc/configs/guest.config: Previous value: CONFIG_VIRTIO_PCI=m New value: CONFIG_VIRTIO_PCI=y Value of CONFIG_VIRTIO_BALLOON is redefined by fragment /kisskb/src/arch/powerpc/configs/guest.config: Previous value: CONFIG_VIRTIO_BALLOON=m New value: CONFIG_VIRTIO_BALLOON=y Value of CONFIG_VHOST_NET is redefined by fragment /kisskb/src/arch/powerpc/configs/guest.config: Previous value: CONFIG_VHOST_NET=m New value: CONFIG_VHOST_NET=y Value of CONFIG_IBMVETH is redefined by fragment /kisskb/src/arch/powerpc/configs/guest.config: Previous value: CONFIG_IBMVETH=m New value: CONFIG_IBMVETH=y Value of CONFIG_IBMVNIC is redefined by fragment /kisskb/src/arch/powerpc/configs/guest.config: Previous value: CONFIG_IBMVNIC=m New value: CONFIG_IBMVNIC=y Merging /kisskb/src/arch/powerpc/configs/kvm_guest.config # # merged configuration written to .config (needs make) # # < make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_pseries_le_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_pseries_le_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_pseries_le_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/kbuild_pseries_le_defconfig_powerpc-gcc5 # Build took: 0:03:00.043513