blob: fa3534378a92b9520e3aa9a2f6761c91e9219a5d (
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>
#
# See CREDITS for details about who has contributed to this project.
#
# 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_MAKEVARS := \
xermit \
KTARGET=linuxa \
prefix= \
CFLAGS='$(HOST_CPPFLAGS) $(HOST_CFLAGS) -O2 -g -DLINUX -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -DHAVE_PTMX' \
LNKFLAGS='$(HOST_LDFLAGS)' \
LIBS='-lncurses -lutil -lresolv -lcrypt -lm'
# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------
$(STATEDIR)/host-ckermit.install:
@$(call targetinfo)
@$(call install, HOST_CKERMIT)
@ln -sf kermit $(HOST_CKERMIT_PKGDIR)/bin/ckermit
@install -m755 $(HOST_CKERMIT_DIR)/wart $(HOST_CKERMIT_PKGDIR)/bin/
@$(call touch)
# vim: syntax=make
|