X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/898721c9e0100e4144ac189b02ea90b2e3721c8b..ccf3bdc4a6309f23aa80e643b4b4c734ab4100ca:/package/busybox/patches/000-autoconf.patch?ds=inline diff --git a/package/busybox/patches/000-autoconf.patch b/package/busybox/patches/000-autoconf.patch index 038d240c8..8cb7a4cc7 100644 --- a/package/busybox/patches/000-autoconf.patch +++ b/package/busybox/patches/000-autoconf.patch @@ -1,12 +1,18 @@ -diff -ur busybox.old/applets/Kbuild busybox.dev/applets/Kbuild ---- busybox.old/applets/Kbuild 2007-04-25 15:25:30.000000000 -0700 -+++ busybox.dev/applets/Kbuild 2007-04-25 15:25:11.000000000 -0700 -@@ -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