All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 0/1] Package upgrade
@ 2014-01-06  8:15 Cristiana Voicu
  2014-01-06  8:15 ` [PATCH V2 1/1] kmod: Update to Rev 16 via git Cristiana Voicu
  0 siblings, 1 reply; 2+ messages in thread
From: Cristiana Voicu @ 2014-01-06  8:15 UTC (permalink / raw)
  To: openembedded-core

The package has been succesfully compiled for all major architectures.
Tested on a core-image-sato, functionalities like lsmod, kmod list or kmod -V.

The following changes since commit f33c990db392c6b208efecea0f941449c4d25cec:

  maintainers.inc: reassign e2fsprogs (2014-01-03 15:16:42 +0000)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib cvoicu/work2
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=cvoicu/work2

Cristiana Voicu (1):
  kmod: Update to Rev 16 via git

 meta/recipes-kernel/kmod/kmod-native_git.bb        |    3 +-
 meta/recipes-kernel/kmod/kmod.inc                  |    5 +--
 .../kmod/0001-Fix-build-with-older-gcc-4.6.patch   |   44 --------------------
 .../kmod/kmod/fix-seperatebuilddir.patch           |   34 ---------------
 4 files changed, 3 insertions(+), 83 deletions(-)
 delete mode 100644 meta/recipes-kernel/kmod/kmod/0001-Fix-build-with-older-gcc-4.6.patch
 delete mode 100644 meta/recipes-kernel/kmod/kmod/fix-seperatebuilddir.patch

-- 
1.7.9.5



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH V2 1/1] kmod: Update to Rev 16 via git
  2014-01-06  8:15 [PATCH V2 0/1] Package upgrade Cristiana Voicu
@ 2014-01-06  8:15 ` Cristiana Voicu
  0 siblings, 0 replies; 2+ messages in thread
From: Cristiana Voicu @ 2014-01-06  8:15 UTC (permalink / raw)
  To: openembedded-core

Two patches are not needed anymore, because the changes are
already upstream.

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
---
 meta/recipes-kernel/kmod/kmod-native_git.bb        |    3 +-
 meta/recipes-kernel/kmod/kmod.inc                  |    5 +--
 .../kmod/0001-Fix-build-with-older-gcc-4.6.patch   |   44 --------------------
 .../kmod/kmod/fix-seperatebuilddir.patch           |   34 ---------------
 4 files changed, 3 insertions(+), 83 deletions(-)
 delete mode 100644 meta/recipes-kernel/kmod/kmod/0001-Fix-build-with-older-gcc-4.6.patch
 delete mode 100644 meta/recipes-kernel/kmod/kmod/fix-seperatebuilddir.patch

diff --git a/meta/recipes-kernel/kmod/kmod-native_git.bb b/meta/recipes-kernel/kmod/kmod-native_git.bb
index 6600413..f0e274e 100644
--- a/meta/recipes-kernel/kmod/kmod-native_git.bb
+++ b/meta/recipes-kernel/kmod/kmod-native_git.bb
@@ -7,8 +7,7 @@ DEPENDS += "zlib-native"
 
 inherit native
 
