mirror of
https://github.com/tbsdtv/media_build.git
synced 2025-07-22 12:00:35 +02:00
23 lines
421 B
Makefile
23 lines
421 B
Makefile
#
|
|
# Will be executed by the DKMS system, with
|
|
# KERNELRELEASE and MEDIA_INST_DIR
|
|
# set.
|
|
#
|
|
|
|
ifneq ($(MAKECMDGOALS),clean)
|
|
ifeq ($(KERNELRELEASE),)
|
|
$(error KERNELRELEASE not set)
|
|
endif
|
|
endif
|
|
ifeq ($(MEDIA_INST_DIR),)
|
|
$(error MEDIA_INST_DIR not set)
|
|
endif
|
|
|
|
build:
|
|
VER=$(KERNELRELEASE) ./build_all.sh $(MEDIA_INST_DIR) -db
|
|
|
|
clean:
|
|
VER=$(KERNELRELEASE) ./build_all.sh $(MEDIA_INST_DIR) -dc
|
|
|
|
.PHONY: build clean
|