summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2009-05-02 07:53:48 +0000
committerKevin P. Fleming <kpfleming@digium.com>2009-05-02 07:53:48 +0000
commitfbdfd1af632eae962e851331940e10da845dd388 (patch)
tree1726f1e9ed6cf5259cadd755e91b97c241c7b6c0 /Makefile
parentcd7190a5433efea420139917d9e47aeb93689a93 (diff)
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 1 insertions, 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