-SRC_URI += "file://0001-Fix-build-with-older-gcc-4.6.patch \
-            file://Change-to-calling-bswap_-instead-of-htobe-and-be-toh.patch \
+SRC_URI += "file://Change-to-calling-bswap_-instead-of-htobe-and-be-toh.patch \
            "
 
 do_install_append (){
diff --git a/meta/recipes-kernel/kmod/kmod.inc b/meta/recipes-kernel/kmod/kmod.inc
index 94724e4..b7e176c 100644
--- a/meta/recipes-kernel/kmod/kmod.inc
+++ b/meta/recipes-kernel/kmod/kmod.inc
@@ -16,16 +16,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
                    "
 inherit autotools gtk-doc ptest
 
-SRCREV = "18811d22e9923893555b88a482aa967db0e7892a"
+SRCREV = "36c4bb928a6a7962dd0ad3aa64c0b18120ca5b46"
 # Lookout for PV bump too when SRCREV is changed
-PV = "15+git${SRCPV}"
+PV = "16+git${SRCPV}"
 
 SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git \
            file://depmod-search.conf \
            file://run-ptest \
            file://ptest.patch \
            file://avoid_parallel_tests.patch \
-           file://fix-seperatebuilddir.patch \
           "
 
 S = "${WORKDIR}/git"
diff --git a/meta/recipes-kernel/kmod/kmod/0001-Fix-build-with-older-gcc-4.6.patch b/meta/recipes-kernel/kmod/kmod/0001-Fix-build-with-older-gcc-4.6.patch
deleted file mode 100644
index f8ff103..0000000
--- a/meta/recipes-kernel/kmod/kmod/0001-Fix-build-with-older-gcc-4.6.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-Upstream-Status: Inappropriate [kmod is new]
-
-From 30e1839a46b0b9449f272765193a0da61bf85997 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Mon, 26 Aug 2013 15:32:36 -0700
-Subject: [PATCH] Fix build with older gcc < 4.6
-
-Static_assert is new feature in C11 standards and older than gcc 4.6
-does not support it. So define it to make the old gcc happy
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- libkmod/macro.h | 14 ++++++++++++--
- 1 file changed, 12 insertions(+), 2 deletions(-)
-
-diff --git a/libkmod/macro.h b/libkmod/macro.h
-index c6ba855..5032f54 100644
---- a/libkmod/macro.h
-+++ b/libkmod/macro.h
-@@ -20,9 +20,19 @@
- #pragma once
- 
- #include <stddef.h>
--
--#define assert_cc(expr) \
-+#if defined(__GNUC__)
-+/* Determine which version of GNU C we're using */
-+#define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
-+#endif
-+#if (GCC_VERSION >= 40600)
-+# define assert_cc(expr) \
- 	_Static_assert((expr), #expr)
-+#else
-+# define STATIC_ASSERT_GLUE1(x, y) x##y
-+# define STATIC_ASSERT_GLUE(x, y)  STATIC_ASSERT_GLUE1(x, y)
-+# define assert_cc(expr) \
-+extern void STATIC_ASSERT_GLUE(static_assert, __LINE__)(int arg[(expr) ? 1 : -1]) __attribute__((unused))
-+#endif
- 
- #if HAVE_TYPEOF
- #define check_types_match(expr1, expr2)		\
--- 
-1.8.3.4
-
diff --git a/meta/recipes-kernel/kmod/kmod/fix-seperatebuilddir.patch b/meta/recipes-kernel/kmod/kmod/fix-seperatebuilddir.patch
deleted file mode 100644
index b090eb5..0000000
--- a/meta/recipes-kernel/kmod/kmod/fix-seperatebuilddir.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-
-If we are not building in the existing source tree, the testsuite
-directory will not exist so the cp of the stamp-rootfs would fail.
-
-Also added buildtest-TESTS so they could be build in the cross env,
-without running the tests.
-
-Upstream-Status: Accepted
-
-Signed-off-by: Saul Wold <sgw@linux.intel.com>
-
-Index: git/Makefile.am
-===================================================================
---- git.orig/Makefile.am
-+++ git/Makefile.am
-@@ -131,7 +131,7 @@ endif
- 
- ROOTFS = testsuite/rootfs
- ROOTFS_PRISTINE = $(top_srcdir)/testsuite/rootfs-pristine
--CREATE_ROOTFS = $(AM_V_GEN) ( $(RM) -rf $(ROOTFS) && \
-+CREATE_ROOTFS = $(AM_V_GEN) ( $(RM) -rf $(ROOTFS) && mkdir -p $(dir $(ROOTFS)) && \
- 				cp -r $(ROOTFS_PRISTINE) $(ROOTFS) && \
- 				touch testsuite/stamp-rootfs && \
- 				find $(ROOTFS) -type d -exec chmod +w {} \; )
-@@ -217,6 +217,9 @@ DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-d
- 
- distclean-local: $(DISTCLEAN_LOCAL_HOOKS)
- 
-+buildtest-TESTS:
-+	$(MAKE) $(AM_MAKEFLAGS) $(check_LTLIBRARIES) $(check_PROGRAMS)
-+
- install-ptest:
- 	@$(MKDIR_P) $(DESTDIR)/testsuite
- 	@for file in $(TESTSUITE); do \
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-06  8:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-06  8:15 [PATCH V2 0/1] Package upgrade Cristiana Voicu
2014-01-06  8:15 ` [PATCH V2 1/1] kmod: Update to Rev 16 via git Cristiana Voicu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.