[ifxos] (oops - second try) fixed autoconf detection for 2.6.33 kernel
[openwrt.git] / package / busybox / patches / 000-autoconf.patch
index a4ca20d..54f61c4 100644 (file)
@@ -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
+@@ -28,13 +28,13 @@ HOSTCFLAGS_usage_pod.o = -I$(srctree_sla
+ applets/applets.o: include/usage_compressed.h include/applet_tables.h
  
- # Generated file needs additional love
+ applets/applet_tables: .config $(srctree_slash)include/applets.h
+-applets/usage:         .config $(srctree_slash)include/applets.h
++applets/usage:         .config $(srctree_slash)include/applets.h include/autoconf.h
+ applets/usage_pod:     .config include/applet_tables.h $(srctree_slash)include/applets.h
  
--applets/applets.o: include/usage_compressed.h
-+applets/applets.o: include/usage_compressed.h include/autoconf.h
+ quiet_cmd_gen_usage_compressed = GEN     include/usage_compressed.h
+       cmd_gen_usage_compressed = $(srctree_slash)applets/usage_compressed include/usage_compressed.h applets
  
- hostprogs-y += usage
- always := $(hostprogs-y)
+-include/usage_compressed.h: applets/usage $(srctree_slash)applets/usage_compressed
++include/usage_compressed.h: applets/usage $(srctree_slash)applets/usage_compressed include/autoconf.h
+       $(call cmd,gen_usage_compressed)
+ quiet_cmd_gen_applet_tables = GEN     include/applet_tables.h
This page took 0.027514 seconds and 4 git commands to generate.