X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b5cb1795de1f0959de1e228bd2e784d1cea921a7..5d58e1d9222ac685d42238c3df3ed58c11bd11bf:/package/busybox/patches/000-autoconf.patch diff --git a/package/busybox/patches/000-autoconf.patch b/package/busybox/patches/000-autoconf.patch index a4ca20d2c..8cb7a4cc7 100644 --- a/package/busybox/patches/000-autoconf.patch +++ b/package/busybox/patches/000-autoconf.patch @@ -1,13 +1,18 @@ -Index: busybox-1.4.2/applets/Kbuild -=================================================================== ---- busybox-1.4.2.orig/applets/Kbuild 2007-06-04 13:21:32.429046704 +0200 -+++ busybox-1.4.2/applets/Kbuild 2007-06-04 13:21:32.495036672 +0200 -@@ -10,7 +10,7 @@ +--- a/applets/Kbuild ++++ b/applets/Kbuild +@@ -18,13 +18,13 @@ HOSTCFLAGS_usage.o = -I$(srctree)/includ - # Generated file needs additional love + applets/applets.o: include/usage_compressed.h include/applet_tables.h --applets/applets.o: include/usage_compressed.h -+applets/applets.o: include/usage_compressed.h include/autoconf.h +-applets/usage: .config $(srctree)/applets/usage_compressed ++applets/usage: .config $(srctree)/applets/usage_compressed include/autoconf.h + applets/applet_tables: .config - hostprogs-y += usage - always := $(hostprogs-y) + quiet_cmd_gen_usage_compressed = GEN include/usage_compressed.h + cmd_gen_usage_compressed = $(srctree)/applets/usage_compressed include/usage_compressed.h applets + +-include/usage_compressed.h: applets/usage $(srctree)/applets/usage_compressed ++include/usage_compressed.h: applets/usage $(srctree)/applets/usage_compressed include/autoconf.h + $(call cmd,gen_usage_compressed) + + quiet_cmd_gen_applet_tables = GEN include/applet_tables.h