d920c9904c
As not every package list is useful for every distro, only the needed lists should be copied for a particular one.
20 lines
465 B
Makefile
20 lines
465 B
Makefile
clean:
|
|
@echo '** cleaning up...'
|
|
@[ -d build/ ] && \
|
|
make -C build/image $@ GLOBAL_BUILDDIR=$(shell readlink build) \
|
|
||:
|
|
|
|
distclean: clean
|
|
@[ -d build/ ] && \
|
|
make -C build/image $@ GLOBAL_BUILDDIR=$(shell readlink build) && \
|
|
rm -r $(shell readlink build) && \
|
|
rm .config.mk build \
|
|
||:
|
|
|
|
# it can be symlinked if r/w (see configure);
|
|
# if not, then should come from environment
|
|
BUILDDIR ?= $(shell realpath build)
|
|
|
|
prep:
|
|
@echo BUILDDIR: $(BUILDDIR)
|