Hitchhiker Linux source tree
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

116 lines
2.0 KiB

# 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 += 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
subdirs += elfutils
subdirs += libffi
subdirs += libressl
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 += util-linux
# for musl
#subdirs += argp-standalone
# for musl
#subdirs += musl-fts
subdirs += e2fsprogs
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