blob: 2c912e52b114fc1f8bcfde792466e901ad6e7575 (
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
|
# 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='${CC_FOR_BUILD}' CFLAGS='${CFLAGS_FOR_BUILD}' \
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
|