Enhance 64-bit architecture detection for slmodem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

  I added a patch for slmodem to enhance 64-bit arch detection in 
  drivers/Makefile.


-- 
 ‎أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
 GPG KeyID: 0xEDDDA1B7
 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8  B176 BC19 6A94 EDDD A1B7
Description: Better arch detection logic
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@xxxxxxxxxx>
Bug-Debian: http://bugs.debian.org/651780
Forwarded: yes
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -28,7 +28,11 @@
 
 EXTRA_CFLAGS = -I$(obj) -I$(obj)/../modem $(FOUND_CLASS_SIMPLE)
 
+ifdef CONFIG_X86_32
+ARCH64:=0
+else
 ARCH64:=$(shell uname -m | sed -e '/amd64/s//x86_64/' | grep -c x86_64)
+endif
 
 ifeq ($(ARCH64), 0)
 obj-m:= slamr.o 

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux