Automatically add the Bochs keyboard hack when --bochs-debug is used in the configure script.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1221 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -90,6 +90,7 @@ if $(DEBUG) {
|
|||||||
KERNEL_CCFLAGS ?= "-Wall -Wno-multichar -Wmissing-prototypes -finline -nostdinc" ;
|
KERNEL_CCFLAGS ?= "-Wall -Wno-multichar -Wmissing-prototypes -finline -nostdinc" ;
|
||||||
KERNEL_CCFLAGS += "-fno-builtin -D$(OBOS_TARGET_DEFINE) " ;
|
KERNEL_CCFLAGS += "-fno-builtin -D$(OBOS_TARGET_DEFINE) " ;
|
||||||
KERNEL_CCFLAGS += "-DBOCHS_E9_HACK=$(BOCHS_E9_HACK) " ;
|
KERNEL_CCFLAGS += "-DBOCHS_E9_HACK=$(BOCHS_E9_HACK) " ;
|
||||||
|
KERNEL_CCFLAGS += "-DBOCHS_INPUT_HACK=$(BOCHS_INPUT_HACK) " ;
|
||||||
|
|
||||||
# Instructs the Library rule to not make its object files temporary.
|
# Instructs the Library rule to not make its object files temporary.
|
||||||
# This is need as some objects are used in a static library and for an
|
# This is need as some objects are used in a static library and for an
|
||||||
|
|||||||
@@ -90,5 +90,6 @@ cat << EOF > BuildConfig
|
|||||||
FLOPPY_PATH ?= "$floppy" ;
|
FLOPPY_PATH ?= "$floppy" ;
|
||||||
GCC_PATH ?= ${GCC_PATH} ;
|
GCC_PATH ?= ${GCC_PATH} ;
|
||||||
BOCHS_E9_HACK ?= $bochs_debug ;
|
BOCHS_E9_HACK ?= $bochs_debug ;
|
||||||
|
BOCHS_INPUT_HACK ?= $bochs_debug ;
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
//#define BOCHS_E9_HACK 0
|
//#define BOCHS_E9_HACK 0
|
||||||
#define BOCHS_INPUT_HACK 0
|
//#define BOCHS_INPUT_HACK 0
|
||||||
|
|
||||||
// Select between COM1 and COM2 for debug output
|
// Select between COM1 and COM2 for debug output
|
||||||
#define USE_COM1 1
|
#define USE_COM1 1
|
||||||
|
|||||||
Reference in New Issue
Block a user