Skip to content

Commit

Permalink
Revert.
Browse files Browse the repository at this point in the history
  • Loading branch information
fewtarius committed Jul 4, 2022
1 parent f37c0a3 commit 9ebc04d
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 16 deletions.
2 changes: 1 addition & 1 deletion config/arch.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
;;
esac

GCC_ARCH=${TARGET_SUBARCH/-}
TARGET_GCC_ARCH=${TARGET_SUBARCH/-}
TARGET_KERNEL_ARCH=arm64

# setup ARCH specific *FLAGS
Expand Down
2 changes: 1 addition & 1 deletion config/arch.arm
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
# fi

TARGET_VARIANT="${TARGET_SUBARCH}${TARGET_CPU_FLAGS}"
GCC_ARCH=${TARGET_SUBARCH/-}
TARGET_GCC_ARCH=${TARGET_SUBARCH/-}
TARGET_KERNEL_ARCH=${TARGET_KERNEL_ARCH:-arm}

# setup ARCH specific *FLAGS
Expand Down
2 changes: 1 addition & 1 deletion config/arch.x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# determine architecture's family
TARGET_SUBARCH=x86_64

GCC_ARCH="${TARGET_SUBARCH/-/}"
TARGET_GCC_ARCH="${TARGET_SUBARCH/-/}"
TARGET_KERNEL_ARCH=x86

# setup ARCH specific *FLAGS
Expand Down
2 changes: 1 addition & 1 deletion config/path
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ set -e
fi

[ -z "${HOST_NAME}" ] && export HOST_NAME="$($LOCAL_CC -dumpmachine)"
TARGET_NAME=$GCC_ARCH-libreelec-linux-gnu${TARGET_ABI}
TARGET_NAME=$TARGET_GCC_ARCH-libreelec-linux-gnu${TARGET_ABI}

BUILD=${BUILD_ROOT}/${BUILD_BASE}.${DISTRONAME}-${DEVICE:-$PROJECT}.${TARGET_ARCH}
if [ "${LIBREELEC_VERSION}" = "devel" ] ; then
Expand Down
15 changes: 6 additions & 9 deletions packages/devel/binutils/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@

PKG_NAME="binutils"
PKG_VERSION="2.38"
PKG_SHA256="e316477a914f567eccc34d5d29785b8b0f5a10208d36bbacedcc39048ecfe024"
PKG_LICENSE="GPL"
PKG_SITE="https://www.gnu.org/software/binutils/"
PKG_URL="https://ftp.gnu.org/gnu/binutils/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_SITE="http://www.gnu.org/software/binutils/"
PKG_URL="http://ftp.gnu.org/gnu/binutils/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_HOST="ccache:host bison:host flex:host linux:host"
PKG_DEPENDS_TARGET="toolchain zlib binutils:host"
PKG_LONGDESC="A GNU collection of binary utilities."
Expand All @@ -16,7 +15,6 @@ PKG_CONFIGURE_OPTS_HOST="--target=${TARGET_NAME} \
--with-sysroot=${SYSROOT_PREFIX} \
--with-lib-path=${SYSROOT_PREFIX}/lib:${SYSROOT_PREFIX}/usr/lib \
--without-ppl \
--enable-static \
--without-cloog \
--disable-werror \
--disable-multilib \
Expand All @@ -35,8 +33,8 @@ PKG_CONFIGURE_OPTS_TARGET="--target=${TARGET_NAME} \
--with-system-zlib \
--without-ppl \
--without-cloog \
--enable-static \
--disable-shared \
--disable-static \
--enable-shared \
--disable-werror \
--disable-multilib \
--disable-libada \
Expand All @@ -56,13 +54,12 @@ pre_configure_host() {

make_host() {
make configure-host
make MAKEINFO=true
make
}

makeinstall_host() {
cp -v ../include/libiberty.h ${SYSROOT_PREFIX}/usr/include
make -C bfd install # fix parallel build with libctf requiring bfd
make MAKEINFO=true install
make install
}

make_target() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ From: Khem Raj <[email protected]>
Date: Fri, 15 Jan 2016 06:31:09 +0000
Subject: [PATCH 09/13] warn for uses of system directories when cross linking

--- a/ld/ldfile.c
+++ b/ld/ldfile.c
@@ -103,6 +103,17 @@ ldfile_add_library_path (const char *nam
--- a/ld/ldfile.c 2015-11-13 09:27:42.000000000 +0100
+++ b/ld/ldfile.c 2016-11-15 19:09:31.658371254 +0100
@@ -102,6 +102,17 @@ ldfile_add_library_path (const char *nam
if (!cmdline && config.only_cmd_line_lib_dirs)
return;

Expand Down

0 comments on commit 9ebc04d

Please sign in to comment.