From 62359e11f78d30b7b23634f4d9cb1465636e13df Mon Sep 17 00:00:00 2001 From: James Duley Date: Sun, 8 Nov 2015 20:44:22 +0000 Subject: [PATCH] LP-176 allow override the linux package type by setting PKG_TYPE --- package/Linux.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/Linux.mk b/package/Linux.mk index 42fef4f97..399490d44 100644 --- a/package/Linux.mk +++ b/package/Linux.mk @@ -16,15 +16,17 @@ s,,$(GITWEB_URL),g; \ # Are we using a debian based distro? ifneq ($(wildcard /etc/apt/sources.list),) - include $(ROOT_DIR)/package/linux/deb.mk + PKG_TYPE := deb # Are we using a rpm based distro? else ifneq ($(wildcard /etc/yum.repos.d/*),) - include $(ROOT_DIR)/package/linux/rpm.mk + PKG_TYPE := rpm # Are we using an Arch based distro? else ifneq ($(wildcard /etc/pacman.conf),) $(info TODO: built in arch package) endif +-include $(ROOT_DIR)/package/linux/$(PKG_TYPE).mk + ############################## # # Install Linux Target