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:
parent
285c5708a2
commit
b1b72e8797
1
Jamrules
1
Jamrules
@ -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
1
configure
vendored
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user