mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2025-12-13 16:18:52 +01:00
cleaned up Makefile
Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
parent
5b4eebd7d5
commit
0c03bdfca0
12
Makefile
12
Makefile
@ -29,11 +29,11 @@ MESSAGE = echo "$(shell date +%Y-%m-%dT%H:%M:%S) $(TERM_BOLD)\#\#\# $(call qstri
|
|||||||
TERM_BOLD := $(shell tput smso 2>/dev/null)
|
TERM_BOLD := $(shell tput smso 2>/dev/null)
|
||||||
TERM_RESET := $(shell tput rmso 2>/dev/null)
|
TERM_RESET := $(shell tput rmso 2>/dev/null)
|
||||||
|
|
||||||
.PHONY: fun source image defconfig clean distclean
|
.PHONY: fun source image update defconfig clean distclean
|
||||||
|
|
||||||
.IGNORE: _Makefile_
|
.IGNORE: _Makefile_
|
||||||
|
|
||||||
all: buildroot/README fun image
|
all: update
|
||||||
@:
|
@:
|
||||||
|
|
||||||
_Makefile_:
|
_Makefile_:
|
||||||
@ -42,12 +42,15 @@ _Makefile_:
|
|||||||
%/Makefile:
|
%/Makefile:
|
||||||
@:
|
@:
|
||||||
|
|
||||||
|
buildroot: buildroot/README
|
||||||
|
@:
|
||||||
|
|
||||||
buildroot/README:
|
buildroot/README:
|
||||||
@$(call MESSAGE,"Getting buildroot")
|
@$(call MESSAGE,"Getting buildroot")
|
||||||
@git submodule init
|
@git submodule init
|
||||||
@git submodule update
|
@git submodule update
|
||||||
|
|
||||||
fun: Recovery/output/.config FunKey/output/.config
|
fun: buildroot Recovery/output/.config FunKey/output/.config
|
||||||
@$(call MESSAGE,"Making fun")
|
@$(call MESSAGE,"Making fun")
|
||||||
@$(call MESSAGE,"Making fun in Recovery")
|
@$(call MESSAGE,"Making fun in Recovery")
|
||||||
@$(BRMAKE) BR2_EXTERNAL=../Recovery O=../Recovery/output
|
@$(BRMAKE) BR2_EXTERNAL=../Recovery O=../Recovery/output
|
||||||
@ -71,8 +74,9 @@ source:
|
|||||||
@$(BR) BR2_EXTERNAL=../Recovery O=../Recovery/output source
|
@$(BR) BR2_EXTERNAL=../Recovery O=../Recovery/output source
|
||||||
@$(BR) BR2_EXTERNAL=../FunKey O=../FunKey/output source
|
@$(BR) BR2_EXTERNAL=../FunKey O=../FunKey/output source
|
||||||
|
|
||||||
image:
|
image: fun
|
||||||
@$(call MESSAGE,"Creating disk image")
|
@$(call MESSAGE,"Creating disk image")
|
||||||
|
@rm -rf root tmp
|
||||||
@mkdir -p root tmp
|
@mkdir -p root tmp
|
||||||
@./Recovery/output/host/bin/genimage --loglevel 0 --inputpath .
|
@./Recovery/output/host/bin/genimage --loglevel 0 --inputpath .
|
||||||
@rm -rf root tmp
|
@rm -rf root tmp
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user