Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

depends: cleanup packages.mk #9645

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 23 additions & 17 deletions contrib/depends/packages/packages.mk
Original file line number Diff line number Diff line change
@@ -1,28 +1,34 @@
packages:=boost openssl zeromq expat unbound sodium
native_packages := native_protobuf
packages := boost openssl zeromq expat unbound sodium protobuf

hardware_packages := hidapi protobuf libusb
hardware_native_packages := native_protobuf

android_native_packages = android_ndk $(hardware_native_packages)
android_packages = ncurses readline protobuf

darwin_native_packages = $(hardware_native_packages)
darwin_packages = ncurses readline $(hardware_packages)
ifneq ($(host_os),android)
packages += libusb
endif

# not really native...
freebsd_native_packages = freebsd_base $(hardware_native_packages)
freebsd_packages = ncurses readline protobuf libusb
ifneq ($(host_os),freebsd)
ifneq ($(host_os),android)
packages += hidapi
endif
endif

linux_packages = eudev ncurses readline $(hardware_packages)
linux_native_packages = $(hardware_native_packages)
ifneq ($(host_os),mingw32)
packages += ncurses readline
endif

ifeq ($(build_tests),ON)
packages += gtest
endif

mingw32_packages = $(hardware_packages)
mingw32_native_packages = $(hardware_native_packages)
linux_native_packages :=
linux_packages := eudev

freebsd_native_packages := freebsd_base
freebsd_packages :=

ifneq ($(build_os),darwin)
darwin_native_packages += darwin_sdk native_cctools native_libtapi
darwin_native_packages := darwin_sdk native_cctools native_libtapi
endif
darwin_packages :=

android_native_packages := android_ndk
android_packages :=
Loading