Skip to contentSkip to conversation

linux-libc-headers: added COMPATIBLE_TARGET_SYS = "(?!nios2)"

PATCH Superseded Frans Meulenbroeks 1 participant 1 message Jul 15, 2010

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-libc-headers: added COMPATIBLE_TARGET_SYS = "(?!nios2)"

added COMPATIBLE_TARGET_SYS = "(?!nios2)" to all versions that do not support nios2.
nios2 has an unistd.h with an extra system call, which makes that compiling glibc for it fails if the wrong version is installed.

As there is no functional change this does not need a PR bump.

---

currently only 2.6.34 is supported.
given the low response on recent patches, and the fact that this is pretty harmless, I'm planning to commit this after a few days if I get no nacks. Of course I am hoping for some acks though.

Frans

 .../linux-libc-headers_2.6.11.1.bb                 |    2 ++
 .../linux-libc-headers_2.6.15.99.bb                |    2 ++
 .../linux-libc-headers_2.6.18+2.6.19-rc1.bb        |    2 ++
 .../linux-libc-headers_2.6.18.bb                   |    2 ++
 .../linux-libc-headers_2.6.20.bb                   |    2 ++
 .../linux-libc-headers_2.6.22.bb                   |    2 ++
 .../linux-libc-headers_2.6.23.bb                   |    2 ++
 .../linux-libc-headers_2.6.24.bb                   |    2 ++
 .../linux-libc-headers_2.6.25.bb                   |    2 ++
 .../linux-libc-headers_2.6.29.bb                   |    2 ++
 .../linux-libc-headers_2.6.30.bb                   |    2 ++
 .../linux-libc-headers_2.6.31.bb                   |    2 ++
 .../linux-libc-headers_2.6.32.bb                   |    2 ++
 .../linux-libc-headers_2.6.7.0.bb                  |    2 ++
 .../linux-libc-headers_2.6.8.1.bb                  |    2 ++
 15 files changed, 30 insertions(+), 0 deletions(-)
recipes/linux-libc-headers/linux-libc-headers_2.6.11.1.bb +2 -0
index 95143c9..15cc32c 100644
@@ -9,6 +9,8 @@ HOMEPAGE = "http://ep09.pld-linux.org/~mmazur/linux-libc-headers/"
 INHIBIT_DEFAULT_DEPS = "1"
 PR = "r5"
 
+COMPATIBLE_TARGET_SYS = "(?!nios2)"
+
 SRC_URI = "http://ep09.pld-linux.org/~mmazur/linux-libc-headers/linux-libc-headers-${PV}.tar.bz2 \
 	file://keyboard.patch"
 
recipes/linux-libc-headers/linux-libc-headers_2.6.15.99.bb +2 -0
index c5a6c4f..b6738b9 100644
@@ -15,6 +15,8 @@ DEFAULT_PREFERENCE = "-1"
 INHIBIT_DEFAULT_DEPS = "1"
 PR = "r7"
 
+COMPATIBLE_TARGET_SYS = "(?!nios2)"
+
 SRC_URI = "http://ewi546.ewi.utwente.nl/OE/eabi/linux-libc-headers-${PV}.tar.bz2 \
 	file://keyboard.patch \
 	file://asm-arch-irqs.patch \
recipes/linux-libc-headers/linux-libc-headers_2.6.18+2.6.19-rc1.bb +2 -0
index 17d2091..bd25de6 100644
@@ -4,6 +4,8 @@ DEFAULT_PREFERENCE = "-1"
 INHIBIT_DEFAULT_DEPS = "1"
 PR = "r2"
 
+COMPATIBLE_TARGET_SYS = "(?!nios2)"
+
 SRC_URI = " \
 	${KERNELORG_MIRROR}/pub/linux/kernel/people/dwmw2/kernel-headers/snapshot/linux-kernel-headers-2.6.19-rc1.tar.bz2 \
 	file://arm-procinfo-hwcap.patch \
recipes/linux-libc-headers/linux-libc-headers_2.6.18.bb +2 -0
index 80806ff..213e201 100644
@@ -4,6 +4,8 @@ INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS += "unifdef-native"
 PR = "r5"
 
+COMPATIBLE_TARGET_SYS = "(?!nios2)"
+
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 \
            file://arm-syscall-define.patch"
 
