aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-12-06 22:48:29 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-12-06 22:48:29 +0000
commit7ec755790c6cd6174549f7b2fb712e96f50f3355 (patch)
tree236676a875a198de738ff9031a2df054069ebfb8
parent3e518630f78a5267b0f062e072141317d273657e (diff)
downloadbusybox-w32-7ec755790c6cd6174549f7b2fb712e96f50f3355.tar.gz
busybox-w32-7ec755790c6cd6174549f7b2fb712e96f50f3355.tar.bz2
busybox-w32-7ec755790c6cd6174549f7b2fb712e96f50f3355.zip
Tito is using broken kernel headers that pollute the namespace with every
CONFIG_ symbol in the kernel, and this clashes with busybox's CONFIG_TR and CONFIG_WATCHDOG, causing applets.h to barf if they're not switched on (since the broken headers don't affect kconfig or the makefiles). Since such broken kernel headers are common enough to crop up every few months, a simple work around is to move TR and WATCHDOG from CONFIG_ to ENABLE_ early. git-svn-id: svn://busybox.net/trunk/busybox@12707 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--include/applets.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/applets.h b/include/applets.h
index ec3a892d0..79d18207e 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -673,7 +673,7 @@
673#ifdef CONFIG_TOUCH 673#ifdef CONFIG_TOUCH
674 APPLET(touch, touch_main, _BB_DIR_BIN, _BB_SUID_NEVER) 674 APPLET(touch, touch_main, _BB_DIR_BIN, _BB_SUID_NEVER)
675#endif 675#endif
676#ifdef CONFIG_TR 676#if ENABLE_TR
677 APPLET(tr, tr_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) 677 APPLET(tr, tr_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
678#endif 678#endif
679#ifdef CONFIG_TRACEROUTE 679#ifdef CONFIG_TRACEROUTE
@@ -736,7 +736,7 @@
736#ifdef CONFIG_WATCH 736#ifdef CONFIG_WATCH
737 APPLET(watch, watch_main, _BB_DIR_BIN, _BB_SUID_NEVER) 737 APPLET(watch, watch_main, _BB_DIR_BIN, _BB_SUID_NEVER)
738#endif 738#endif
739#ifdef CONFIG_WATCHDOG 739#if ENABLE_WATCHDOG
740 APPLET(watchdog, watchdog_main, _BB_DIR_SBIN, _BB_SUID_NEVER) 740 APPLET(watchdog, watchdog_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
741#endif 741#endif
742#ifdef CONFIG_WC 742#ifdef CONFIG_WC