Правила сборки для ЗОСРВ Нейтрино редакции 2020
This commit is contained in:
parent
76bd67f6e9
commit
a107bcf342
18
common.mk
Normal file
18
common.mk
Normal file
@ -0,0 +1,18 @@
|
||||
ifndef QCONFIG
|
||||
QCONFIG=qconfig.mk
|
||||
endif
|
||||
include $(QCONFIG)
|
||||
|
||||
CONFIGUREFLAGS += -C
|
||||
CONFIGUREFLAGS += --prefix=/usr
|
||||
#CONFIGUREFLAGS += --without-openssl
|
||||
#CONFIGUREFLAGS += --disable-shared
|
||||
CONFIGUREFLAGS += --with-openssl=$(USE_ROOT_$(OS))/usr
|
||||
|
||||
CCFLAGS += -Dstrndup=BUF_strndup
|
||||
|
||||
USEFILE=%1>%C --help
|
||||
USETARGET=$(DESTDIR)/usr/bin/iperf3
|
||||
|
||||
include $(MKFILES_ROOT)/autotools.mk
|
||||
include $(MKFILES_ROOT)/qtargets.mk
|
2
nto/Makefile
Normal file
2
nto/Makefile
Normal file
@ -0,0 +1,2 @@
|
||||
LIST=CPU
|
||||
include recurse.mk
|
2
nto/aarch64/Makefile
Normal file
2
nto/aarch64/Makefile
Normal file
@ -0,0 +1,2 @@
|
||||
LIST=VARIANT
|
||||
include recurse.mk
|
1
nto/aarch64/o.le/Makefile
Normal file
1
nto/aarch64/o.le/Makefile
Normal file
@ -0,0 +1 @@
|
||||
include ../../../common.mk
|
2
nto/arm/Makefile
Normal file
2
nto/arm/Makefile
Normal file
@ -0,0 +1,2 @@
|
||||
LIST=VARIANT
|
||||
include recurse.mk
|
1
nto/arm/o.le.v7/Makefile
Normal file
1
nto/arm/o.le.v7/Makefile
Normal file
@ -0,0 +1 @@
|
||||
include ../../../common.mk
|
1
nto/arm/o.le/Makefile
Normal file
1
nto/arm/o.le/Makefile
Normal file
@ -0,0 +1 @@
|
||||
include ../../../common.mk
|
2
nto/e2k/Makefile
Normal file
2
nto/e2k/Makefile
Normal file
@ -0,0 +1,2 @@
|
||||
LIST=VARIANT
|
||||
include recurse.mk
|
1
nto/e2k/o.le/Makefile
Normal file
1
nto/e2k/o.le/Makefile
Normal file
@ -0,0 +1 @@
|
||||
include ../../../common.mk
|
2
nto/mips/Makefile
Normal file
2
nto/mips/Makefile
Normal file
@ -0,0 +1,2 @@
|
||||
LIST=VARIANT
|
||||
include recurse.mk
|
1
nto/mips/o.be/Makefile
Normal file
1
nto/mips/o.be/Makefile
Normal file
@ -0,0 +1 @@
|
||||
include ../../../common.mk
|
1
nto/mips/o.le.mc/Makefile
Normal file
1
nto/mips/o.le.mc/Makefile
Normal file
@ -0,0 +1 @@
|
||||
include ../../../common.mk
|
1
nto/mips/o.le/Makefile
Normal file
1
nto/mips/o.le/Makefile
Normal file
@ -0,0 +1 @@
|
||||
include ../../../common.mk
|
2
nto/ppc/Makefile
Normal file
2
nto/ppc/Makefile
Normal file
@ -0,0 +1,2 @@
|
||||
LIST=VARIANT
|
||||
include recurse.mk
|
1
nto/ppc/o.be.spe/Makefile
Normal file
1
nto/ppc/o.be.spe/Makefile
Normal file
@ -0,0 +1 @@
|
||||
include ../../../common.mk
|
1
nto/ppc/o.be/Makefile
Normal file
1
nto/ppc/o.be/Makefile
Normal file
@ -0,0 +1 @@
|
||||
include ../../../common.mk
|
2
nto/x86/Makefile
Normal file
2
nto/x86/Makefile
Normal file
@ -0,0 +1,2 @@
|
||||
LIST=VARIANT
|
||||
include recurse.mk
|
1
nto/x86/o/Makefile
Normal file
1
nto/x86/o/Makefile
Normal file
@ -0,0 +1 @@
|
||||
include ../../../common.mk
|
@ -38,6 +38,10 @@
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __KPDANTO__
|
||||
#include "iperf_util.h"
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_SSL)
|
||||
|
||||
#include <openssl/rsa.h>
|
||||
|
@ -31,6 +31,9 @@
|
||||
#include "cjson.h"
|
||||
#include <sys/select.h>
|
||||
#include <stddef.h>
|
||||
#ifdef __KPDANTO__
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
|
||||
int readentropy(void *out, size_t outsize);
|
||||
|
||||
|
@ -135,6 +135,9 @@
|
||||
# define __LITTLE_ENDIAN LITTLE_ENDIAN
|
||||
# define __PDP_ENDIAN PDP_ENDIAN
|
||||
|
||||
#elif defined(__KPDANTO__)
|
||||
#include <net/netbyte.h>
|
||||
|
||||
#else
|
||||
|
||||
// Unsupported platforms.
|
||||
|
Loading…
Reference in New Issue
Block a user