Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
Index: create.patch.sh
===================================================================
--- create.patch.sh	(nonexistent)
+++ create.patch.sh	(revision 15)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+VERSION=38
+
+tar --files-from=file.list -xJvf ../efivar-$VERSION.tar.xz
+mv efivar-$VERSION efivar-$VERSION-orig
+
+cp -rf ./efivar-$VERSION-new ./efivar-$VERSION
+
+diff --unified -Nr  efivar-$VERSION-orig  efivar-$VERSION > efivar-$VERSION-gnu-ld-2.36.patch
+
+mv efivar-$VERSION-gnu-ld-2.36.patch ../patches
+
+rm -rf ./efivar-$VERSION
+rm -rf ./efivar-$VERSION-orig

Property changes on: create.patch.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: efivar-38-new/src/include/workarounds.mk
===================================================================
--- efivar-38-new/src/include/workarounds.mk	(nonexistent)
+++ efivar-38-new/src/include/workarounds.mk	(revision 15)
@@ -0,0 +1,24 @@
+# SPDX-License-Identifier: SPDX-License-Identifier: LGPL-2.1-or-later
+#
+# workarounds.mk - workarounds for weird stuff behavior
+
+LD_FLAVOR := $(shell $(LD) --version | grep -E '^(LLD|GNU ld)'|sed 's/ .*//g')
+LD_VERSION := $(shell $(LD) --version | grep -E '^(LLD|GNU ld)'|sed 's/.* //')
+# I haven't tested 2.36 here; 2.35 is definitely broken and 2.37 seems to work
+LD_DASH_T := $(shell \
+	if [ "x${LD_FLAVOR}" = xLLD ] ; then \
+		echo '-T' ; \
+	elif [ "x${LD_FLAVOR}" = xGNU ] ; then \
+		if echo "${LD_VERSION}" | grep -q -E '^2\.3[6789]|^2\.[456789]|^[3456789]|^[[:digit:]][[:digit:]]' ; then \
+			echo '-T' ; \
+		else \
+			echo "" ; \
+		fi ; \
+	else \
+		echo "Your linker is not supported" ; \
+		exit 1 ; \
+	fi)
+
+export LD_DASH_T
+
+# vim:ft=make
Index: file.list
===================================================================
--- file.list	(nonexistent)
+++ file.list	(revision 15)
@@ -0,0 +1 @@
+efivar-38/src/include/workarounds.mk