This allows the instruction selector to be unified across sub-arches. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> --- Makefile | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile index 222da4e..23e766b 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,7 @@ ifeq ($(ARCH),i386) override ARCH = x86 ARCH_POSTFIX = _32 WARNINGS += -Werror +MB_DEFINES += -DCONFIG_X86_32 ifeq ($(BUILD_ARCH),x86_64) ARCH_CFLAGS += -m32 TEST = test @@ -29,11 +30,13 @@ endif ifeq ($(ARCH),x86_64) override ARCH = x86 ARCH_POSTFIX = _64 +MB_DEFINES += -DCONFIG_X86_64 endif ifeq ($(ARCH),ppc) override ARCH = ppc ARCH_POSTFIX = _32 +MB_DEFINES += -DCONFIG_PPC endif export ARCH_CFLAGS @@ -200,7 +203,7 @@ monoburg: arch/$(ARCH)/insn-selector.c: monoburg FORCE $(E) " MONOBURG" $@ - $(Q) $(MONOBURG) -p -e $(@:.c=.brg) > $@ + $(Q) $(MONOBURG) -p -e $(MB_DEFINES) $(@:.c=.brg) > $@ $(PROGRAM): monoburg $(CLASSPATH_CONFIG) compile $(RUNTIME_CLASSES) $(E) " LD " $@ -- 1.6.0.6 ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Jatovm-devel mailing list Jatovm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jatovm-devel