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:
Bruno G. Albuquerque 2002-09-28 01:37:00 +00:00
parent 285c5708a2
commit b1b72e8797
3 changed files with 3 additions and 1 deletions

View File

@ -90,6 +90,7 @@ if $(DEBUG) {
KERNEL_CCFLAGS ?= "-Wall -Wno-multichar -Wmissing-prototypes -finline -nostdinc" ;
KERNEL_CCFLAGS += "-fno-builtin -D$(OBOS_TARGET_DEFINE) " ;
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.
# This is need as some objects are used in a static library and for an

1
configure vendored
View File

@ -90,5 +90,6 @@ cat << EOF > BuildConfig
FLOPPY_PATH ?= "$floppy" ;
GCC_PATH ?= ${GCC_PATH} ;
BOCHS_E9_HACK ?= $bochs_debug ;
BOCHS_INPUT_HACK ?= $bochs_debug ;
EOF

View File

@ -16,7 +16,7 @@
#include <string.h>
//#define BOCHS_E9_HACK 0
#define BOCHS_INPUT_HACK 0
//#define BOCHS_INPUT_HACK 0
// Select between COM1 and COM2 for debug output
#define USE_COM1 1