mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-19 21:21:57 +00:00
kernel: Fix perf compile
This was broken with commit ae6a739ac0
("kernel: Skip
compiling perf for 4.9.x") [by me]
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
@@ -172,7 +172,7 @@ RUN printf "KERNEL_SOURCE=${KERNEL_SOURCE}\n" > /out/kernel-source-info
|
||||
# perf
|
||||
# Skip for 4.4.x (the compile is broken and tedious to fix) and 4.9.x (the
|
||||
# compile broke with 4.9.94)
|
||||
RUN if [ "${KERNEL_SERIES}" != "4.4.x" && "${KERNEL_SERIES}" != "4.9.x" ]; then \
|
||||
RUN if [ "${KERNEL_SERIES}" != "4.4.x" ] && [ "${KERNEL_SERIES}" != "4.9.x" ]; then \
|
||||
mkdir -p /build/perf && \
|
||||
make -C tools/perf LDFLAGS=-static O=/build/perf && \
|
||||
strip /build/perf/perf && \
|
||||
|
Reference in New Issue
Block a user