more improvements to meta-meta Makefile

Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
Michel-FK 2020-10-21 23:35:52 +02:00
parent 41fdbd1ccc
commit 4953f617c1
2 changed files with 12 additions and 9 deletions

View File

@ -36,13 +36,13 @@ TERM_RESET := $(shell tput rmso 2>/dev/null)
%/Makefile: %/Makefile:
@: @:
all: buildroot/Makefile fun image all: buildroot/README fun image
@: @:
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: Recovery/output/.config FunKey/output/.config
@$(call MESSAGE,"Making fun") @$(call MESSAGE,"Making fun")
@ -70,9 +70,9 @@ source:
image: image:
@$(call MESSAGE,"Creating disk image") @$(call MESSAGE,"Creating disk image")
mkdir -p root tmp @mkdir -p root tmp
./Recovery/output/host/bin/genimage --inputpath . @./Recovery/output/host/bin/genimage --loglevel 0 --inputpath .
rm -rf root tmp @rm -rf root tmp
defconfig: defconfig:
@$(call MESSAGE,"Updating default configs") @$(call MESSAGE,"Updating default configs")
@ -88,14 +88,14 @@ clean:
distclean: clean distclean: clean
@$(call MESSAGE,"Really clean everything") @$(call MESSAGE,"Really clean everything")
rm -rf download images @rm -rf download images
FunKey/output/.config: FunKey/output/.config:
@$(call MESSAGE,"Configure FunKey") @$(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 @$(BR) BR2_EXTERNAL=../FunKey O=../FunKey/output funkey_defconfig
Recovery/output/.config: Recovery/output/.config:
@$(call MESSAGE,"Configure Recovery") @$(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 @$(BR) BR2_EXTERNAL=../Recovery O=../Recovery/output recovery_defconfig

View File

@ -1,3 +1,6 @@
config {
}
image sdcard.img { image sdcard.img {
hdimage { hdimage {
gpt = true gpt = true