From fbdfd1af632eae962e851331940e10da845dd388 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Sat, 2 May 2009 07:53:48 +0000 Subject: 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. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6556 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 7a2be68..19b9065 100644 --- a/Makefile +++ b/Makefile @@ -7,10 +7,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) else @@ -61,7 +57,7 @@ INST_HEADERS:=kernel.h user.h fasthdlc.h wctdm_user.h dahdi_config.h 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 -- cgit v1.2.3