From: Peter Korsgaard Date: Wed, 27 Sep 2006 18:17:31 +0000 (-0000) Subject: make 3.80 doesn't understand 'else ifeq(..)' X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9406462fed8a2cef90635c72dcc2d484862379e9;p=buildroot.git make 3.80 doesn't understand 'else ifeq(..)' Reported by Jeff Rhyason. --- diff --git a/package/xorg/xorg.mk b/package/xorg/xorg.mk index 15a5907967..34a39e2626 100644 --- a/package/xorg/xorg.mk +++ b/package/xorg/xorg.mk @@ -51,21 +51,29 @@ endif # figure out Xorg's idea of corresponding architecture name ifeq ($(BR2_alpha),y) XARCH=Alpha -else ifeq ($(BR2_arm),y) +endif +ifeq ($(BR2_arm),y) XARCH=Arm32 -else ifeq ($(BR2_armeb),y) +endif +ifeq ($(BR2_armeb),y) XARCH=Arm32 -else ifeq ($(BR2_i386),y) +endif +ifeq ($(BR2_i386),y) XARCH=i386A -else ifeq ($(BR2_mips),y) +endif +ifeq ($(BR2_mips),y) XARCH=Mips -else ifeq ($(BR2_mipsel),y) +endif +ifeq ($(BR2_mipsel),y) XARCH=Mips -else ifeq ($(BR2_powerpc),y) +endif +ifeq ($(BR2_powerpc),y) XARCH=Ppc -else ifeq ($(BR2_sparc),y) +endif +ifeq ($(BR2_sparc),y) XARCH=Sparc -else ifeq ($(BR2_x86_64),y) +endif +ifeq ($(BR2_x86_64),y) XARCH=AMD64 endif