summaryrefslogtreecommitdiffstats
path: root/rules/host-ncurses.make
blob: 74f28dd29b80f21e28e5e2080e030541e7b5604a (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
28
29
30
31
32
33
34
35
36
37
38
# -*-makefile-*-
#
# Copyright (C) 2008 by mol@pengutronix.de
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
HOST_PACKAGES-$(PTXCONF_HOST_NCURSES) += host-ncurses

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

#
# autoconf
#
HOST_NCURSES_CONF_TOOL	:= autoconf
HOST_NCURSES_CONF_OPT	= \
	$(HOST_AUTOCONF) \
	$(call NCURSES_AUTOCONF_SHARED,NCURSES_SHARED_HOST)

# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------

$(STATEDIR)/host-ncurses.install:
	@$(call targetinfo)
	@$(call world/install, HOST_NCURSES)
#	# don't install headers or libs, so packages like the kernel don't use it
	@rm -r $(HOST_NCURSES_PKGDIR)/include
	@rm -r $(HOST_NCURSES_PKGDIR)/lib/*.a
	@$(call touch)

# vim: syntax=make