From 4953f617c15d6b6fbc300ef36a404f28ca7df444 Mon Sep 17 00:00:00 2001 From: Michel-FK Date: Wed, 21 Oct 2020 23:35:52 +0200 Subject: [PATCH] more improvements to meta-meta Makefile Signed-off-by: Michel-FK --- Makefile | 18 +++++++++--------- genimage.cfg | 3 +++ 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index d636166..5db15d3 100644 --- a/Makefile +++ b/Makefile @@ -36,13 +36,13 @@ TERM_RESET := $(shell tput rmso 2>/dev/null) %/Makefile: @: -all: buildroot/Makefile fun image +all: buildroot/README fun image @: buildroot/README: @$(call MESSAGE,"Getting buildroot") - git submodule init - git submodule update + @git submodule init + @git submodule update fun: Recovery/output/.config FunKey/output/.config @$(call MESSAGE,"Making fun") @@ -70,9 +70,9 @@ source: image: @$(call MESSAGE,"Creating disk image") - mkdir -p root tmp - ./Recovery/output/host/bin/genimage --inputpath . - rm -rf root tmp + @mkdir -p root tmp + @./Recovery/output/host/bin/genimage --loglevel 0 --inputpath . + @rm -rf root tmp defconfig: @$(call MESSAGE,"Updating default configs") @@ -88,14 +88,14 @@ clean: distclean: clean @$(call MESSAGE,"Really clean everything") - rm -rf download images + @rm -rf download images FunKey/output/.config: @$(call MESSAGE,"Configure FunKey") - mkdir -p FunKey/board/funkey/patches + @mkdir -p FunKey/board/funkey/patches @$(BR) BR2_EXTERNAL=../FunKey O=../FunKey/output funkey_defconfig Recovery/output/.config: @$(call MESSAGE,"Configure Recovery") - mkdir -p Recovery/board/funkey/patches + @mkdir -p Recovery/board/funkey/patches @$(BR) BR2_EXTERNAL=../Recovery O=../Recovery/output recovery_defconfig diff --git a/genimage.cfg b/genimage.cfg index 9a7014d..8f81e58 100644 --- a/genimage.cfg +++ b/genimage.cfg @@ -1,3 +1,6 @@ +config { +} + image sdcard.img { hdimage { gpt = true