[OpenWrt-Devel] [PATCH] package/devel/perf: fix build for kernel 4.1
blogic at openwrt.org
Mon Oct 26 07:52:21 EDT 2015
On 26/10/2015 12:48, Alexandru Ardelean wrote:
> Looks like it did not take much to actually come back with an answer.
> In file:
> Line 75: # Define NO_LZMA if you do not want to support compressed
> (xz) kernel modules
> Then file:
> Lines 544-553:
> ifndef NO_LZMA
> ifeq ($(feature-lzma), 1)
> CFLAGS += -DHAVE_LZMA_SUPPORT
> EXTLIBS += -llzma
> $(call detected,CONFIG_LZMA)
> msg := $(warning No liblzma found, disables xz kernel module decompression, please install xz-devel/liblzma-dev);
> NO_LZMA := 1
> In my case it seems to enable by default.
> Looking at the same files in 3.18:
> No mention of these.
> Going a bit deeper, I found this commit:
> where LZMA compression gets added to perf.
> Looks like it was enabled default in upstream.
> So, I guess, we could build perf with NO_LZMA:=1 defined and we could
> disable it.
> No strong preferences from me.
> Your call :)
oh thanks, detailed analysis :) as our FS already doe LZMA and our kmods
are not compressed i think it is best to set NO_LZMA. could you
create/test a patch and i will mark the current version as "Changes
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel