autoscript: Move conditional compilation to Makefile

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD
2008-08-29 21:53:37 +02:00
parent bbf52df9aa
commit 81789c39db
2 changed files with 2 additions and 5 deletions

View File

@@ -47,8 +47,6 @@
#include <hush.h>
#endif
#if defined(CONFIG_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)
int
autoscript (ulong addr, const char *fit_uname)
{
@@ -200,8 +198,6 @@ autoscript (ulong addr, const char *fit_uname)
return rcode;
}
#endif
/**************************************************/
#if defined(CONFIG_CMD_AUTOSCRIPT)
int