move all of the references to app/console to lib/console
This commit is contained in:
@@ -191,8 +191,8 @@ static void validate_memset(void)
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(WITH_APP_CONSOLE)
|
||||
#include <app/console.h>
|
||||
#if defined(WITH_LIB_CONSOLE)
|
||||
#include <lib/console.h>
|
||||
|
||||
static int string_tests(int argc, cmd_args *argv)
|
||||
{
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
#include <app/tests.h>
|
||||
#include <compiler.h>
|
||||
|
||||
#if defined(WITH_APP_CONSOLE)
|
||||
#include <app/console.h>
|
||||
#if defined(WITH_LIB_CONSOLE)
|
||||
#include <lib/console.h>
|
||||
|
||||
STATIC_COMMAND_START
|
||||
{ "printf_tests", NULL, (console_cmd)&printf_tests },
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
#include <kernel/timer.h>
|
||||
#include <platform.h>
|
||||
|
||||
#if defined(WITH_APP_CONSOLE)
|
||||
#include <app/console.h>
|
||||
#if defined(WITH_LIB_CONSOLE)
|
||||
#include <lib/console.h>
|
||||
|
||||
static int cmd_threads(int argc, const cmd_args *argv);
|
||||
static int cmd_threadstats(int argc, const cmd_args *argv);
|
||||
|
||||
@@ -132,8 +132,8 @@ void hexdump8(const void *ptr, size_t len)
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef WITH_APP_CONSOLE
|
||||
#include <app/console.h>
|
||||
#ifdef WITH_LIB_CONSOLE
|
||||
#include <lib/console.h>
|
||||
|
||||
static int cmd_display_mem(int argc, const cmd_args *argv);
|
||||
static int cmd_modify_mem(int argc, const cmd_args *argv);
|
||||
|
||||
@@ -348,9 +348,9 @@ void heap_init(void)
|
||||
}
|
||||
|
||||
#if DEBUGLEVEL > 1
|
||||
#if WITH_APP_CONSOLE
|
||||
#if WITH_LIB_CONSOLE
|
||||
|
||||
#include <app/console.h>
|
||||
#include <lib/console.h>
|
||||
|
||||
static int cmd_heap(int argc, const cmd_args *argv);
|
||||
|
||||
|
||||
@@ -266,9 +266,9 @@ void i2c_init(void)
|
||||
{
|
||||
}
|
||||
|
||||
#if WITH_APP_CONSOLE
|
||||
#if WITH_LIB_CONSOLE
|
||||
|
||||
#include <app/console.h>
|
||||
#include <lib/console.h>
|
||||
|
||||
static int cmd_i2c(int argc, const cmd_args *argv);
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
#include <app/tests.h>
|
||||
#include <app/console.h>
|
||||
#include <lib/console.h>
|
||||
|
||||
void project_init(void)
|
||||
{
|
||||
|
||||
@@ -5,7 +5,7 @@ LOCAL_DIR := $(GET_LOCAL_DIR)
|
||||
TARGET := armemu
|
||||
MODULES += \
|
||||
app/tests \
|
||||
app/console
|
||||
lib/console
|
||||
|
||||
OBJS += \
|
||||
$(LOCAL_DIR)/init.o
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
*/
|
||||
#include <debug.h>
|
||||
#include <arch/arm.h>
|
||||
#include <app/console.h>
|
||||
#include <lib/console.h>
|
||||
#include <app/tests.h>
|
||||
#include <dev/usb.h>
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@ TARGET := beagle
|
||||
|
||||
MODULES += \
|
||||
app/tests \
|
||||
app/console \
|
||||
app/stringtests
|
||||
app/stringtests \
|
||||
lib/console
|
||||
|
||||
OBJS += \
|
||||
$(LOCAL_DIR)/init.o
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
*/
|
||||
#include <debug.h>
|
||||
#include <arch/arm.h>
|
||||
#include <app/console.h>
|
||||
#include <lib/console.h>
|
||||
#include <app/tests.h>
|
||||
|
||||
extern int string_tests(void);
|
||||
|
||||
@@ -5,7 +5,7 @@ LOCAL_DIR := $(GET_LOCAL_DIR)
|
||||
TARGET := osk5912
|
||||
MODULES += \
|
||||
app/tests \
|
||||
app/console
|
||||
lib/console
|
||||
|
||||
OBJS += \
|
||||
$(LOCAL_DIR)/init.o
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
#include <debug.h>
|
||||
#include <arch/arm.h>
|
||||
#include <app/console.h>
|
||||
#include <lib/console.h>
|
||||
#include <app/tests.h>
|
||||
|
||||
extern int string_tests(void);
|
||||
|
||||
@@ -10,7 +10,7 @@ endif
|
||||
|
||||
MODULES += \
|
||||
app/tests \
|
||||
app/console
|
||||
lib/console
|
||||
|
||||
OBJS += \
|
||||
$(LOCAL_DIR)/init.o
|
||||
|
||||
Reference in New Issue
Block a user