Skip to content

Commit

Permalink
sane-backends: deliver 64-bit version
Browse files Browse the repository at this point in the history
  • Loading branch information
pyhalov committed Mar 12, 2020
1 parent 1145f6d commit a793b04
Show file tree
Hide file tree
Showing 3 changed files with 884 additions and 2 deletions.
8 changes: 7 additions & 1 deletion components/library/sane-backends/Makefile
Expand Up @@ -22,7 +22,8 @@
# Copyright (c) 2019, Michal Nowak
#

BUILD_BITS= 32
PREFERRED_BITS= 64
BUILD_BITS= 32_and_64

include ../../../make-rules/shared-macros.mk

Expand Down Expand Up @@ -50,13 +51,18 @@ CFLAGS += $(JPEG_CPPFLAGS) $(JPEG_CFLAGS)
CXXFLAGS += $(JPEG_CPPFLAGS) $(JPEG_CXXFLAGS)
LDFLAGS += $(JPEG_LDFLAGS)

SNMP_CONFIG_PATH.32 = /usr/bin/net-snmp-config
SNMP_CONFIG_PATH.64 = /usr/bin/$(MACH64)/net-snmp-config

CONFIGURE_OPTIONS += --sysconfdir=/etc
CONFIGURE_OPTIONS += --disable-locking
CONFIGURE_OPTIONS += --enable-pthread
CONFIGURE_OPTIONS += --with-gphoto2
CONFIGURE_OPTIONS += --with-usb
CONFIGURE_OPTIONS += --without-api-spec

CONFIGURE_ENV += SNMP_CONFIG_PATH="$(SNMP_CONFIG_PATH.$(BITS))"

COMPONENT_TEST_ENV += PATH="$(PATH.gnu)"

# Auto-generated dependencies
Expand Down

0 comments on commit a793b04

Please sign in to comment.