X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2FmISDN;h=c73f5196b12358a60b11c7acae2060084a24b5b8;hb=24acfa146b8665f29d3ab3d027a561763a508444;hp=7ea0c67a1bc5026c198c86ea0d8ea46f241d5ffd;hpb=7b321c2cbe910caeb0d5887cc4f4dc15836dd473;p=people%2Fteissler%2Fipfire-2.x.git diff --git a/lfs/mISDN b/lfs/mISDN index 7ea0c67a1..c73f5196b 100644 --- a/lfs/mISDN +++ b/lfs/mISDN @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2010 IPFire Team # +# Copyright (C) 2007-2011 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,15 +24,7 @@ include Config -ifeq "$(PAE)" "1" - VERSUFIX=ipfire-pae -else -ifeq "$(XEN)" "1" - VERSUFIX=ipfire-xen -else - VERSUFIX=ipfire -endif -endif +VERSUFIX=ipfire$(KCFG) VER = 20100525 @@ -41,7 +33,6 @@ DL_FILE = $(THISAPP).tar.gz DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP)-kmod-$(KVER)-$(VERSUFIX) -SUP_ARCH = i586 ############################################################################### # Top-level Rules @@ -83,6 +74,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @rm -rf $(DIR_SRC)/mISDN* && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) cd $(DIR_SRC)/mISDN && patch -Np1 < $(DIR_SRC)/src/patches/mISDN-hfcusb-reportl1down.patch cd $(DIR_SRC)/mISDN && patch -Np1 < $(DIR_SRC)/src/patches/mISDN_hfc-s_add_id.patch +ifeq "$(MACHINE_TYPE)" "arm" + # Remove unsupported timestampcounter on arm. the result seems to be unused + cd $(DIR_SRC)/mISDN && sed -i -e "s|rdtscl(pChan->ulTimestampIn);||g" drivers/isdn/mISDN/octvqe/octvqe_linux.c +endif cd $(DIR_SRC)/mISDN && ./configure --with-kerneldir=/usr/src/linux cd $(DIR_SRC)/mISDN && make KVERS=$(KVER)-$(VERSUFIX) modules cd $(DIR_SRC)/mISDN && make KVERS=$(KVER)-$(VERSUFIX) \