From e47bffb106dca4698051c355f9be356aa749ba5b Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Mon, 6 Aug 2012 22:38:54 -0600 Subject: [PATCH] Imake.cf/linux.cf: Add arm support. Patch from IRC user wschaub. --- cde/config/cf/Imake.cf | 4 ++++ cde/config/cf/linux.cf | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/cde/config/cf/Imake.cf b/cde/config/cf/Imake.cf index a614fc6e..3c57d219 100644 --- a/cde/config/cf/Imake.cf +++ b/cde/config/cf/Imake.cf @@ -451,6 +451,10 @@ XCOMM $TOG: Imake.cf /main/30 1998/04/28 13:55:25 barstow $ # define AMD64Architecture # endif # endif +# if defined(__arm__) +# undef __arm__ +# define ARMArchitecture +# endif #endif /* linux */ #ifdef __uxp__ diff --git a/cde/config/cf/linux.cf b/cde/config/cf/linux.cf index ec691d4a..b0899bd7 100644 --- a/cde/config/cf/linux.cf +++ b/cde/config/cf/linux.cf @@ -135,6 +135,16 @@ XCOMM binutils: (LinuxBinUtilsMajorVersion) # endif #endif +#ifdef ARMArchitecture +#define LinuxMachineDefines -D__arm__ +#define LSBBitOrder YES + +#if UseElfFormat +#define HasPlugin YES +#define VendorHasX11R6_3libXext YES /* XC or XFree86 3.3.1 */ +#endif +#endif /* ARMArchitecture */ + #ifdef i386Architecture #define OptimizedCDebugFlags DefaultGcc2i386Opt #define LinuxMachineDefines -D__i386__ -- 2.25.1