summaryrefslogtreecommitdiffstats
path: root/rules/host-system-zlib.make
blob: ceb56c1fea0b807faf19a53195f04320f35f41d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# -*-makefile-*-
#
# Copyright (C) 2020 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
HOST_PACKAGES-$(PTXCONF_HOST_SYSTEM_ZLIB) += host-system-zlib
HOST_SYSTEM_ZLIB_LICENSE	:= ignore

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

$(STATEDIR)/host-system-zlib.prepare:
	@$(call targetinfo)
	@echo "Checking for zlib ..."
	@pkg-config zlib || \
		ptxd_bailout "zlib development files not found!" \
		"Please install zlib1g-dev (debian) or zlib-devel (fedora)"
	@$(call touch)

# vim: syntax=make