English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Contents of /trunk/freewrt/package/mksh/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3814 - (show annotations) (download)
Fri Oct 24 22:55:58 2008 UTC (5 years, 4 months ago) by tg
File size: 1224 byte(s)
mksh update; please test on the actual devices if possible

1 # $FreeWRT$
2 #-
3 # This file is part of the FreeWRT project. FreeWRT is copyrighted
4 # material, please see the LICENCE file in the top-level directory
5 # or at http://www.freewrt.org/licence for details.
6
7 include ${TOPDIR}/rules.mk
8 include Makefile.inc
9 include ${TOPDIR}/mk/package.mk
10
11 $(eval $(call PKG_template,MKSH,mksh,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
12
13 ifeq ($(strip ${FWRT_PACKAGE_MKSH_FULL}),)
14 TCPPFLAGS+= -DMKSH_SMALL=1
15 endif
16
17 do-build:
18 cd ${WRKBUILD} && CC='${TARGET_CC}' CFLAGS='${TCFLAGS}' \
19 CPPFLAGS='${TCPPFLAGS}' LDFLAGS='${TLDFLAGS}' \
20 TARGET_OS=${UNAME_S} ${MBSH} ${WRKSRC}/Build.sh -r
21
22 do-install:
23 ifeq (${FWRT_MANPAGES},y)
24 install -d ${WRKINST}/man1
25 cp ${WRKSRC}/mksh.1 ${WRKINST}/man1/
26 ln ${WRKINST}/man1/mksh.1 ${WRKINST}/man1/sh.1
27 ln -s ${WRKINST}/man1/mksh.1 ${WRKINST}/man1/ash.1
28 endif
29 install -d -m 0755 ${IDIR_MKSH}/{bin,etc/precopy,usr/ucb}
30 install -c -m 755 ${WRKBUILD}/mksh ${IDIR_MKSH}/bin/
31 install -c -m 644 ${WRKSRC}/dot.mkshrc ${IDIR_MKSH}/etc/precopy/.mkshrc
32 cd ${IDIR_MKSH}/; ln -sf etc/precopy/.mkshrc .mkshrc # serial cons.
33 cd ${IDIR_MKSH}/bin; ln -sf mksh sh; ln -sf mksh ash
34 cd ${IDIR_MKSH}/usr/ucb; ln -sf ../../bin/mksh sh
35
36 include ${TOPDIR}/mk/pkg-bottom.mk

Properties

Name Value
svn:keywords FreeWRT=Id

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20