cli_monitor: build for RISC-V
This commit is contained in:
parent
11d242de85
commit
e367c99864
19
repos/os/src/app/cli_monitor/spec/riscv/gdb_prefix.h
Normal file
19
repos/os/src/app/cli_monitor/spec/riscv/gdb_prefix.h
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
/*
|
||||||
|
* \brief Prefix of the GDB binary
|
||||||
|
* \author Sebastian Sumpf
|
||||||
|
* \date 2016-02-16
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2016 Genode Labs GmbH
|
||||||
|
*
|
||||||
|
* This file is part of the Genode OS framework, which is distributed
|
||||||
|
* under the terms of the GNU General Public License version 2.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _APP__CLI_MONITOR__SPEC__RISCV__GDB_PREFIX_H_
|
||||||
|
#define _APP__CLI_MONITOR__SPEC__RISCV__GDB_PREFIX_H_
|
||||||
|
|
||||||
|
static const char *gdb_prefix = "genode-riscv-";
|
||||||
|
|
||||||
|
#endif /* _APP__CLI_MONITOR__SPEC__RISCV__GDB_PREFIX_H_ */
|
|
@ -5,8 +5,12 @@ INC_DIR += $(PRG_DIR)
|
||||||
|
|
||||||
ifeq ($(findstring arm, $(SPECS)), arm)
|
ifeq ($(findstring arm, $(SPECS)), arm)
|
||||||
INC_DIR += $(PRG_DIR)/spec/arm
|
INC_DIR += $(PRG_DIR)/spec/arm
|
||||||
else
|
endif
|
||||||
|
|
||||||
ifeq ($(findstring x86, $(SPECS)), x86)
|
ifeq ($(findstring x86, $(SPECS)), x86)
|
||||||
INC_DIR += $(PRG_DIR)/spec/x86
|
INC_DIR += $(PRG_DIR)/spec/x86
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(findstring riscv, $(SPECS)), riscv)
|
||||||
|
INC_DIR += $(PRG_DIR)/spec/riscv
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user