Changeset 16849 in niluje


Ignore:
Timestamp:
Feb 10, 2020, 2:37:22 AM (3 weeks ago)
Author:
NiLuJe
Message:

Kindle Hacks:

  • X-TC:
    • Fix gdb build
File:
1 edited

Legend:

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

    r16846 r16849  
    47354735echo "* Building GDB . . ."
    47364736echo ""
    4737 cd ..
    4738 tar -xvJf /usr/portage/distfiles/gdb-9.1.tar.xz
    4739 cd gdb-9.1
     4737GDB_VERSION="9.1"
     4738cd ..
     4739tar -xvJf /usr/portage/distfiles/gdb-${GDB_VERSION}.tar.xz
     4740cd gdb-${GDB_VERSION}
    47404741update_title_info
    47414742#tar xvJf /usr/portage/distfiles/gdb-8.3-patches-1.tar.xz
     
    47484749        patch -p1 < ${SVN_ROOT}/Configs/trunk/Kindle/Misc/gdb-9.1-k3-log2-fix.patch
    47494750fi
     4751# GDB >= 9.1 requires being built out of tree
     4752mkdir -p ../gdb-${GDB_VERSION}-build
     4753cd ../gdb-${GDB_VERSION}-build
    47504754# Setup our rpath...
    47514755export LDFLAGS="${BASE_LDFLAGS} -Wl,-rpath=${DEVICE_USERSTORE}/usbnet/lib -Wl,-rpath=${DEVICE_USERSTORE}/python3/lib -Wl,-rpath=${DEVICE_USERSTORE}/python/lib"
     
    47554759if [[ "${KINDLE_TC}" == "K3" ]] ; then
    47564760        # Avoid pulling in open64_2 (LFS)
    4757         ./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 --disable-largefile
     4761        ${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 --disable-largefile
    47584762else
    4759         ./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
     4763        ${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
    47604764fi
    47614765make ${JOBSFLAGS} V=1
Note: See TracChangeset for help on using the changeset viewer.