* [Buildroot] [git commit] kmod: bump version
@ 2012-01-19 11:25 Peter Korsgaard
0 siblings, 0 replies; 15+ messages in thread
From: Peter Korsgaard @ 2012-01-19 11:25 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=95632704cd966b32c3391aa732eaad10d24fe0fb
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/kmod/kmod.mk | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/package/kmod/kmod.mk b/package/kmod/kmod.mk
index a7a5bf5..0e3bc34 100644
--- a/package/kmod/kmod.mk
+++ b/package/kmod/kmod.mk
@@ -1,8 +1,7 @@
-KMOD_VERSION = 3
-KMOD_SOURCE = kmod-$(KMOD_VERSION).tar.bz2
-KMOD_SITE = http://git.profusion.mobi/cgit.cgi/kmod.git/snapshot
-KMOD_INSTALL_STAGING =YES
-KMOD_AUTORECONF = YES
+KMOD_VERSION = 4
+KMOD_SOURCE = kmod-$(KMOD_VERSION).tar.xz
+KMOD_SITE = http://packages.profusion.mobi/kmod/
+KMOD_INSTALL_STAGING = YES
KMOD_DEPENDENCIES = host-pkg-config
$(eval $(call AUTOTARGETS))
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [Buildroot] [git commit] kmod: bump version
@ 2012-03-08 21:36 Peter Korsgaard
0 siblings, 0 replies; 15+ messages in thread
From: Peter Korsgaard @ 2012-03-08 21:36 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=de66776330813806aaf2dc6e349044ef71e83f11
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/kmod/kmod.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/kmod/kmod.mk b/package/kmod/kmod.mk
index acf5f0a..028d351 100644
--- a/package/kmod/kmod.mk
+++ b/package/kmod/kmod.mk
@@ -1,6 +1,6 @@
-KMOD_VERSION = 5
+KMOD_VERSION = 6
KMOD_SOURCE = kmod-$(KMOD_VERSION).tar.xz
-KMOD_SITE = http://packages.profusion.mobi/kmod/
+KMOD_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kmod/
KMOD_INSTALL_STAGING = YES
KMOD_DEPENDENCIES = host-pkg-config
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [Buildroot] [git commit] kmod: bump version
@ 2012-03-22 10:57 Peter Korsgaard
0 siblings, 0 replies; 15+ messages in thread
From: Peter Korsgaard @ 2012-03-22 10:57 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=8fce69fd2f42290d0794b4cc823312d4205ff9dc
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/kmod/kmod.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/kmod/kmod.mk b/package/kmod/kmod.mk
index 028d351..f71087c 100644
--- a/package/kmod/kmod.mk
+++ b/package/kmod/kmod.mk
@@ -1,4 +1,4 @@
-KMOD_VERSION = 6
+KMOD_VERSION = 7
KMOD_SOURCE = kmod-$(KMOD_VERSION).tar.xz
KMOD_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kmod/
KMOD_INSTALL_STAGING = YES
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [Buildroot] [git commit] kmod: bump version
@ 2012-09-13 17:42 Peter Korsgaard
0 siblings, 0 replies; 15+ messages in thread
From: Peter Korsgaard @ 2012-09-13 17:42 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=ef500345220e72d8dda96a380ca083351529255f
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/kmod/kmod.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/kmod/kmod.mk b/package/kmod/kmod.mk
index fb9706c..fb07ae6 100644
--- a/package/kmod/kmod.mk
+++ b/package/kmod/kmod.mk
@@ -1,4 +1,4 @@
-KMOD_VERSION = 9
+KMOD_VERSION = 10
KMOD_SOURCE = kmod-$(KMOD_VERSION).tar.xz
KMOD_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kmod/
KMOD_INSTALL_STAGING = YES
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [Buildroot] [git commit] kmod: bump version
@ 2012-12-15 21:19 Peter Korsgaard
0 siblings, 0 replies; 15+ messages in thread
From: Peter Korsgaard @ 2012-12-15 21:19 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=c27d252f3544dac60225973316b8908cc21fc023
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/kmod/kmod.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/kmod/kmod.mk b/package/kmod/kmod.mk
index 2833629..2c03435 100644
--- a/package/kmod/kmod.mk
+++ b/package/kmod/kmod.mk
@@ -1,4 +1,4 @@
-KMOD_VERSION = 11
+KMOD_VERSION = 12
KMOD_SOURCE = kmod-$(KMOD_VERSION).tar.xz
KMOD_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kmod/
KMOD_INSTALL_STAGING = YES
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [Buildroot] [git commit] kmod: bump version
@ 2013-04-12 10:18 Peter Korsgaard
0 siblings, 0 replies; 15+ messages in thread
From: Peter Korsgaard @ 2013-04-12 10:18 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=bbf9ed5bf17a8daa8d998f64e9eed0cb509abb76
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/kmod/kmod.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/kmod/kmod.mk b/package/kmod/kmod.mk
index 2c03435..c0b223d 100644
--- a/package/kmod/kmod.mk
+++ b/package/kmod/kmod.mk
@@ -1,4 +1,4 @@
-KMOD_VERSION = 12
+KMOD_VERSION = 13
KMOD_SOURCE = kmod-$(KMOD_VERSION).tar.xz
KMOD_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kmod/
KMOD_INSTALL_STAGING = YES
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [Buildroot] [git commit] kmod: bump version
@ 2013-07-03 19:40 Peter Korsgaard
2013-07-03 21:26 ` Thomas Petazzoni
0 siblings, 1 reply; 15+ messages in thread
From: Peter Korsgaard @ 2013-07-03 19:40 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=3c3211ccde7fc37aaf9192e83cb55d7159001c17
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
syscall patch is now upstream and static linking is no longer supported.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/kmod/kmod-001-no-syscall--1.patch | 31 -----------------------------
package/kmod/kmod.mk | 6 ++++-
2 files changed, 5 insertions(+), 32 deletions(-)
diff --git a/package/kmod/kmod-001-no-syscall--1.patch b/package/kmod/kmod-001-no-syscall--1.patch
deleted file mode 100644
index e7a3a11..0000000
--- a/package/kmod/kmod-001-no-syscall--1.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 5eac795b8b067842caec32f96d55a7554c3c67f9 Mon Sep 17 00:00:00 2001
-From: Jan Luebbe <jlu@pengutronix.de>
-Date: Thu, 02 May 2013 14:47:12 +0000
-Subject: libkmod: Avoid calling syscall() with -1
-
-At least in qemu 1.4.1 for vexpress/arm-cortexa9, this resulted in an
-illegal instruction error. Solve that by returning an error when
-__NR_finit_module is -1.
----
-diff --git a/libkmod/missing.h b/libkmod/missing.h
-index edb88b9..b45bbe2 100644
---- a/libkmod/missing.h
-+++ b/libkmod/missing.h
-@@ -20,8 +20,15 @@
- #endif
-
- #ifndef HAVE_FINIT_MODULE
-+#include <errno.h>
-+
- static inline int finit_module(int fd, const char *uargs, int flags)
- {
-+ if (__NR_finit_module == -1) {
-+ errno = ENOSYS;
-+ return -1;
-+ }
-+
- return syscall(__NR_finit_module, fd, uargs, flags);
- }
- #endif
---
-cgit v0.9.2
diff --git a/package/kmod/kmod.mk b/package/kmod/kmod.mk
index 6cd2a20..72a24af 100644
--- a/package/kmod/kmod.mk
+++ b/package/kmod/kmod.mk
@@ -4,7 +4,7 @@
#
################################################################################
-KMOD_VERSION = 13
+KMOD_VERSION = 14
KMOD_SOURCE = kmod-$(KMOD_VERSION).tar.xz
KMOD_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kmod/
KMOD_INSTALL_STAGING = YES
@@ -14,6 +14,10 @@ KMOD_DEPENDENCIES = host-pkgconf
KMOD_LICENSE = LGPLv2.1+
KMOD_LICENSE_FILES = libkmod/COPYING
+# static linking not supported, see
+# https://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/commit/?id=b7016153ec8
+KMOD_CONF_OPT = --disable-static --enable-shared
+
ifneq ($(BR2_HAVE_DOCUMENTATION),y)
KMOD_CONF_OPT += --disable-manpages
endif
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [Buildroot] [git commit] kmod: bump version
2013-07-03 19:40 Peter Korsgaard
@ 2013-07-03 21:26 ` Thomas Petazzoni
2013-07-03 21:35 ` Peter Korsgaard
0 siblings, 1 reply; 15+ messages in thread
From: Thomas Petazzoni @ 2013-07-03 21:26 UTC (permalink / raw)
To: buildroot
Dear Peter Korsgaard,
On Wed, 3 Jul 2013 21:40:53 +0200, Peter Korsgaard wrote:
> +# static linking not supported, see
> +# https://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/commit/?id=b7016153ec8
> +KMOD_CONF_OPT = --disable-static --enable-shared
depends !BR2_PREFER_STATIC_LIB
in the kconfig dependencies maybe?
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Buildroot] [git commit] kmod: bump version
2013-07-03 21:26 ` Thomas Petazzoni
@ 2013-07-03 21:35 ` Peter Korsgaard
2013-07-03 21:49 ` Thomas Petazzoni
0 siblings, 1 reply; 15+ messages in thread
From: Peter Korsgaard @ 2013-07-03 21:35 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> Dear Peter Korsgaard,
Thomas> On Wed, 3 Jul 2013 21:40:53 +0200, Peter Korsgaard wrote:
>> +# static linking not supported, see
>> +# https://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/commit/?id=b7016153ec8
>> +KMOD_CONF_OPT = --disable-static --enable-shared
Thomas> depends !BR2_PREFER_STATIC_LIB
Thomas> in the kconfig dependencies maybe?
We could, yes. I'm fairly sure we have a number of other packages that
don't handle BR2_PREFER_STATIC_LIB though.
It will need to be propagated to kmods reverse dependencies (udev,
network-manager, udisks, ..)
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Buildroot] [git commit] kmod: bump version
2013-07-03 21:35 ` Peter Korsgaard
@ 2013-07-03 21:49 ` Thomas Petazzoni
2013-07-03 21:51 ` Peter Korsgaard
0 siblings, 1 reply; 15+ messages in thread
From: Thomas Petazzoni @ 2013-07-03 21:49 UTC (permalink / raw)
To: buildroot
Dear Peter Korsgaard,
On Wed, 03 Jul 2013 23:35:34 +0200, Peter Korsgaard wrote:
> Thomas> depends !BR2_PREFER_STATIC_LIB
>
> Thomas> in the kconfig dependencies maybe?
>
> We could, yes. I'm fairly sure we have a number of other packages
> that don't handle BR2_PREFER_STATIC_LIB though.
True, but I believe those packages should either be fixed, or marked
as depends on !BR2_PREFER_STATIC_LIB. As we have discussed a number of
times in the past, I believe that a "prefer static libraries" option
doesn't make much sense. Either you /want/ static libraries, or
you /don't/ want static libraries. But a "prefer" option that doesn't
even tell you for which libraries static linking or dynamic linking
will be used is kinda useless. And since kconfig doesn't allow us to
easily provide per-package options to allow the user to define on a
per-library basis whether it should be built static or dynamic, I
believe the only two selections that make sense are: full dynamic or
full static.
Or, as we discussed when talking about building with -fPIC: build
static /and/ dynamic, build dynamic only (default), build static only.
> It will need to be propagated to kmods reverse dependencies (udev,
> network-manager, udisks, ..)
Indeed. I must say I'm somewhat surprised that something relatively
simple like kmod doesn't support static linking.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Buildroot] [git commit] kmod: bump version
2013-07-03 21:49 ` Thomas Petazzoni
@ 2013-07-03 21:51 ` Peter Korsgaard
0 siblings, 0 replies; 15+ messages in thread
From: Peter Korsgaard @ 2013-07-03 21:51 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Hi,
Thomas> Or, as we discussed when talking about building with -fPIC: build
Thomas> static /and/ dynamic, build dynamic only (default), build static only.
Yes, I completely agree. I'll fix it once I'm done with your toolchain
series.
Thomas> Indeed. I must say I'm somewhat surprised that something relatively
Thomas> simple like kmod doesn't support static linking.
Indeed. It seems to be because of policy rather than anything technical:
https://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/commit/?id=b7016153ec8
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Buildroot] [git commit] kmod: bump version
@ 2014-04-11 18:57 Peter Korsgaard
2014-04-11 22:21 ` Thomas Petazzoni
0 siblings, 1 reply; 15+ messages in thread
From: Peter Korsgaard @ 2014-04-11 18:57 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=e4a021d63cd56a991dff8fa4617c81ed4d4c8289
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
And add optional support for the python bindings.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/kmod/kmod.mk | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/package/kmod/kmod.mk b/package/kmod/kmod.mk
index 46c8ea9..3987407 100644
--- a/package/kmod/kmod.mk
+++ b/package/kmod/kmod.mk
@@ -4,7 +4,7 @@
#
################################################################################
-KMOD_VERSION = 16
+KMOD_VERSION = 17
KMOD_SOURCE = kmod-$(KMOD_VERSION).tar.xz
KMOD_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kmod/
KMOD_INSTALL_STAGING = YES
@@ -32,6 +32,11 @@ KMOD_DEPENDENCIES += xz
KMOD_CONF_OPT += --with-xz
endif
+ifeq ($(BR2_PACKAGE_PYTHON),y)
+KMOD_DEPENDENCIES += python
+KMOD_CONF_OPT += --enable-python
+endif
+
# --gc-sections triggers a bug in the current Xtensa binutils
ifeq ($(BR2_xtensa),y)
KMOD_CONF_ENV += cc_cv_LDFLAGS__Wl___gc_sections=no
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [Buildroot] [git commit] kmod: bump version
2014-04-11 18:57 [Buildroot] [git commit] kmod: bump version Peter Korsgaard
@ 2014-04-11 22:21 ` Thomas Petazzoni
2014-04-11 22:39 ` Peter Korsgaard
0 siblings, 1 reply; 15+ messages in thread
From: Thomas Petazzoni @ 2014-04-11 22:21 UTC (permalink / raw)
To: buildroot
Dear Peter Korsgaard,
On Fri, 11 Apr 2014 20:57:27 +0200, Peter Korsgaard wrote:
> +ifeq ($(BR2_PACKAGE_PYTHON),y)
> +KMOD_DEPENDENCIES += python
> +KMOD_CONF_OPT += --enable-python
> +endif
What about Python 3 compatibility?
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Buildroot] [git commit] kmod: bump version
2014-04-11 22:21 ` Thomas Petazzoni
@ 2014-04-11 22:39 ` Peter Korsgaard
0 siblings, 0 replies; 15+ messages in thread
From: Peter Korsgaard @ 2014-04-11 22:39 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
> Dear Peter Korsgaard,
> On Fri, 11 Apr 2014 20:57:27 +0200, Peter Korsgaard wrote:
>> +ifeq ($(BR2_PACKAGE_PYTHON),y)
>> +KMOD_DEPENDENCIES += python
>> +KMOD_CONF_OPT += --enable-python
>> +endif
> What about Python 3 compatibility?
I wasn't sure, so I kept it safe for now. I'll do a test build to check.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Buildroot] [git commit] kmod: bump version
@ 2014-06-19 15:50 Peter Korsgaard
0 siblings, 0 replies; 15+ messages in thread
From: Peter Korsgaard @ 2014-06-19 15:50 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=c85db1ed49ee102ceefa6273c833c3b61104e5b6
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/kmod/kmod.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/kmod/kmod.mk b/package/kmod/kmod.mk
index 7cc2d65..a60b4c0 100644
--- a/package/kmod/kmod.mk
+++ b/package/kmod/kmod.mk
@@ -4,7 +4,7 @@
#
################################################################################
-KMOD_VERSION = 17
+KMOD_VERSION = 18
KMOD_SOURCE = kmod-$(KMOD_VERSION).tar.xz
KMOD_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kmod/
KMOD_INSTALL_STAGING = YES
^ permalink raw reply related [flat|nested] 15+ messages in thread
end of thread, other threads:[~2014-06-19 15:50 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-11 18:57 [Buildroot] [git commit] kmod: bump version Peter Korsgaard
2014-04-11 22:21 ` Thomas Petazzoni
2014-04-11 22:39 ` Peter Korsgaard
-- strict thread matches above, loose matches on Subject: below --
2014-06-19 15:50 Peter Korsgaard
2013-07-03 19:40 Peter Korsgaard
2013-07-03 21:26 ` Thomas Petazzoni
2013-07-03 21:35 ` Peter Korsgaard
2013-07-03 21:49 ` Thomas Petazzoni
2013-07-03 21:51 ` Peter Korsgaard
2013-04-12 10:18 Peter Korsgaard
2012-12-15 21:19 Peter Korsgaard
2012-09-13 17:42 Peter Korsgaard
2012-03-22 10:57 Peter Korsgaard
2012-03-08 21:36 Peter Korsgaard
2012-01-19 11:25 Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox