summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/module-init-tools/files/no-static-binaries.patch
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:14:24 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:29:45 +0100
commit29d6678fd546377459ef75cf54abeef5b969b5cf (patch)
tree8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-kernel/module-init-tools/files/no-static-binaries.patch
parentda49de6885ee1bc424e70bc02f21f6ab920efb55 (diff)
downloadpoky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-kernel/module-init-tools/files/no-static-binaries.patch')
-rw-r--r--meta/recipes-kernel/module-init-tools/files/no-static-binaries.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-kernel/module-init-tools/files/no-static-binaries.patch b/meta/recipes-kernel/module-init-tools/files/no-static-binaries.patch
new file mode 100644
index 0000000000..ca83ec0755
--- /dev/null
+++ b/meta/recipes-kernel/module-init-tools/files/no-static-binaries.patch
@@ -0,0 +1,23 @@
1# Building a native, statically-linked insmod can result in ld failing because
2# it can't find a static libc. A native, static insmod is unnecessary anyway,
3# so this patch just removes it.
4#
5# - jdike@linux.intel.com
6#
7# Change to a simpler method by just disabling static link flag, since even
8# removing those lines don't prevent insmod.static from compile
9#
10# by Kevin Tian <kevin.tian@intel.com>, 2010-07-21
11
12Index: module-init-tools-3.2.2/Makefile.am
13===================================================================
14--- module-init-tools-3.2.2.orig/Makefile.am 2010-05-26 15:43:16.000000000 -0400
15+++ module-init-tools-3.2.2/Makefile.am 2010-05-26 16:04:06.232990785 -0400
16@@ -10,7 +10,6 @@
17 modindex_SOURCES = modindex.c zlibsupport.c zlibsupport.h testing.h
18
19 insmod_static_SOURCES = insmod.c
20-insmod_static_LDFLAGS = -static
21 # We don't want the $(zlib_flags) here: that makes a dynamic executable
22 insmod_static_LDADD = libmodtools.a
23