summaryrefslogtreecommitdiff
path: root/alpine.mk
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-04-13 14:42:01 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-04-13 14:42:01 +0000
commit236620ca8d62618161e3c255cf008bdee30960d0 (patch)
treef0328a5fef41a19a587ffea976f7e9cc7bef2eb6 /alpine.mk
parent4044b7873a929ff0fb0ee902042e75acd10587d4 (diff)
downloadabuild-236620ca8d62618161e3c255cf008bdee30960d0.tar.gz
abuild-236620ca8d62618161e3c255cf008bdee30960d0.tar.bz2
abuild-236620ca8d62618161e3c255cf008bdee30960d0.tar.xz
abuild-236620ca8d62618161e3c255cf008bdee30960d0.zip
alpine.mk: include dahdilinux on the modloop
set default packages dir to ~/packages
Diffstat (limited to 'alpine.mk')
-rwxr-xr-xalpine.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/alpine.mk b/alpine.mk
index bbc0247..b3f8c31 100755
--- a/alpine.mk
+++ b/alpine.mk
@@ -18,7 +18,7 @@ APKDIRS ?= $(REPOS_DIR)/*/
ISO ?= $(ALPINE_NAME)-$(ALPINE_RELEASE)-$(ALPINE_ARCH).iso
ISO_LINK ?= $(ALPINE_NAME).iso
ISO_DIR := $(DESTDIR)/isofs
-REPOS_DIR ?= /var/lib/packages
+REPOS_DIR ?= $(HOME)/packages
# limitations for find_apk:
# can not be a subpackage
@@ -34,7 +34,8 @@ KERNEL_APK := $(call find_apk,$(KERNEL_PKGNAME))
MODULE_APK := $(subst /$(KERNEL_PKGNAME)-,/$(KERNEL_PKGNAME)-mod-,$(KERNEL_APK))
XTABLES_ADDONS_APK:= $(subst xtables-addons,xtables-addons-$(KERNEL_FLAVOR),$(call find_apk,xtables-addons))
-MOD_APKS := $(MODULE_APK) $(XTABLES_ADDONS_APK)
+DAHDI_LINUX_APK:= $(subst dahdi-linux,dahdi-linux-$(KERNEL_FLAVOR),$(call find_apk,dahdi-linux))
+MOD_APKS := $(MODULE_APK) $(XTABLES_ADDONS_APK) $(DAHDI_LINUX_APK)
KERNEL := $(word 3,$(subst -, ,$(notdir $(KERNEL_APK))))-$(word 2,$(subst -, ,$(notdir $(KERNEL_APK))))