Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image build warning from kernel make: Makefile:235: target 'install' given more than once in the same rule #6446

Open
ColorfulRhino opened this issue Mar 28, 2024 · 1 comment

Comments

@ColorfulRhino
Copy link
Collaborator

ColorfulRhino commented Mar 28, 2024

build_targets+=("install" "${KERNEL_INSTALL_TYPE:-install}")

This line is giving a warning on normal builds because it adds install twice to make.

Log from /.compile.sh build BOARD=nanopi-r5c BRANCH=edge

### kernel_build.log 
--> (18) INFO: Building kernel [ rockchip64 linux-rockchip64-edge all Image install install modules_install headers_install dtbs_install ]
--> (18) COMMAND: ccache --zero-stats
   Statistics zeroed
--> (18) COMMAND: env -i CCACHE_BASEDIR="/home/user/build-fork/cache/sources/linux-kernel-worktree/6.8__rockchip64__arm64" CCACHE_TEMPDIR="/home/user/build-fork/.tmp/work-a1835808-1d24-4ff2-a50b-712003dbb975/ccache_tmp" PATH="/usr/bin:/usr/lib/ccache:/home/user/build-fork/.tmp/work-a1835808-1d24-4ff2-a50b-712003dbb975/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" DPKG_COLORS=always XZ_OPT='--threads=0' TERM='xterm-256color' COLUMNS='140' COLORFGBG='' make '-j24' 'ARCH=arm64' 'LOCALVERSION=-edge-rockchip64' 'CROSS_COMPILE=ccache  aarch64-linux-gnu-' 'KCFLAGS=-fdiagnostics-color=always -Wno-error=misleading-indentation ' 'SOURCE_DATE_EPOCH=1711491814' 'KBUILD_BUILD_TIMESTAMP=Tue Mar 26 23:23:34 CET 2024' 'KBUILD_BUILD_USER=armbian' 'KBUILD_BUILD_HOST=next' 'KGZIP=pigz' 'KBZIP2=pbzip2' 'INSTALL_MOD_STRIP=1' 'INSTALL_DTBS_PATH=/home/user/build-fork/.tmp/work-a1835808-1d24-4ff2-a50b-712003dbb975/kernel_dest_install_dir-IxBrt/dtbs' 'INSTALL_PATH=/home/user/build-fork/.tmp/work-a1835808-1d24-4ff2-a50b-712003dbb975/kernel_dest_install_dir-IxBrt/image/boot' 'INSTALL_HDR_PATH=/home/user/build-fork/.tmp/work-a1835808-1d24-4ff2-a50b-712003dbb975/kernel_dest_install_dir-IxBrt/libc_headers' 'INSTALL_MOD_PATH=/home/user/build-fork/.tmp/work-a1835808-1d24-4ff2-a50b-712003dbb975/kernel_dest_install_dir-IxBrt/modules' all Image install install modules_install headers_install dtbs_install 
   Makefile:235: target 'install' given more than once in the same rule
   /home/user/build-fork/cache/sources/linux-kernel-worktree/6.8__rockchip64__arm64/Makefile:352: target 'install' given more than once in the same rule
     SYNC    include/config/auto.conf.cmd
     UPD     include/generated/compile.h
     DTC     arch/arm64/boot/dts/rockchip/rk3318-box.dtb
Copy link

Jira ticket: AR-2116

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant