summaryrefslogtreecommitdiffstats
path: root/core/busybox/busybox-1.13.2-depmod2.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-02-26 20:12:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-02-26 20:17:59 +0000
commit3db01d8fa384f13dab3b9b3a3efe97acf95f10e8 (patch)
tree12f28efaf34d73a72c9e53b99ba3e65e2049ad6e /core/busybox/busybox-1.13.2-depmod2.patch
parent4d5f0eae414bff6782179fbe71cbb0c163742356 (diff)
downloadaports-3db01d8fa384f13dab3b9b3a3efe97acf95f10e8.tar.bz2
aports-3db01d8fa384f13dab3b9b3a3efe97acf95f10e8.tar.xz
core/busybox: support for depmod -r
so we can build linux kernel
Diffstat (limited to 'core/busybox/busybox-1.13.2-depmod2.patch')
-rw-r--r--core/busybox/busybox-1.13.2-depmod2.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/core/busybox/busybox-1.13.2-depmod2.patch b/core/busybox/busybox-1.13.2-depmod2.patch
new file mode 100644
index 00000000..8261fc88
--- /dev/null
+++ b/core/busybox/busybox-1.13.2-depmod2.patch
@@ -0,0 +1,21 @@
+--- busybox-1.13.2/modutils/depmod.c.orig 2009-02-25 11:54:02.000000000 +0000
++++ busybox-1.13.2/modutils/depmod.c 2009-02-25 11:57:33.000000000 +0000
+@@ -36,7 +36,8 @@
+ ARG_b = (1<<2), /* base directory when modules are in staging area */
+ ARG_e = (1<<3), /* with -F, print unresolved symbols */
+ ARG_F = (1<<4), /* System.map that contains the symbols */
+- ARG_n = (1<<5) /* dry-run, print to stdout only */
++ ARG_n = (1<<5), /* dry-run, print to stdout only */
++ ARG_r = (1<<6) /* Compat dummy. Linux Makefile uses it */
+ };
+
+ static int FAST_FUNC parse_module(const char *fname, struct stat *sb,
+@@ -138,7 +139,7 @@
+ struct utsname uts;
+ int tmp;
+
+- getopt32(argv, "aAb:eF:n", &moddir_base, NULL);
++ getopt32(argv, "aAb:eF:nr", &moddir_base, NULL);
+ argv += optind;
+
+ /* goto modules location */