496d723f58
Revert "drivers: staging: Include qcacld-3.0 source" Revert "qcacld: nuke Kconfig-based configuration entirely" Revert "qcacld-3.0: Always force user build." Revert "qcacld: drop -Werror" Revert "qcacld-3.0: Fix MAC address fallback when generation fails" Revert "qcacld-3.0: Discard wlan_boot sysfs code on !CONFIG_MODULES" Revert "qcacld: nuke rx_wakelock code entirely" Revert "qcacld-3.0: Defer HDD initialization and rely on userspace writing to /dev/wlan" Revert "qcacld: disable debugging bloat as much as possible" Revert "qcacld-3.0: Only call hdd_debugfs_process_mib_stats if debugfs is enabled." Revert "qcacld-3.0: Fallback to default WCNSS config path for MIUI" Revert "Revert "scripts: gcc-wrapper: Use wrapper to check compiler warnings"" Revert "build-dtbo: Support base dtbs which located in foreign folder" Revert "dtbo.img: build device tree overlay partition image" Revert "scripts: Makefile: suppress DTC compiler warnings" Revert "scripts: use aosp python mkdtboimg for cmd_mkdtimg" Revert ".gitignore: Exclude qcom devicetree from gitignore" Revert "BACKPORT: scripts/dtc: Add yamltree.c to dtc sources" Revert "BACKPORT: scripts/dtc: Update to upstream version v1.4.7-14-gc86da84d30e4" Revert "BACKPORT: kbuild: consolidate Devicetree dtb build rules" Revert "BACKPORT: scripts/dtc: Update to upstream version v1.4.7-57-gf267e674d145" Revert "BACKPORT: of: add dtc annotations functionality to dtx_diff" Revert "BACKPORT: treewide: prefix header search paths with $(srctree)/" Revert "BACKPORT: scripts/dtc: Update to upstream version v1.5.0-23-g87963ee20693" Revert "BACKPORT: scripts/dtc: Update to upstream version v1.5.0-30-g702c1b6c0e73" Revert "BACKPORT: dtc: Use pkg-config to locate libyaml" Revert "BACKPORT: scripts/dtc: only append to HOST_EXTRACFLAGS instead of overwriting"
32 lines
825 B
Makefile
32 lines
825 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for some libs needed by zImage.
|
|
#
|
|
|
|
zlib := inffast.c inflate.c inftrees.c
|
|
|
|
lib-y += $(zlib:.c=.o) zmem.o
|
|
|
|
ccflags-y := -Ilib/zlib_inflate
|
|
ifdef CONFIG_FUNCTION_TRACER
|
|
CFLAGS_REMOVE_inflate.o = -pg
|
|
CFLAGS_REMOVE_zmem.o = -pg
|
|
CFLAGS_REMOVE_inftrees.o = -pg
|
|
CFLAGS_REMOVE_inffast.o = -pg
|
|
endif
|
|
|
|
KASAN_SANITIZE := n
|
|
|
|
CFLAGS_REMOVE_inflate.o += -fstack-protector -fstack-protector-strong
|
|
CFLAGS_REMOVE_zmem.o += -fstack-protector -fstack-protector-strong
|
|
CFLAGS_REMOVE_inftrees.o += -fstack-protector -fstack-protector-strong
|
|
CFLAGS_REMOVE_inffast.o += -fstack-protector -fstack-protector-strong
|
|
|
|
quiet_cmd_copy_zlib = COPY $@
|
|
cmd_copy_zlib = cat $< > $@
|
|
|
|
$(addprefix $(obj)/,$(zlib)): $(obj)/%: $(srctree)/lib/zlib_inflate/%
|
|
$(call cmd,copy_zlib)
|
|
|
|
clean-files := $(zlib)
|