Changeset 17639 in niluje


Ignore:
Timestamp:
Jul 31, 2020, 3:47:42 PM (9 days ago)
Author:
NiLuJe
Message:

Kindle Hacks:

  • X-TC:
    • Move xxHash to use it w/ gdb
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Configs/trunk/Kindle/Misc/x-compile.sh

    r17638 r17639  
    51815181cp ${SVN_ROOT}/Configs/trunk/Kindle/Misc/tmux.conf ${BASE_HACKDIR}/USBNetwork/src/usbnet/etc/tmux.conf
    51825182
     5183## xxHash for rsync & gdb
     5184echo "* Building xxHash . . ."
     5185echo ""
     5186cd ..
     5187rm -rf xxHash
     5188until git clone -b release --single-branch --depth 1 https://github.com/Cyan4973/xxHash.git xxHash ; do
     5189        rm -rf xxHash
     5190        sleep 15
     5191done
     5192cd xxHash
     5193update_title_info
     5194export CFLAGS="${RICE_CFLAGS}"
     5195# Setup our rpath...
     5196export LDFLAGS="${BASE_LDFLAGS} -Wl,-rpath=${DEVICE_USERSTORE}/usbnet/lib"
     5197make ${JOBSFLAGS} CC="${CROSS_TC}-gcc" CXX="${CROSS_TC}-g++" AR="${CROSS_TC}-gcc-ar" prefix="${TC_BUILD_DIR}" install
     5198cp -avL ../lib/libxxhash.so.0 ${BASE_HACKDIR}/USBNetwork/src/usbnet/lib/libxxhash.so.0
     5199${CROSS_TC}-strip --strip-unneeded ${BASE_HACKDIR}/USBNetwork/src/usbnet/lib/libxxhash.so.0
     5200export CFLAGS="${BASE_CFLAGS}"
     5201export LDFLAGS="${BASE_LDFLAGS}"
     5202
    51835203## GDB
    51845204echo "* Building GDB . . ."
     
    52095229if [[ "${KINDLE_TC}" == "K3" ]] ; then
    52105230        # Avoid pulling in open64_2 (LFS)
    5211         ${TC_BUILD_DIR}/gdb-${GDB_VERSION}/configure --prefix=${TC_BUILD_DIR} --host=${CROSS_TC} --disable-werror --disable-{binutils,etc,gas,gold,gprof,ld} --enable-gdbserver --disable-64-bit-bfd --disable-install-libbfd --disable-install-libiberty --without-guile --disable-readline --with-system-readline --without-zlib --with-system-zlib --with-expat --without-lzma --enable-nls --without-python --without-xxhash --disable-largefile --disable-source-highlight
     5231        ${TC_BUILD_DIR}/gdb-${GDB_VERSION}/configure --prefix=${TC_BUILD_DIR} --host=${CROSS_TC} --disable-werror --disable-{binutils,etc,gas,gold,gprof,ld} --enable-gdbserver --disable-64-bit-bfd --disable-install-libbfd --disable-install-libiberty --without-guile --disable-readline --with-system-readline --without-zlib --with-system-zlib --with-expat --without-lzma --enable-nls --without-python --with-xxhash --disable-largefile --disable-source-highlight
    52125232else
    5213         ${TC_BUILD_DIR}/gdb-${GDB_VERSION}/configure --prefix=${TC_BUILD_DIR} --host=${CROSS_TC} --disable-werror --disable-{binutils,etc,gas,gold,gprof,ld} --enable-gdbserver --enable-64-bit-bfd --disable-install-libbfd --disable-install-libiberty --without-guile --disable-readline --with-system-readline --without-zlib --with-system-zlib --with-expat --without-lzma --enable-nls --without-python --without-xxhash --disable-source-highlight
     5233        ${TC_BUILD_DIR}/gdb-${GDB_VERSION}/configure --prefix=${TC_BUILD_DIR} --host=${CROSS_TC} --disable-werror --disable-{binutils,etc,gas,gold,gprof,ld} --enable-gdbserver --enable-64-bit-bfd --disable-install-libbfd --disable-install-libiberty --without-guile --disable-readline --with-system-readline --without-zlib --with-system-zlib --with-expat --without-lzma --enable-nls --without-python --with-xxhash --disable-source-highlight
    52145234fi
    52155235make ${JOBSFLAGS} V=1
     
    55975617${CROSS_TC}-strip --strip-unneeded ${BASE_HACKDIR}/USBNetwork/src/usbnet/lib/libexpat.so.${EXPAT_SOVER%%.*}
    55985618
    5599 ## xxHash for rsync & gdb
    5600 echo "* Building xxHash . . ."
    5601 echo ""
    5602 cd ..
    5603 rm -rf xxHash
    5604 until git clone -b release --single-branch --depth 1 https://github.com/Cyan4973/xxHash.git xxHash ; do
    5605         rm -rf xxHash
    5606         sleep 15
    5607 done
    5608 cd xxHash
    5609 update_title_info
    5610 export CFLAGS="${RICE_CFLAGS}"
    5611 # Setup our rpath...
    5612 export LDFLAGS="${BASE_LDFLAGS} -Wl,-rpath=${DEVICE_USERSTORE}/usbnet/lib"
    5613 make ${JOBSFLAGS} CC="${CROSS_TC}-gcc" CXX="${CROSS_TC}-g++" AR="${CROSS_TC}-gcc-ar" prefix="${TC_BUILD_DIR}" install
    5614 cp -avL ../lib/libxxhash.so.0 ${BASE_HACKDIR}/USBNetwork/src/usbnet/lib/libxxhash.so.0
    5615 ${CROSS_TC}-strip --strip-unneeded ${BASE_HACKDIR}/USBNetwork/src/usbnet/lib/libxxhash.so.0
    5616 export CFLAGS="${BASE_CFLAGS}"
    5617 export LDFLAGS="${BASE_LDFLAGS}"
    5618 
    56195619echo "* Building rsync . . ."
    56205620echo ""
Note: See TracChangeset for help on using the changeset viewer.