2020-06-13 03:23:04 +02:00
|
|
|
PRAWNOS_ROOT := $(shell git rev-parse --show-toplevel)
|
2020-06-21 01:44:09 +02:00
|
|
|
include $(PRAWNOS_ROOT)/scripts/BuildScripts/BuildCommon.mk
|
2020-06-13 03:23:04 +02:00
|
|
|
|
2020-05-28 03:46:59 +02:00
|
|
|
SUBDIRS = $(shell ls -d */)
|
|
|
|
|
|
|
|
all:
|
2020-05-28 19:06:52 +02:00
|
|
|
for dir in $(SUBDIRS) ; do \
|
|
|
|
make -C $$dir ; \
|
|
|
|
done
|
2020-05-28 03:46:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
clean:
|
2020-05-28 19:06:52 +02:00
|
|
|
for dir in $(SUBDIRS) ; do \
|
|
|
|
make clean -C $$dir ; \
|
2020-06-13 03:23:04 +02:00
|
|
|
done
|
2020-06-14 21:07:29 +02:00
|
|
|
|
|
|
|
install:
|
|
|
|
$(info filesystem install target is $(INSTALL_TARGET))
|
|
|
|
for dir in $(SUBDIRS) ; do \
|
|
|
|
make install INSTALL_TARGET=$(INSTALL_TARGET) -C $$dir ; \
|
|
|
|
done
|
2020-06-17 08:51:39 +02:00
|
|
|
|
|
|
|
#this allows a makefile or script to specifically build one filesystem package
|
|
|
|
.PHONY: build_package
|
|
|
|
build_package:
|
|
|
|
ifndef BUILD_PACKAGE
|
|
|
|
$(error BUILD_PACKAGE is not set)
|
|
|
|
endif
|
|
|
|
make -C $(BUILD_PACKAGE)
|