autoscript: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user