recipes/linux-libc-headers/linux-libc-headers_2.6.20.bb +2 -0
index 32ce044..89ff997 100644
@@ -4,6 +4,8 @@ INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS += "unifdef-native"
 PR = "r12"
 
+COMPATIBLE_TARGET_SYS = "(?!nios2)"
+
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
            file://procinfo.h \
            file://unifdef.patch \
recipes/linux-libc-headers/linux-libc-headers_2.6.22.bb +2 -0
index 12845e0..8bc119a 100644
@@ -4,6 +4,8 @@ INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS += "unifdef-native"
 PR = "r4"
 
+COMPATIBLE_TARGET_SYS = "(?!nios2)"
+
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
            file://procinfo.h"
 
recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb +2 -0
index 474b96c..70cedeb 100644
@@ -4,6 +4,8 @@ INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS += "unifdef-native"
 PR = "r7"
 
+COMPATIBLE_TARGET_SYS = "(?!nios2)"
+
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
            file://procinfo.h \
            file://unifdef.patch \
recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb +2 -0
index b90c478..1a7f9ff 100644
@@ -4,6 +4,8 @@ INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS += "unifdef-native"
 PR = "r5"
 
+COMPATIBLE_TARGET_SYS = "(?!nios2)"
+
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
            file://procinfo.h \
            file://unifdef.patch"
recipes/linux-libc-headers/linux-libc-headers_2.6.25.bb +2 -0
index 084fea6..2c94686 100644
@@ -4,6 +4,8 @@ INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS += "unifdef-native"
 PR = "r5"
 
+COMPATIBLE_TARGET_SYS = "(?!nios2)"
+
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
 	   file://reinstate-a.out.h.patch \
 	   file://fix-kernel-conditionalize-a.out.h.patch \
recipes/linux-libc-headers/linux-libc-headers_2.6.29.bb +2 -0
index d59fb4d..d133ac9 100644
@@ -4,6 +4,8 @@ INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS += "unifdef-native"
 PR = "r2"
 
+COMPATIBLE_TARGET_SYS = "(?!nios2)"
+
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
 	  "
 
recipes/linux-libc-headers/linux-libc-headers_2.6.30.bb +2 -0
index c64e59c..ad1832c 100644
@@ -4,6 +4,8 @@ INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS += "unifdef-native"
 PR = "r2"
 
+COMPATIBLE_TARGET_SYS = "(?!nios2)"
+
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
 	   file://uio-header.patch \
 	  "
recipes/linux-libc-headers/linux-libc-headers_2.6.31.bb +2 -0
index c31d482..de97a76 100644
@@ -4,6 +4,8 @@ INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS += "unifdef-native"
 PR = "r5"
 
+COMPATIBLE_TARGET_SYS = "(?!nios2)"
+
 DEFAULT_PREFERENCE = "-1"
 
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
recipes/linux-libc-headers/linux-libc-headers_2.6.32.bb +2 -0
index b12100c..8898292 100644
@@ -4,6 +4,8 @@ INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS += "unifdef-native"
 PR = "r5"
 
+COMPATIBLE_TARGET_SYS = "(?!nios2)"
+
 DEFAULT_PREFERENCE = "-1"
 
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
recipes/linux-libc-headers/linux-libc-headers_2.6.7.0.bb +2 -0
index 8141fac..c4fa80e 100644
@@ -6,6 +6,8 @@ PR = "r5"
 # NOTE: no need to package these headers, since the c library includes them.
 PACKAGES = ""
 
+COMPATIBLE_TARGET_SYS = "(?!nios2)"
+
 SRC_URI = "http://ep09.pld-linux.org/~mmazur/linux-libc-headers/linux-libc-headers-${PV}.tar.bz2 \
 	   file://sh-missing.patch \
 	   file://keyboard.patch"
recipes/linux-libc-headers/linux-libc-headers_2.6.8.1.bb +2 -0
index 15c4e6d..571ed3d 100644
@@ -10,6 +10,8 @@ HOMEPAGE = "http://ep09.pld-linux.org/~mmazur/linux-libc-headers/"
 INHIBIT_DEFAULT_DEPS = "1"
 PR = "r9"
 
+COMPATIBLE_TARGET_SYS = "(?!nios2)"
+
 # NOTE: no need to package these headers, since the c library includes them.
 PACKAGES = ""
 
Signature · 1 line
1.6.4.2