mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 07:57:43 +00:00
- pass the correct endian
This commit is contained in:
parent
d3f3d1c7ad
commit
20b3086e5f
@ -22,6 +22,12 @@ $(NETSNMP_DIR)/.unpacked: $(DL_DIR)/$(NETSNMP_SOURCE) $(DL_DIR)/$(NETSNMP_PATCH1
|
|||||||
toolchain/patch-kernel.sh $(NETSNMP_DIR) package/netsnmp/ netsnmp\*.patch
|
toolchain/patch-kernel.sh $(NETSNMP_DIR) package/netsnmp/ netsnmp\*.patch
|
||||||
touch $(NETSNMP_DIR)/.unpacked
|
touch $(NETSNMP_DIR)/.unpacked
|
||||||
|
|
||||||
|
ifeq ($(BR2_ENDIAN),"BIG")
|
||||||
|
NETSNMP_ENDIAN=big
|
||||||
|
else
|
||||||
|
NETSNMP_ENDIAN=little
|
||||||
|
endif
|
||||||
|
|
||||||
# We set CAN_USE_SYSCTL to no and use /proc since the
|
# We set CAN_USE_SYSCTL to no and use /proc since the
|
||||||
# sysctl code in this thing is apparently intended for
|
# sysctl code in this thing is apparently intended for
|
||||||
# freebsd or some such thing...
|
# freebsd or some such thing...
|
||||||
@ -37,7 +43,7 @@ $(NETSNMP_DIR)/.configured: $(NETSNMP_DIR)/.unpacked
|
|||||||
--target=$(GNU_TARGET_NAME) \
|
--target=$(GNU_TARGET_NAME) \
|
||||||
--host=$(GNU_TARGET_NAME) \
|
--host=$(GNU_TARGET_NAME) \
|
||||||
--build=$(GNU_HOST_NAME) \
|
--build=$(GNU_HOST_NAME) \
|
||||||
--with-endianness=little \
|
--with-endianness=$(NETSNMP_ENDIAN) \
|
||||||
--with-persistent-directory=/var/lib/snmp \
|
--with-persistent-directory=/var/lib/snmp \
|
||||||
--enable-ucd-snmp-compatibility \
|
--enable-ucd-snmp-compatibility \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user