comparing $(ARCH) vs i.e. i386 isn't going to work when ARCH=i486 etc.

Need to instead compare vs BR2_i386 and friends.
This commit is contained in:
Eric Andersen 2006-08-10 20:58:14 +00:00
parent 28e220f7a0
commit 5cd18319f8
1 changed files with 6 additions and 6 deletions

View File

@ -18,22 +18,22 @@ SANDBOX_CAT:=$(PORTAGE_CAT)
SANDBOX_DIR:=$(BUILD_DIR)/sandbox-$(SANDBOX_VERSION) SANDBOX_DIR:=$(BUILD_DIR)/sandbox-$(SANDBOX_VERSION)
SANDBOX_TARGET_BINARY:=usr/bin/sandbox SANDBOX_TARGET_BINARY:=usr/bin/sandbox
ifeq ($(ARCH),cris) ifeq ($(BR2_cris),y)
PORTAGE_ARCH:=x86 PORTAGE_ARCH:=x86
endif endif
ifeq ($(ARCH), mipsel) ifeq ($(BR2_mipsel),y)
PORTAGE_ARCH:=mips PORTAGE_ARCH:=mips
endif endif
ifeq ($(ARCH), powerpc) ifeq ($(BR2_powerpc),y)
PORTAGE_ARCH:=ppc PORTAGE_ARCH:=ppc
endif endif
ifeq ($(ARCH),sh4) ifeq ($(BR2_sh4),y)
PORTAGE_ARCH:=sh PORTAGE_ARCH:=sh
endif endif
ifeq ($(ARCH),sh64) ifeq ($(BR2_sh64),y)
PORTAGE_ARCH:=sh PORTAGE_ARCH:=sh
endif endif
ifeq ($(ARCH), i386) ifeq ($(BR2_i386),y)
PORTAGE_ARCH:=x86 PORTAGE_ARCH:=x86
endif endif
ifeq ($(PORTAGE_ARCH),) ifeq ($(PORTAGE_ARCH),)