[svn-commits] kpfleming: linux/trunk r6556 - /linux/trunk/Makefile

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sat May 2 02:53:52 CDT 2009


Author: kpfleming
Date: Sat May  2 02:53:48 2009
New Revision: 6556

URL: http://svn.digium.com/svn-view/dahdi?view=rev&rev=6556
Log:
Remove explicit passing of ARCH to kernel build system

There is no value in setting a value for ARCH and passing it to the kernel
build system; the configured kernel headers/sources already have an architecture
specified and can't be used for any other architecture anyway.


Modified:
    linux/trunk/Makefile

Modified: linux/trunk/Makefile
URL: http://svn.digium.com/svn-view/dahdi/linux/trunk/Makefile?view=diff&rev=6556&r1=6555&r2=6556
==============================================================================
--- linux/trunk/Makefile (original)
+++ linux/trunk/Makefile Sat May  2 02:53:48 2009
@@ -6,10 +6,6 @@
 #
 
 PWD:=$(shell pwd)
-
-ifndef ARCH
-ARCH:=$(shell uname -m | sed -e s/i.86/i386/)
-endif
 
 ifndef DEB_HOST_GNU_TYPE
 UNAME_M:=$(shell uname -m)
@@ -61,7 +57,7 @@
 
 DAHDI_BUILD_ALL:=m
 
-KMAKE=$(MAKE) -C $(KSRC) ARCH=$(ARCH) SUBDIRS=$(PWD)/drivers/dahdi DAHDI_INCLUDE=$(PWD)/include DAHDI_MODULES_EXTRA="$(DAHDI_MODULES_EXTRA)" HOTPLUG_FIRMWARE=$(HOTPLUG_FIRMWARE)
+KMAKE=$(MAKE) -C $(KSRC) SUBDIRS=$(PWD)/drivers/dahdi DAHDI_INCLUDE=$(PWD)/include DAHDI_MODULES_EXTRA="$(DAHDI_MODULES_EXTRA)" HOTPLUG_FIRMWARE=$(HOTPLUG_FIRMWARE)
 
 ifneq (,$(wildcard $(DESTDIR)/etc/udev/rules.d))
   DYNFS:=yes




More information about the svn-commits mailing list