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

SCM Repository

ViewVC logotype

Contents of /trunk/freewrt/tools/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: 973 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 ${TOPDIR}/package/mksh/Makefile.inc
9 include ../rules.mk
10
11 ${WRKBUILD}/.configured: ${WRKBUILD}/.prepared
12 touch $@
13
14 ${WRKBUILD}/mksh: ${WRKBUILD}/.configured
15 cd ${WRKBUILD} && \
16 env CC='${HOSTCC}' CFLAGS='${HOSTCFLAGS}' \
17 ${BASH} Build.sh -r
18 -cd ${WRKBUILD} && ./test.sh -v
19
20 source: fetch
21 prepare: ${WRKBUILD}/.prepared
22
23 compile: ${WRKBUILD}/mksh
24
25 install: do-install install-lbin
26
27 do-install:
28 mkdir -p ${STAGING_TOOLS}/bin
29 rm -f ${STAGING_TOOLS}/bin/mksh
30 install -c -s -m 555 ${WRKBUILD}/mksh ${STAGING_TOOLS}/bin/mksh
31
32 install-lbin:
33 rm -f ${TOPDIR}/lbin/mksh
34 if [ -e ${STAGING_TOOLS}/bin/mksh ]; then \
35 cp ${STAGING_TOOLS}/bin/mksh ${TOPDIR}/lbin/; \
36 fi
37
38 clean:
39 rm -rf ${WRKBUILD}
40 rm -f ${STAGING_TOOLS}/bin/mksh

Properties

Name Value
svn:keywords FreeWRT=Id

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