Merge pull request #1849 from rneugeba/kbuild

kernel: Add vmlinux to debug builds
This commit is contained in:
Rolf Neugebauer 2017-05-17 13:50:27 +01:00 committed by GitHub
commit e975d95b03

View File

@ -33,7 +33,8 @@ RUN make defconfig && \
make oldconfig && \
make -j "$(getconf _NPROCESSORS_ONLN)" KCFLAGS="-fno-pie" && \
cp arch/x86_64/boot/bzImage /out/kernel && \
cp System.map /out
cp System.map /out && \
([ -n "${DEBUG}" ] && cp vmlinux /out || true)
# Modules
RUN make INSTALL_MOD_PATH=/tmp/kernel-modules modules_install && \