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

This commit is contained in:
parent c08340ee08
commit ef3f59cae9
20 changed files with 69 additions and 0 deletions

2
Makefile Normal file
View File

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

33
README.md Normal file
View File

@ -0,0 +1,33 @@
Сборка проекта в ЗОСРВ "Нейтрино" редакции 2020
===============================================
Для всех архитектур:
```
autoreconf -i; make -j16 install
```
Только для x86:
```
autoreconf -i; CPULIST=x86 make -j16 install
```
Проект имеет две LTS версии (1.x) и (2.x). Первая написана на Си, вторая на [Zig language](https://ziglang.org/). Данный форк основан на версии 1.x.
**Порт ncdu проверен на работоспособность условно и, вероятно, потребует дополнительной адаптации.**
Запуск
===========
```
export TERM=xterm
ncdu /usr
```
или
```
export TERM=qansi
ncdu /usr
```

10
common.mk Normal file
View File

@ -0,0 +1,10 @@
ifndef QCONFIG
QCONFIG=qconfig.mk
endif
include $(QCONFIG)
CPPFLAGS += -D_QNX_SOURCE=1
CFLAGS += -D_QNX_SOURCE=1
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