###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
+# Copyright (C) 2007-2011 IPFire Team <info@ipfire.org> #
# #
# 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 #
include Config
-ifeq "$(XEN)" "1"
- VERSUFIX=ipfire-xen
-else
- VERSUFIX=ipfire
-endif
+VERSUFIX=ipfire$(KCFG)
-VER = 2.2.0.2
-TVER = 2.2.0
+VER = 2.2.1
+TVER = 2.2.1
-DL_FILE = dahdi-linux-$(VER)-with-vpmadt032-1.17.0.tar.gz
+DL_FILE = dahdi-linux-$(VER).tar.gz
DL_FILE1 = dahdi-tools-$(TVER).tar.gz
THISAPP = dahdi-$(VER)
DIR_APP1 = $(DIR_SRC)/dahdi-tools-$(TVER)
PROG = dahdi
-PAK_VER = 1
+PAK_VER = 2
DEPS = ""
# Top-level Rules
###############################################################################
-objects = $(DL_FILE) $(DL_FILE1)
+objects = $(DL_FILE) $(DL_FILE1) dahdi-linux-2.2.1-firmware.tar.bz2
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE1) = $(DL_FROM)/$(DL_FILE1)
+dahdi-linux-2.2.1-firmware.tar.bz2 = $(DL_FROM)/dahdi-linux-2.2.1-firmware.tar.bz2
+
+$(DL_FILE)_MD5 = 46e4abbe743830045364fc716d293e88
+$(DL_FILE1)_MD5 = 04e7097929851f744f777400125180db
+dahdi-linux-2.2.1-firmware.tar.bz2_MD5 = ccc50ded1641cd619e8d3a4615a6ad19
-$(DL_FILE)_MD5 = 5cbabd47cf780305e2cba6ccec42c754
-$(DL_FILE1)_MD5 = a018f452f3851a312ff51705ac44de37
install : $(TARGET)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
-ifeq "$(KMOD)" "1"
rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+ cd $(DIR_SRC) && tar jxf $(DIR_DL)/dahdi-linux-2.2.1-firmware.tar.bz2
cd $(DIR_APP) && make $(MAKETUNING) clean all KVERS=$(KVER)
+
+ifeq "$(KMOD)" "1"
cd $(DIR_APP) && make install-modules KVERS=$(KVER)-$(VERSUFIX)
@rm -rf $(DIR_APP)
else
- rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && make $(MAKETUNING) clean all KVERS=$(KVER)
cd $(DIR_APP) && make install-devices install-include \
install-firmware install-xpp-firm KVERS=$(KVER)-$(VERSUFIX)
@rm -rf $(DIR_APP)