2021-02-18 19:41:59 -05:00
|
|
|
# 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
|
2022-09-06 19:51:14 -04:00
|
|
|
subdirs += tzdata
|
2021-02-18 19:41:59 -05:00
|
|
|
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
|
2021-02-26 12:46:11 -05:00
|
|
|
#subdirs += perl
|
2021-02-18 19:41:59 -05:00
|
|
|
subdirs += autoconf
|
|
|
|
subdirs += automake
|
|
|
|
subdirs += gperf
|
|
|
|
subdirs += expat
|
|
|
|
#subdirs += xml-parser
|
2021-02-26 12:46:11 -05:00
|
|
|
#subdirs += intltool
|
2021-02-18 19:41:59 -05:00
|
|
|
subdirs += kmod
|
|
|
|
subdirs += gettext
|
2021-03-10 13:53:36 -05:00
|
|
|
# for musl
|
2022-12-31 02:17:37 -05:00
|
|
|
subdirs += argp-standalone
|
|
|
|
# for musl
|
|
|
|
subdirs += musl-fts
|
|
|
|
# for musl
|
|
|
|
subdirs += musl-obstack
|
2021-02-18 19:41:59 -05:00
|
|
|
subdirs += elfutils
|
|
|
|
subdirs += libffi
|
2022-08-26 10:33:22 -04:00
|
|
|
subdirs += gawk
|
2022-01-28 11:44:56 -05:00
|
|
|
#subdirs += libressl
|
|
|
|
subdirs += openssl
|
2021-02-18 19:41:59 -05:00
|
|
|
subdirs += wget
|
2021-02-26 12:46:11 -05:00
|
|
|
#subdirs += python
|
2021-02-18 19:41:59 -05:00
|
|
|
#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
|
2023-01-29 00:15:49 -05:00
|
|
|
subdirs += util-linux
|
|
|
|
subdirs += grep
|
|
|
|
subdirs += sed
|
2022-05-10 09:41:52 -04:00
|
|
|
#subdirs += haveged
|
2021-02-18 19:41:59 -05:00
|
|
|
subdirs += eudev
|
|
|
|
subdirs += skalibs
|
|
|
|
subdirs += execline
|
|
|
|
subdirs += s6
|
|
|
|
subdirs += s6-rc
|
|
|
|
subdirs += s6-linux-init
|
2021-02-26 12:46:11 -05:00
|
|
|
subdirs += s6-scripts
|
|
|
|
subdirs += udev-lfs
|
2021-02-18 19:41:59 -05:00
|
|
|
subdirs += bin
|
|
|
|
subdirs += sbin
|
|
|
|
subdirs += usr.bin
|
|
|
|
subdirs += usr.sbin
|
|
|
|
|
2021-02-26 12:46:11 -05:00
|
|
|
ifeq ($(arch),x86_64)
|
|
|
|
subdirs += grub
|
|
|
|
else ifeq ($(arch),aarch64)
|
|
|
|
ifeq ($(rpi),1)
|
|
|
|
subdirs += u-boot-rpi64
|
2021-02-18 19:41:59 -05:00
|
|
|
endif
|
2021-02-26 12:46:11 -05:00
|
|
|
endif
|
|
|
|
|
2021-02-18 19:41:59 -05:00
|
|
|
ifeq ($(_dhcpcd),1)
|
|
|
|
subdirs += dhcpcd
|
|
|
|
endif
|
|
|
|
ifeq ($(_wireless),1)
|
|
|
|
subdirs += wireless_tools
|
|
|
|
subdirs += libnl
|
|
|
|
subdirs += wpa_supplicant
|
|
|
|
endif
|
|
|
|
|
|
|
|
all: $(subdirs)
|
|
|
|
|
2021-03-02 15:13:26 -05:00
|
|
|
$(subdirs):
|
2021-02-18 19:41:59 -05:00
|
|
|
$(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
|
|
|
|
|
2021-03-02 15:13:26 -05:00
|
|
|
.PHONY: $(subdirs) all clean distclean
|