# git rev-parse -q --verify c826df1217d3744205cac50bb30b3f4269c73d7d^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/mirror/linux-kbuild.git for-next # git rev-parse -q --verify c826df1217d3744205cac50bb30b3f4269c73d7d^{commit} c826df1217d3744205cac50bb30b3f4269c73d7d # git checkout -q -f -B kisskb c826df1217d3744205cac50bb30b3f4269c73d7d # git clean -qxdf # < git log -1 # commit c826df1217d3744205cac50bb30b3f4269c73d7d # Author: Masahiro Yamada # Date: Wed Mar 4 12:20:38 2020 +0900 # # kbuild: allow to run dt_binding_check without kernel configuration # # The dt_binding_check target is located outside of the # 'ifneq ($(dtstree),) ... endif' block. # # So, you can run 'make dt_binding_check' on any architecture. # This makes a perfect sense because the dt-schema is arch-agnostic. # # The only one problem I see is that scripts/dtc/dtc is not always built. # For example, ARCH=x86 defconfig does not define CONFIG_DTC. Kbuild # descends into scripts/dtc/ with doing nothing. Then, it fails to build # *.example.dt.yaml files. # # Let's build scripts/dtc/dtc forcibly when running dt_binding_check. # # The dt-schema does not depend on any CONFIG option either, so you # should be able to run dt_binding_check without the .config file. # # Going forward, you can directly run 'make dt_binding_check' in a # pristine source tree. # # Signed-off-by: Masahiro Yamada # Reviewed-by: Rob Herring # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/s390-linux/bin/s390-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/s390-linux/bin/s390-linux-ld --version # < git log --format=%s --max-count=1 c826df1217d3744205cac50bb30b3f4269c73d7d # < make -s -j 8 ARCH=s390 O=/kisskb/build/kbuild_s390-defconfig_s390x-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/s390-linux/bin/s390-linux- defconfig # < make -s -j 8 ARCH=s390 O=/kisskb/build/kbuild_s390-defconfig_s390x-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/s390-linux/bin/s390-linux- help # make -s -j 8 ARCH=s390 O=/kisskb/build/kbuild_s390-defconfig_s390x-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/s390-linux/bin/s390-linux- olddefconfig # make -s -j 8 ARCH=s390 O=/kisskb/build/kbuild_s390-defconfig_s390x-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/s390-linux/bin/s390-linux- Completed OK # rm -rf /kisskb/build/kbuild_s390-defconfig_s390x-gcc4.9 # Build took: 0:05:32.654563