Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
60 lines (44 sloc) 1.66 KB
mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
current_dir := $(dir ${mkfile_path})
.DEFAULT_GOAL := all
envsetup:
@echo "make: envsetup"
export TOPDIR=${current_dir} && ${current_dir}tools/util/setup_env.sh
test_noop: envsetup
@echo "make: test_noop"
bin/myenv.sh "${current_dir}recipes/test_noop.yml"
raspbian_cattlepi: envsetup
@echo "make: raspbian_cattlepi"
bin/myenv.sh "${current_dir}recipes/raspbian_cattlepi.yml"
raspbian_cattlepi_initfs: envsetup
@echo "make: raspbian_cattlepi_initfs"
bin/myenv.sh "${current_dir}recipes/raspbian_cattlepi_initfs.yml"
raspbian_cattlepi_rootfs: envsetup
@echo "make: raspbian_cattlepi_rootfs"
bin/myenv.sh "${current_dir}recipes/raspbian_cattlepi_rootfs.yml"
raspbian_stock: envsetup
@echo "make: raspbian_stock"
bin/myenv.sh "${current_dir}recipes/raspbian_stock.yml"
raspbian_pihole: envsetup
@echo "make: raspbian_pihole"
bin/myenv.sh "${current_dir}recipes/raspbian_pihole.yml"
raspbian_s3_upload: envsetup
@echo "make: raspbian_s3_upload"
bin/myenv.sh "${current_dir}recipes/raspbian_s3_upload.yml"
raspbian_s3_build_index: envsetup
@echo "make: raspbian_s3_build_index"
bin/myenv.sh "${current_dir}recipes/raspbian_s3_build_index.yml"
copy_initfs_to_sdcard: envsetup
@echo "make: copy_initfs_to_sdcard"
bin/myenv.sh "${current_dir}recipes/copy_initfs_to_sdcard.yml"
localapi_run: envsetup
@echo "make: localapi_run"
bin/myenv.sh "${current_dir}recipes/localapi_run.yml"
localapi_test: envsetup
@echo "make: localapi_test"
bin/myenv.sh "${current_dir}recipes/localapi_test.yml"
clean:
@echo "make: clean"
@rm -rf ${current_dir}builder/*
@rm -rf ${current_dir}tools/venv/*
all: clean raspbian_cattlepi