Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 042fbe0 in mainline


Ignore:
Timestamp:
2011-05-01T19:00:40Z (11 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
53d9ee9, 694ca93, 750636a
Parents:
e175d69
Message:

mkfat.py - check for 8+3 filename limit violations.
Work around FAT 8+3 limit vs. library filenames by using .so0 extension

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile.common

    re175d69 r042fbe0  
    122122ifeq ($(CONFIG_BUILD_SHARED_LIBS), y)
    123123        RD_LIBS += \
    124                 $(USPACE_PATH)/lib/test/libtest.so.0 \
    125                 $(USPACE_PATH)/lib/c/libc.so.0 \
    126                 $(USPACE_PATH)/lib/softint/libsoftint.so.0
     124                $(USPACE_PATH)/lib/c/libc.so0 \
     125                $(USPACE_PATH)/lib/softint/libsofti.so0
    127126        RD_APPS += \
    128127                $(USPACE_PATH)/app/dltest/dltest
  • tools/mkfat.py

    re175d69 r042fbe0  
    190190        parts = name.split('.')
    191191       
    192         if (len(parts) > 0):
     192        if len(parts) > 0:
    193193                fname = parts[0]
    194194        else:
    195195                fname = ''
    196                
     196       
     197        if len(fname) > 8:
     198                sys.stdout.write("mkfat.py: error: Directory entry " + name +
     199                    " base name is longer than 8 characters\n")
     200                sys.exit(1);
     201       
    197202        return (fname + '          ').upper()[0:8]
    198203
     
    201206        parts = name.split('.')
    202207       
    203         if (len(parts) > 1):
     208        if len(parts) > 1:
    204209                ext = parts[1]
    205210        else:
    206211                ext = ''
     212       
     213        if len(parts) > 2:
     214                sys.stdout.write("mkfat.py: error: Directory entry " + name +
     215                    " has more than one extension\n")
     216                sys.exit(1);
     217       
     218        if len(ext) > 3:
     219                sys.stdout.write("mkfat.py: error: Directory entry " + name +
     220                    " extension is longer than 3 characters\n")
     221                sys.exit(1);
    207222       
    208223        return (ext + '   ').upper()[0:3]
  • uspace/Makefile.common

    re175d69 r042fbe0  
    130130LINKER_SCRIPT ?= $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld
    131131else
    132 BASE_LIBS = $(LIBC_PREFIX)/libc.so.0 $(LIBSOFTINT_PREFIX)/libsoftint.so.0
     132BASE_LIBS = $(LIBC_PREFIX)/libc.so0 $(LIBSOFTINT_PREFIX)/libsofti.so0
    133133LFLAGS = -Bdynamic
    134134LINKER_SCRIPT ?= $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld
  • uspace/lib/c/Makefile

    re175d69 r042fbe0  
    5252LIBRARY = libc
    5353SLIBRARY = libc.so.0.0
    54 LSONAME = libc.so.0
     54LSONAME = libc.so0
    5555
    5656
  • uspace/lib/softint/Makefile

    re175d69 r042fbe0  
    3232LIBRARY = libsoftint
    3333SLIBRARY = libsoftint.so.0.0
    34 LSONAME = libsoftint.so.0
     34LSONAME = libsofti.so0
    3535
    3636SOURCES = \
    37         generic/division.c\
     37        generic/division.c \
    3838        generic/multiplication.c
    3939
Note: See TracChangeset for help on using the changeset viewer.