cli_monitor: build for RISC-V

This commit is contained in:
Sebastian Sumpf 2016-02-16 16:44:55 +01:00 committed by Christian Helmuth
parent 11d242de85
commit e367c99864
2 changed files with 24 additions and 1 deletions

View 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_ */

View File

@ -5,8 +5,12 @@ INC_DIR += $(PRG_DIR)
ifeq ($(findstring arm, $(SPECS)), arm)
INC_DIR += $(PRG_DIR)/spec/arm
else
endif
ifeq ($(findstring x86, $(SPECS)), x86)
INC_DIR += $(PRG_DIR)/spec/x86
endif
ifeq ($(findstring riscv, $(SPECS)), riscv)
INC_DIR += $(PRG_DIR)/spec/riscv
endif