linux-libc-headers_2.6.37.bb: New recipe
authorKhem Raj <raj.khem@gmail.com>
Sat, 8 Jan 2011 22:32:18 +0000 (14:32 -0800)
committerKhem Raj <raj.khem@gmail.com>
Sat, 8 Jan 2011 22:33:14 +0000 (14:33 -0800)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/linux-libc-headers/linux-libc-headers_2.6.37.bb [new file with mode: 0644]

diff --git a/recipes/linux-libc-headers/linux-libc-headers_2.6.37.bb b/recipes/linux-libc-headers/linux-libc-headers_2.6.37.bb
new file mode 100644 (file)
index 0000000..c8b3871
--- /dev/null
@@ -0,0 +1,28 @@
+require linux-libc-headers.inc
+
+# untested for non nios2 systems
+DEFAULT_PREFERENCE = "-1"
+INHIBIT_DEFAULT_DEPS = "1"
+DEPENDS += "unifdef-native"
+PR = "r0"
+
+COMPATIBLE_TARGET_SYS = "."
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/${P}.tar.bz2;name=kernel \
+           file://defconfig "
+
+SRC_URI[kernel.md5sum] = "c8ee37b4fdccdb651e0603d35350b434"
+SRC_URI[kernel.sha256sum] = "edbf091805414739cf57a3bbfeba9e87f5e74f97e38f04d12060e9e0c71e383a"
+
+S = "${WORKDIR}/linux-${PV}"
+
+do_configure() {
+       cd ${S}
+       oe_runmake allnoconfig ARCH=$ARCH
+}
+
+do_compile () {
+}
+
+do_install() {
+       oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix} ARCH=$ARCH
+}