forked from Imagelibrary/rtems
Added new autoconf test for i386 code16/code32 support. The guts of the
test were suggested by Ian Taylor <ian@airs.com> and Joel did the hard part of putting it in aclocal and editting all the offending Makefiles and source code which could use this feature.
This commit is contained in:
@@ -7,6 +7,7 @@ srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
RTEMS_ROOT = @top_srcdir@
|
||||
PROJECT_ROOT = @PROJECT_ROOT@
|
||||
RTEMS_GAS_CODE16 = @RTEMS_GAS_CODE16@
|
||||
|
||||
PGMS=${ARCH}/start.o
|
||||
|
||||
@@ -32,7 +33,9 @@ include $(RTEMS_ROOT)/make/leaf.cfg
|
||||
# (OPTIONAL) Add local stuff here using +=
|
||||
#
|
||||
|
||||
DEFINES +=
|
||||
ifeq ($(RTEMS_GAS_CODE16),yes)
|
||||
DEFINES += -DNEXT_GAS
|
||||
endif
|
||||
CPPFLAGS +=
|
||||
CFLAGS +=
|
||||
|
||||
|
||||
@@ -40,12 +40,9 @@ changes:
|
||||
#include "80386ex.inc"
|
||||
|
||||
/*
|
||||
* Needed for binutils 2.9.1.0.7 and higher
|
||||
* #define NEXT_GAS
|
||||
* NEXT_GAS Needed for binutils 2.9.1.0.7 and higher
|
||||
*/
|
||||
|
||||
#define NEXT_GAS
|
||||
|
||||
EXTERN (boot_card) /* exits to bspstart */
|
||||
EXTERN (stack_start) /* defined in startup/linkcmds */
|
||||
EXTERN (Clock_exit)
|
||||
|
||||
@@ -37,7 +37,7 @@ include $(RTEMS_ROOT)/make/leaf.cfg
|
||||
#
|
||||
|
||||
#DEFINES += -DPRINTON
|
||||
DEFINES += -I$(srcdir)
|
||||
DEFINES += -I$(srcdir)
|
||||
CPPFLAGS +=
|
||||
CFLAGS += -g
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
RTEMS_ROOT = @top_srcdir@
|
||||
PROJECT_ROOT = @PROJECT_ROOT@
|
||||
RTEMS_GAS_CODE16 = @RTEMS_GAS_CODE16@
|
||||
|
||||
PGMS=${ARCH}/start.o ${ARCH}/start16.bin
|
||||
|
||||
@@ -32,7 +33,9 @@ include $(RTEMS_ROOT)/make/leaf.cfg
|
||||
# (OPTIONAL) Add local stuff here using +=
|
||||
#
|
||||
|
||||
DEFINES +=
|
||||
ifeq ($(RTEMS_GAS_CODE16),yes)
|
||||
DEFINES += -DNEXT_GAS
|
||||
endif
|
||||
CPPFLAGS +=
|
||||
CFLAGS +=
|
||||
|
||||
|
||||
Reference in New Issue
Block a user