summaryrefslogtreecommitdiffstats
path: root/rules/host-system-xz.make
blob: c4f089eb7bb04b31f697287f83b82d3cfca974ce (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_XZ) += host-system-xz
HOST_SYSTEM_XZ_LICENSE	:= ignore

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

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

# vim: syntax=make