mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
linux/perf: conditionally enable support for gz/xz compression
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
2b1d5df1f2
commit
9666835944
@@ -75,6 +75,19 @@ else
|
|||||||
PERF_MAKE_FLAGS += NO_LIBELF=1 NO_DWARF=1
|
PERF_MAKE_FLAGS += NO_LIBELF=1 NO_DWARF=1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||||
|
PERF_DEPENDENCIES += zlib
|
||||||
|
else
|
||||||
|
PERF_MAKE_FLAGS += NO_ZLIB=1
|
||||||
|
endif
|
||||||
|
|
||||||
|
# lzma is provided by xz
|
||||||
|
ifeq ($(BR2_PACKAGE_XZ),y)
|
||||||
|
PERF_DEPENDENCIES += xz
|
||||||
|
else
|
||||||
|
PERF_MAKE_FLAGS += NO_LZMA=1
|
||||||
|
endif
|
||||||
|
|
||||||
# We really do not want to build the perf documentation, because it
|
# We really do not want to build the perf documentation, because it
|
||||||
# has stringent requirement on the documentation generation tools,
|
# has stringent requirement on the documentation generation tools,
|
||||||
# like xmlto and asciidoc), which may be lagging behind on some
|
# like xmlto and asciidoc), which may be lagging behind on some
|
||||||
|
|||||||
Reference in New Issue
Block a user