Do not install libkernaux

This commit is contained in:
Alex Kotov 2023-01-03 22:58:19 +04:00
parent f965d4a1bf
commit 72eaeee542
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
4 changed files with 4 additions and 23 deletions

3
.gitmodules vendored
View File

@ -1,6 +1,3 @@
[submodule "vendor/libkernaux"]
path = vendor/libkernaux
url = https://github.com/tailix/libkernaux.git
[submodule "vendor/busybox"]
path = vendor/busybox
url = https://git.busybox.net/busybox

View File

@ -13,12 +13,10 @@ SRC != pwd
SYSROOT = $(SRC)/sysroot
SYSROOT_TARGETS = \
$(SYSROOT)/bin/busybox \
$(SYSROOT)/etc/hosts \
$(SYSROOT)/etc/shells \
$(SYSROOT)/usr/include/kernaux.h \
$(SYSROOT)/usr/lib/libc.a \
$(SYSROOT)/usr/lib/libkernaux.la
$(SYSROOT)/bin/busybox \
$(SYSROOT)/etc/hosts \
$(SYSROOT)/etc/shells \
$(SYSROOT)/usr/lib/libc.a
all: fhs $(SYSROOT_TARGETS)
$(CHOWN) -R kotovalexarian:kotovalexarian $(SYSROOT)
@ -29,7 +27,6 @@ clean:
include make/busybox.mk
include make/etc.mk
include make/fhs.mk
include make/libkernaux.mk
include make/musl.mk
chroot: all

View File

@ -1,12 +0,0 @@
$(SYSROOT)/usr/include/kernaux.h: build/libkernaux/Makefile
$(MAKE) -C build/libkernaux DESTDIR='$(SYSROOT)' install-data
$(SYSROOT)/usr/lib/libkernaux.la: build/libkernaux/Makefile
$(MAKE) -C build/libkernaux DESTDIR='$(SYSROOT)' install-exec
build/libkernaux/Makefile: vendor/libkernaux/configure
$(MKDIR) -p build/libkernaux
cd build/libkernaux && '../../vendor/libkernaux/configure' --prefix=/usr
vendor/libkernaux/configure:
cd vendor/libkernaux && ./autogen.sh

1
vendor/libkernaux vendored

@ -1 +0,0 @@
Subproject commit bf8eaaa575225e9170ec141d9fe907c8a4df5cb7