Правила сборки для ЗОСРВ Нейтрино редакции 2020

This commit is contained in:
parent 76bd67f6e9
commit a107bcf342
22 changed files with 54 additions and 0 deletions

2
Makefile Normal file
View File

@ -0,0 +1,2 @@
LIST=OS
include recurse.mk

18
common.mk Normal file
View 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
View File

@ -0,0 +1,2 @@
LIST=CPU
include recurse.mk

2
nto/aarch64/Makefile Normal file
View File

@ -0,0 +1,2 @@
LIST=VARIANT
include recurse.mk

View File

@ -0,0 +1 @@
include ../../../common.mk

2
nto/arm/Makefile Normal file
View File

@ -0,0 +1,2 @@
LIST=VARIANT
include recurse.mk

1
nto/arm/o.le.v7/Makefile Normal file
View File

@ -0,0 +1 @@
include ../../../common.mk

1
nto/arm/o.le/Makefile Normal file
View File

@ -0,0 +1 @@
include ../../../common.mk

2
nto/e2k/Makefile Normal file
View File

@ -0,0 +1,2 @@
LIST=VARIANT
include recurse.mk

1
nto/e2k/o.le/Makefile Normal file
View File

@ -0,0 +1 @@
include ../../../common.mk

2
nto/mips/Makefile Normal file
View File

@ -0,0 +1,2 @@
LIST=VARIANT
include recurse.mk

1
nto/mips/o.be/Makefile Normal file
View File

@ -0,0 +1 @@
include ../../../common.mk

View File

@ -0,0 +1 @@
include ../../../common.mk

1
nto/mips/o.le/Makefile Normal file
View File

@ -0,0 +1 @@
include ../../../common.mk

2
nto/ppc/Makefile Normal file
View File

@ -0,0 +1,2 @@
LIST=VARIANT
include recurse.mk

View File

@ -0,0 +1 @@
include ../../../common.mk

1
nto/ppc/o.be/Makefile Normal file
View File

@ -0,0 +1 @@
include ../../../common.mk

2
nto/x86/Makefile Normal file
View File

@ -0,0 +1,2 @@
LIST=VARIANT
include recurse.mk

1
nto/x86/o/Makefile Normal file
View File

@ -0,0 +1 @@
include ../../../common.mk

View File

@ -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>

View File

@ -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);

View File

@ -135,6 +135,9 @@
# define __LITTLE_ENDIAN LITTLE_ENDIAN
# define __PDP_ENDIAN PDP_ENDIAN
#elif defined(__KPDANTO__)
#include <net/netbyte.h>
#else
// Unsupported platforms.