Changeset 2dcc12b in freewrt
- Timestamp:
- Dec 18, 2006, 8:27:23 PM (19 years ago)
- Children:
- 495b814
- Parents:
- ba27de8
- Files:
-
- 2 edited
-
Makefile (modified) (1 diff)
-
scripts/scan-tools.sh (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Makefile
rba27de8 r2dcc12b 90 90 chmod 555 lbin/md5sum; \ 91 91 fi 92 @if test x"$$(uname)" = x"MirBSD"; then \93 sed -e 's!@@FromOS@@!MirBSD!g' -e 's!@@ToOS@@!OpenBSD!g' \94 -e "s!@@PROG@@!$$(lbin/which uname)!g" \95 <scripts/uname.fake >lbin/uname; \96 chmod 555 lbin/uname; \97 fi98 92 @echo "TOPDIR:=$$(readlink -nf .)" >lbin/prereq.mk 99 93 @echo "BASH:=$$(lbin/which bash)" >>lbin/prereq.mk -
scripts/scan-tools.sh
rba27de8 r2dcc12b 1 1 #!/usr/bin/env bash 2 # $FreeWRT: src/share/misc/licence.template,v 1. 8 2006/06/16 23:03:39tg Rel $2 # $FreeWRT: src/share/misc/licence.template,v 1.20 2006/12/11 21:04:56 tg Rel $ 3 3 #- 4 4 # Copyright (c) 2006 5 5 # Thorsten Glaser <tg@mirbsd.de> 6 6 # 7 # Licensee is hereby permitted to deal in this work without restric- 8 # tion, including unlimited rights to use, publicly perform, modify, 9 # merge, distribute, sell, give away or sublicence, provided all co- 10 # pyright notices above, these terms and the disclaimer are retained 11 # in all redistributions or reproduced in accompanying documentation 12 # or other materials provided with binary redistributions. 7 # Provided that these terms and disclaimer and all copyright notices 8 # are retained or reproduced in an accompanying document, permission 9 # is granted to deal in this work without restriction, including un- 10 # limited rights to use, publicly perform, distribute, sell, modify, 11 # merge, give away, or sublicence. 13 12 # 14 13 # Advertising materials mentioning features or use of this work must … … 18 17 # linked into a bigger work whose licence does not allow such clause 19 18 # and the author of this work is given due credit in the bigger work 20 # or its documentation. 19 # or its accompanying documents, where such information is generally 20 # kept, provided that said credits are retained. 21 21 # 22 # Licensor offers the work "AS IS" and WITHOUT WARRANTY of any kind,23 # express, or implied, to the maximum extent permitted by applicable24 # law, without malicious intent or gross negligence; in no event may25 # licensor, an author or contributor be held liable for any indirect26 # or other damage, or direct damage except proven a consequence of a27 # direct error of said person and intended use of this work, loss or28 # other issues arising in any way out of its use, even if advised of29 # the possibility of such damage or existence of a defect.22 # This work is provided "AS IS" and WITHOUT WARRANTY of any kind, to 23 # the utmost extent permitted by applicable law, neither express nor 24 # implied; without malicious intent or gross negligence. In no event 25 # may a licensor, author or contributor be held liable for indirect, 26 # direct, other damage, loss, or other issues arising in any way out 27 # of dealing in the work, even if advised of the possibility of such 28 # damage or existence of a defect, except proven that it results out 29 # of said person's immediate fault when using the work as intended. 30 30 #- 31 31 # Scan for prerequisite host tools. … … 50 50 mkdir -p $topdir/lbin/tmp 51 51 cd $topdir/lbin/tmp 52 53 os=$(uname) 54 case $os in 55 Linux) 56 # supported with no extra quirks at the moment 57 ;; 58 OpenBSD) 59 # supported with no extra quirks at the moment 60 # although some packages' autoconf scripts may 61 # not properly recognise OpenBSD 62 ;; 63 MirBSD) 64 # needs a little quirk, because the autoconf 65 # version of some packages doesn't recognise 66 # it as valid OS, and as build (not host) OS 67 # faking OpenBSD is close enough 68 rm -f $topdir/lbin/uname 69 sed -e 's!@@FromOS@@!MirBSD!g' -e 's!@@ToOS@@!OpenBSD!g' \ 70 -e "s!@@PROG@@!$($topdir/lbin/which uname)!g" \ 71 <$topdir/scripts/uname.fake >$topdir/lbin/uname 72 chmod 555 $topdir/lbin/uname 73 ;; 74 *) 75 # unsupported 76 echo "Building FreeWRT on $os is currently unsupported." 77 echo "Sorry." 78 echo 79 case $os in 80 Darwin|Cyg*) 81 echo "The most prominent issue is that filesystems" 82 echo "can be case-insensitive. Some macros are missing." 83 echo 84 ;; 85 NetBSD|FreeBSD|DragonFly) 86 echo "Building should succeed with relatively few" 87 echo "patches, but perl must live in /usr/bin for" 88 echo "now in FreeWRT, which should indeed be fixed." 89 echo 90 ;; 91 esac 92 echo "If you need FreeWRT building on $os, please contact" 93 echo "the development team; there may be contractors available" 94 echo "for this task. If you intend on turning $os into one of" 95 echo "the supported build OSes, please contact us as well so" 96 echo "that we can feed back your enhancements into FreeWRT." 97 exit 1 98 ;; 99 esac 100 52 101 set +e 53 102 cat >Makefile <<'EOF'
Note:
See TracChangeset
for help on using the changeset viewer.
