Last change
on this file since 87db514 was
87db514,
checked in by Amar Takhar <amar@…>, on 04/16/15 at 19:26:21
|
Initial commit of the umon repository.
Prior to this three changes were made:
- Remove umon_ prefix from parent directories.
- Collapse main/target/ into main/
- Remove ports/template/flashtest.scr.ucon script.
|
-
Property mode set to
100755
|
File size:
1.8 KB
|
Line | |
---|
1 | # |
---|
2 | # This is the original script I used to pull in files from the FreeBsd project: |
---|
3 | # |
---|
4 | export GLIBFILES="abs.c atoi.c crc16.c crc32.c ctypetbl.c div.c getopt.c gmtime.c inrange.c lceil.c ldiv.c little_print.c memccpy.c memchr.c memcmp.c memcpy.c memset.c pollconsole.c prascii.c printmem.c smemcpy.c smemset.c sprnfloat.c strcasecmp.c strcat.c strchr.c strcmp.c strcpy.c strcspn.c strlen.c strncat.c strncmp.c strncpy.c strnlen.c strpbrk.c strrchr.c strspn.c strstr.c strtod.c strtok.c strtol.c strtoul.c strtolower.c strtoupper.c swap.c ticktock.c ulceil.c" |
---|
5 | |
---|
6 | export MYFILES="asctime.c inrange.c memcpy.c pollconsole.c prascii.c printmem.c smemcpy.c smemset.c swap.c ticktock.c" |
---|
7 | |
---|
8 | export BSDPATH=https://raw.githubusercontent.com/freebsd/freebsd/master |
---|
9 | |
---|
10 | export BSD_STRING_FILES="memccpy.c memchr.c memcmp.c memset.c strcasecmp.c strcat.c strchr.c strcmp.c strcpy.c strcspn.c strlen.c strncat.c strncmp.c strncpy.c strnlen.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c" |
---|
11 | |
---|
12 | export BSD_STDLIB_FILES="abs.c atoi.c div.c getopt.c ldiv.c strtol.c" |
---|
13 | |
---|
14 | rm -f *.c *.1 list |
---|
15 | |
---|
16 | for file in $MYFILES |
---|
17 | do |
---|
18 | cp orig/$file . |
---|
19 | echo "myfile: $file" >>list |
---|
20 | done |
---|
21 | |
---|
22 | for file in $BSD_STDLIB_FILES |
---|
23 | do |
---|
24 | if ! [ -f $file ] |
---|
25 | then |
---|
26 | wget ${BSDPATH}/lib/libc/stdlib/$file |
---|
27 | if [ $? == 0 ] |
---|
28 | then |
---|
29 | echo "stdlib: $file" >>list |
---|
30 | fi |
---|
31 | fi |
---|
32 | done |
---|
33 | |
---|
34 | for file in $BSD_STRING_FILES |
---|
35 | do |
---|
36 | if ! [ -f $file ] |
---|
37 | then |
---|
38 | wget ${BSDPATH}/lib/libc/string/$file |
---|
39 | if [ $? == 0 ] |
---|
40 | then |
---|
41 | echo "string: $file" >>list |
---|
42 | fi |
---|
43 | fi |
---|
44 | done |
---|
45 | |
---|
46 | wget ${BSDPATH}/contrib/tzcode/stdtime/asctime.c |
---|
47 | wget https://raw.githubusercontent.com/LADSoft/OrangeC/master/src/clibs/time/gmtime.c |
---|
48 | wget https://raw.githubusercontent.com/freebsd/freebsd-ports/master/converters/ta2as/files/strtolower.c |
---|
49 | wget https://raw.githubusercontent.com/freebsd/freebsd/master/sys/libkern/crc32.c |
---|
Note: See
TracBrowser
for help on using the repository browser.