[Tizen-submit] 20177: New package Tizen:IVI:Genivi/linux-glibc-devel

noreply at tizen.org noreply at tizen.org
Fri Jan 31 02:43:04 GMT 2014


Hi,
Adding new package linux-glibc-devel in project Tizen:IVI:Genivi. Please review and accept ASAP.

Justification for this new package:

Submitter: Graydon, Tracy <tracy.graydon at intel.com>
Comments: submit/tizen_ivi_genivi/20140131.023457
Git project: platform/upstream/linux-glibc-devel
Tag: submit/tizen_ivi_genivi/20140131.023457
Commit: e42dce452f7a10dd9f1cdfc8665b30bd758902fc Update to 3.10 headers

Thank You,
Graydon, Tracy

[This message was auto-generated]

---

Request: #20177

  submit:       Tizen:IVI:Genivi:build/linux-glibc-devel(cleanup) -> Tizen:IVI:Genivi


Message:
Submitter: Graydon, Tracy <tracy.graydon at intel.com>
Comments: submit/tizen_ivi_genivi/20140131.023457
Git project: platform/upstream/linux-glibc-devel
Tag: submit/tizen_ivi_genivi/20140131.023457
Commit: e42dce452f7a10dd9f1cdfc8665b30bd758902fc Update to 3.10 headers

State:   new        2014-01-31T02:45:01 tizenrobot
Comment: <no comment>
changes files:
--------------

++++++ new changes file:
--- linux-glibc-devel.changes
+++ linux-glibc-devel.changes
@@ -0,0 +1,3 @@
+* Wed Aug 14 2013 Anas Nashif <anas.nashif at intel.com> upstream/3.4 at 984f583
+- Update to 3.10 headers
+

new:
----
  install_all.sh
  linux-glibc-devel-3.10.tar.bz2
  linux-glibc-devel.changes
  linux-glibc-devel.manifest
  linux-glibc-devel.spec

spec files:
-----------

++++++ new spec file:
--- linux-glibc-devel.spec
+++ linux-glibc-devel.spec
@@ -0,0 +1,158 @@
+
+Name:           linux-glibc-devel
+VCS:            platform/upstream/linux-glibc-devel#e42dce452f7a10dd9f1cdfc8665b30bd758902fc
+# this confusing version number has no meaning, it's the version
+# of the Linux kernel where these headers come from
+Version:        3.10
+Release:        0
+License:        GPL-2.0
+Summary:        Linux headers for userspace development
+# A "-" is not allowed in version
+Url:            http://www.kernel.org/
+Group:          Development/Libraries
+Source:         %{name}-%{version}.tar.bz2
+Source1:        install_all.sh
+Source1001: 	linux-glibc-devel.manifest
+Requires(pre):  coreutils
+Provides:       kernel-headers
+Provides:       linux-kernel-headers = %{version}
+Obsoletes:      linux-kernel-headers < %{version}
+BuildArch:      noarch
+BuildRequires:  fdupes
+
+%description
+This package provides Linux kernel headers, the kernel API description
+required for compilation of almost all programs. This is the userspace
+interface; compiling external kernel modules requires
+kernel-(flavor)-devel, or kernel-syms to pull in all kernel-*-devel,
+packages, instead.
+
+%prep
+%setup -q -n linux-glibc-devel-%{version}
+cp %{SOURCE1001} .
+
+%build
+cat > version.h <<-BOGUS
+#ifdef __KERNEL__
+#error "======================================================="
+#error "You should not include /usr/include/{linux,asm}/ header"
+#error "files directly for the compilation of kernel modules."
+#error ""
+#error "glibc now uses kernel header files from a well-defined"
+#error "working kernel version (as recommended by Linus Torvalds)"
+#error "These files are glibc internal and may not match the"
+#error "currently running kernel. They should only be"
+#error "included via other system header files - user space"
+#error "programs should not directly include <linux/*.h> or"
+#error "<asm/*.h> as well."
+#error ""
+#error "Since Linux 2.6, the kernel module build process has been"
+#error "updated such that users building modules should not typically"
+#error "need to specify additional include directories at all."
+#error ""
+#error "To build kernel modules, ensure you have the build environment "
+#error "available either via the kernel-devel and kernel-<flavor>-devel "
+#error "packages or a properly configured kernel source tree."
+#error ""
+#error "Then, modules can be built using:"
+#error "make -C <path> M=$PWD"
+#error ""
+#error "For the currently running kernel there will be a symbolic "

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list