blob: b9a03dc5c63bad79b65e8ad1c4f03f7fe98fcf54 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# -*-makefile-*-
#
# Copyright (C) 2008 by Wolfram Sang
# 2011 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_CKERMIT) += host-ckermit
#
# Paths and names
#
HOST_CKERMIT_DIR = $(HOST_BUILDDIR)/$(CKERMIT)
HOST_CKERMIT_STRIP_LEVEL := 0
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
HOST_CKERMIT_CONF_TOOL := NO
# ----------------------------------------------------------------------------
# Compile
# ----------------------------------------------------------------------------
HOST_CKERMIT_MAKE_OPT := \
linuxa \
prefix=/usr \
KFLAGS='-O2 -DCK_NCURSES -DHAVE_PTMX' \
LIBS='-lncurses -lutil -lresolv -lcrypt'
# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------
HOST_CKERMIT_INSTALL_OPT := \
prefix=/usr \
install
$(STATEDIR)/host-ckermit.install:
@$(call targetinfo)
@$(call world/install, HOST_CKERMIT)
@ln -sf kermit $(HOST_CKERMIT_PKGDIR)/usr/bin/ckermit
@install -m755 $(HOST_CKERMIT_DIR)/wart $(HOST_CKERMIT_PKGDIR)/usr/bin/
@$(call touch)
# vim: syntax=make
|