summaryrefslogtreecommitdiffstats
path: root/rules/host-system-mpc.make
blob: ec2991d36569ab3ddd5db3673c5f8ec5615a131d (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_MPC) += host-system-mpc
HOST_SYSTEM_MPC_LICENSE	:= ignore

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

$(STATEDIR)/host-system-mpc.prepare:
	@$(call targetinfo)
	@echo "Checking for mpc ..."
	@echo "#include <mpc.h>" | $(HOSTCC) -x c -c -o /dev/null - 2>/dev/null || \
		ptxd_bailout "mpc development files not found!" \
		"Please install libmpc-dev (debian)"
	@$(call touch)

# vim: syntax=make