Skip to contentSkip to conversation

uclibc: Add support for execvpe and update scheduler functions

PATCH Applied Khem Raj 3 participants 4 messages Jul 1, 2011

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 uclibc: Add support for execvpe and update scheduler functions

Enable utmpx

These changes are required for systemd to work

---
 meta/recipes-core/uclibc/uclibc-git/uClibc.distro  |    2 +
 .../uclibc/uclibc-git/uclibc-execvpe.patch         |  160 +++++++
 .../uclibc-git/uclibc_scheduler_update.patch       |  455 ++++++++++++++++++++
 meta/recipes-core/uclibc/uclibc_git.bb             |    4 +-
 4 files changed, 620 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-core/uclibc/uclibc-git/uclibc-execvpe.patch
 create mode 100644 meta/recipes-core/uclibc/uclibc-git/uclibc_scheduler_update.patch
meta/recipes-core/uclibc/uclibc-git/uClibc.distro +2 -0
index 3136e54..72cbff9 100644
@@ -171,3 +171,5 @@ UCLIBC_HAS_PTY=y
 UCLIBC_BSD_SPECIFIC=y
 UCLIBC_HAS_EPOLL=y
 UCLIBC_HAS_FLOATS=y
+# needed by systemd
+UCLIBC_HAS_UTMPX=y
meta/recipes-core/uclibc/uclibc-git/uclibc-execvpe.patch new file +160 -0

160 lines not on this page · raw message

meta/recipes-core/uclibc/uclibc-git/uclibc_scheduler_update.patch new file +455 -0

455 lines not on this page · raw message

meta/recipes-core/uclibc/uclibc_git.bb +3 -1
index 0e43f9e..19e40ab 100644
@@ -2,7 +2,7 @@ SRCREV="71d63ed75648da9b0b71afabb9c60aaad792c55c"
 
 require uclibc.inc
 PV = "0.9.31+0.9.32rc3"
-PR = "${INC_PR}.5"
+PR = "${INC_PR}.6"
 PROVIDES += "virtual/${TARGET_PREFIX}libc-for-gcc"
 
 FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-git' ], d)}"
@@ -31,5 +31,7 @@ SRC_URI = "git://uclibc.org/uClibc.git;branch=master;protocol=git \
 	file://rtld_no.patch \
 	file://0001-Config.in.arch-Free-UCLIBC_HAS_FPU-setting-from-depe.patch \
 	file://0001-mips-signalfd.h-SFD_NONBLOCK-for-mips-is-0200-unlike.patch \
+	file://uclibc-execvpe.patch \
+	file://uclibc_scheduler_update.patch \
 	"
 S = "${WORKDIR}/git"
Signature · 1 line
1.7.4.1
author
#1 lore raw

PATCH 2/2 uclibc: Fix compilation in thumb mode

It was not setting COMPILE_IN_THUMB_MODE in .config when ARM_INSTRUCTION_MODE = thumb. Reason was that this entry has to exist in merged defconfig so we add it disabled which means no harm to other architectures

---
 meta/recipes-core/uclibc/uclibc-git/uClibc.distro |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
meta/recipes-core/uclibc/uclibc-git/uClibc.distro +8 -0
index 72cbff9..ece7ddc 100644
@@ -173,3 +173,11 @@ UCLIBC_HAS_EPOLL=y
 UCLIBC_HAS_FLOATS=y
 # needed by systemd
 UCLIBC_HAS_UTMPX=y
+
+# The below option is needed for ARM since depending
+# upong what intruction set is chosen this will be
+# enabled. As such it is harmless and will be punted
+# by menuconfig for other arches.
+
+# COMPILE_IN_THUMB_MODE is not set
+
Signature · 1 line
1.7.4.1
#2 lore raw

Re: [PATCH 2/2] uclibc: Fix compilation in thumb mode

Quoted 10 lines · Khem Raj

It was not setting COMPILE_IN_THUMB_MODE in .config when ARM_INSTRUCTION_MODE = thumb. Reason was that this entry has to exist in merged defconfig so we add it disabled which means no harm to other architectures

---
 meta/recipes-core/uclibc/uclibc-git/uClibc.distro |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

Merged to master, thanks.

Richard