blob: 7889211cc117cf1537856a3df3bb59a44b78cadd (
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
53
54
|
# -*-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_MAKE_OPT := \
linuxa \
prefix= \
KFLAGS='-O2 -DCK_NCURSES -DHAVE_PTMX' \
LIBS='-lncurses -lutil -lresolv -lcrypt'
# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------
HOST_CKERMIT_INSTALL_OPT := \
prefix= \
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
|