7617a35cbc
which segfaults with Musl; Update s6 packages; Fix a few other compilation issues;
122 lines
2.1 KiB
Makefile
122 lines
2.1 KiB
Makefile
# Makefile - hhl - /usr/src/world
|
|
# Copyright 2020 Nathan Fisher <nfisher.sr@gmail.com>
|
|
#
|
|
|
|
default_goal = all
|
|
include src-config.mk
|
|
|
|
subdirs += fs_skeleton
|
|
subdirs += man-pages
|
|
subdirs += iana-etc
|
|
subdirs += tzdata
|
|
subdirs += libz
|
|
subdirs += libbz2_static
|
|
subdirs += libbz2_shared
|
|
subdirs += xz
|
|
subdirs += file
|
|
subdirs += m4
|
|
subdirs += bc
|
|
subdirs += gmp
|
|
subdirs += mpfr
|
|
subdirs += mpc
|
|
subdirs += binutils
|
|
subdirs += attr
|
|
subdirs += acl
|
|
subdirs += shadow
|
|
subdirs += gcc
|
|
subdirs += pkg-config
|
|
subdirs += ncurses
|
|
subdirs += libcap
|
|
subdirs += psmisc
|
|
subdirs += bison
|
|
subdirs += flex
|
|
subdirs += libtool
|
|
subdirs += gdbm
|
|
subdirs += pcre
|
|
subdirs += zsh
|
|
subdirs += inetutils
|
|
#subdirs += perl
|
|
subdirs += autoconf
|
|
subdirs += automake
|
|
subdirs += gperf
|
|
subdirs += expat
|
|
#subdirs += xml-parser
|
|
#subdirs += intltool
|
|
subdirs += kmod
|
|
subdirs += gettext
|
|
# for musl
|
|
subdirs += argp-standalone
|
|
# for musl
|
|
subdirs += musl-fts
|
|
# for musl
|
|
subdirs += musl-obstack
|
|
subdirs += elfutils
|
|
subdirs += libffi
|
|
subdirs += gawk
|
|
#subdirs += libressl
|
|
subdirs += openssl
|
|
subdirs += wget
|
|
#subdirs += python
|
|
#subdirs += ninja
|
|
#subdirs += meson
|
|
subdirs += findutils
|
|
subdirs += groff
|
|
subdirs += gzip
|
|
subdirs += zstd
|
|
subdirs += lib
|
|
subdirs += iproute2
|
|
subdirs += kbd
|
|
subdirs += make
|
|
subdirs += mandoc
|
|
subdirs += texinfo
|
|
subdirs += procps-ng
|
|
subdirs += e2fsprogs
|
|
subdirs += util-linux
|
|
subdirs += grep
|
|
subdirs += sed
|
|
#subdirs += haveged
|
|
subdirs += eudev
|
|
subdirs += skalibs
|
|
subdirs += execline
|
|
subdirs += s6
|
|
subdirs += s6-rc
|
|
subdirs += s6-linux-init
|
|
subdirs += s6-scripts
|
|
subdirs += udev-lfs
|
|
subdirs += bin
|
|
subdirs += sbin
|
|
subdirs += usr.bin
|
|
subdirs += usr.sbin
|
|
|
|
ifeq ($(arch),x86_64)
|
|
subdirs += grub
|
|
else ifeq ($(arch),aarch64)
|
|
ifeq ($(rpi),1)
|
|
subdirs += u-boot-rpi64
|
|
endif
|
|
endif
|
|
|
|
ifeq ($(_dhcpcd),1)
|
|
subdirs += dhcpcd
|
|
endif
|
|
ifeq ($(_wireless),1)
|
|
subdirs += wireless_tools
|
|
subdirs += libnl
|
|
subdirs += wpa_supplicant
|
|
endif
|
|
|
|
all: $(subdirs)
|
|
|
|
$(subdirs):
|
|
$(MAKE) -C $@
|
|
|
|
clean:
|
|
for subdir in $(subdirs) ; \
|
|
do $(MAKE) -C $${subdir} clean ; done
|
|
|
|
distclean: clean
|
|
for subdir in $(subdirs) ; \
|
|
do $(MAKE) -C $${subdir} distclean ; done
|
|
|
|
.PHONY: $(subdirs) all clean distclean
|