mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-19 04:52:12 +01:00
Merged in james-duley/librepilot/LP-176_allow_override_of_linux_pkg_type (pull request #119)
LP-176 allow override the linux package type
This commit is contained in:
commit
e0861c47c0
@ -16,15 +16,17 @@ s,<GITWEB_URL>,$(GITWEB_URL),g; \
|
|||||||
|
|
||||||
# Are we using a debian based distro?
|
# Are we using a debian based distro?
|
||||||
ifneq ($(wildcard /etc/apt/sources.list),)
|
ifneq ($(wildcard /etc/apt/sources.list),)
|
||||||
include $(ROOT_DIR)/package/linux/deb.mk
|
PKG_TYPE := deb
|
||||||
# Are we using a rpm based distro?
|
# Are we using a rpm based distro?
|
||||||
else ifneq ($(wildcard /etc/yum.repos.d/*),)
|
else ifneq ($(wildcard /etc/yum.repos.d/*),)
|
||||||
include $(ROOT_DIR)/package/linux/rpm.mk
|
PKG_TYPE := rpm
|
||||||
# Are we using an Arch based distro?
|
# Are we using an Arch based distro?
|
||||||
else ifneq ($(wildcard /etc/pacman.conf),)
|
else ifneq ($(wildcard /etc/pacman.conf),)
|
||||||
$(info TODO: built in arch package)
|
$(info TODO: built in arch package)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
-include $(ROOT_DIR)/package/linux/$(PKG_TYPE).mk
|
||||||
|
|
||||||
##############################
|
##############################
|
||||||
#
|
#
|
||||||
# Install Linux Target
|
# Install Linux Target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user