Changeset 14481


Ignorieren:
Zeitstempel:
22.10.2017 18:49:04 (vor 9 Monaten)
Autor:
er13
Nachricht:
Ort:
trunk
Dateien:
2 bearbeitet

Legende:

Unverändert
Hinzugefügt
Entfernt
  • trunk/config/avm/packaging.in

    r14479 r14481  
    2222 
    2323        Note: this might deviate from that used by AVM (patched/replaced kernel usually required) 
     24 
     25config FREETZ_AVM_SQUASHFS_ENDIANNESS 
     26    string "SquashFS endianness"    if FREETZ_TYPE_CUSTOM 
     27    default "le" if FREETZ_TARGET_ARCH_LE 
     28    default "be" if FREETZ_TARGET_ARCH_BE 
     29    help 
     30        Endianness of the SquashFS filesystem. 
     31        Usually the same as the endianness of the box. 
    2432 
    2533config FREETZ_AVM_SQUASHFS_COMPRESSION 
  • trunk/fwmod

    r14479 r14481  
    150150TICHKSUM_TOOL="tichksum" 
    151151MAKEDEVS_TOOL="makedevs" 
    152 UNSQUASHFS_TOOL="unsquashfs4-avm-be" 
    153 MKSQUASHFS_TOOL[2]="mksquashfs2-lzma" 
    154 MKSQUASHFS_TOOL[3]="mksquashfs3-multi" 
    155 MKSQUASHFS_TOOL[4]="mksquashfs4-avm-be" 
    156152DEBUGFS_TOOL="debugfs" 
    157153EXTERNAL_TOOL="external" 
     
    229225STRIP="${ABS_BASE_DIR}/toolchain/target/bin/${FREETZ_TARGET_CROSS}strip" 
    230226 
    231 # Options for (un)packing SquashFS 
     227# Tools and options for (un)packing SquashFS 
     228UNSQUASHFS_TOOL="unsquashfs4-avm-${FREETZ_AVM_SQUASHFS_ENDIANNESS}" 
    232229UNSQUASHFS="${TOOLS_DIR}/${UNSQUASHFS_TOOL}" 
    233230UNSQUASHFS_OPTIONS="-no-progress -processors 1 -exit-on-error" 
    234231 
     232MKSQUASHFS_TOOL[2]="mksquashfs2-lzma" 
     233MKSQUASHFS_TOOL[3]="mksquashfs3-multi" 
     234MKSQUASHFS_TOOL[4]="mksquashfs4-avm-${FREETZ_AVM_SQUASHFS_ENDIANNESS}" 
    235235MKSQUASHFS="${TOOLS_DIR}/${MKSQUASHFS_TOOL[${FREETZ_SQUASHFS_VERSION}]}" 
    236236MKSQUASHFS_OPTIONS="-all-root -info" 
     
    240240if [ "${FREETZ_SQUASHFS_VERSION}" -lt 4 ]; then 
    241241    MKSQUASHFS_OPTIONS+=" -noappend" 
    242     # Use FREETZ_TARGET_ARCH_BE to determine SquashFS endianness 
    243     if [ "$FREETZ_TARGET_ARCH_BE" == "y" ]; then 
    244         MKSQUASHFS_OPTIONS+=" -be" 
    245     else 
    246         MKSQUASHFS_OPTIONS+=" -le" 
    247     fi 
     242    MKSQUASHFS_OPTIONS+=" -${FREETZ_AVM_SQUASHFS_ENDIANNESS}" 
    248243fi 
    249244if [ "${FREETZ_SQUASHFS_VERSION}" -eq 3 -a "${FREETZ_AVM_SQUASHFS_COMPRESSION}" == "lzma" ]; then 
Hinweis: Hilfe zur Verwendung der Changeset-Ansicht finden Sie unter TracChangeset.