blob: 8cb7c29b722577b4fa452a42e707910716a3f14b (
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
|
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
include $(TOPDIR)/rules.mk
PKG_NAME:= mksh
PKG_VERSION:= 49
PKG_RELEASE:= 1
PKG_MD5SUM:= e8c205cac72c3dc8540bbc3897421422
PKG_SITES:= ${MASTER_SITE_MIRBSD:distfiles/=dist/mir/mksh/}
DISTFILES= ${PKG_NAME}-R${PKG_VERSION}.tgz
WRKDIST= ${WRKDIR}/${PKG_NAME}
include ../rules.mk
install: ${STAGING_HOST_DIR}/usr/bin/mksh
$(WRKBUILD)/.compiled: ${WRKDIST}/.prepared
cd ${WRKBUILD} && CC='${TARGET_CC}' CFLAGS='${TARGET_CFLAGS}' \
CPPFLAGS='${TARGET_CPPFLAGS}' LDFLAGS='${TARGET_LDFLAGS}' \
HAVE_CAN_FSTACKPROTECTORALL=0 \
TARGET_OS=Linux ${BASH} ${WRKSRC}/Build.sh -Q -r -c lto
touch $@
${STAGING_HOST_DIR}/usr/bin/mksh: $(WRKBUILD)/.compiled
${INSTALL_BIN} ${WRKBUILD}/mksh \
${STAGING_HOST_DIR}/usr/bin
include $(TOPDIR)/mk/tools.mk
|