Bladeren bron

more improvements to meta-meta Makefile

Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
Michel-FK 3 jaren geleden
bovenliggende
commit
4953f617c1
2 gewijzigde bestanden met toevoegingen van 12 en 9 verwijderingen
  1. 9 9
      Makefile
  2. 3 0
      genimage.cfg

+ 9 - 9
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

+ 3 - 0
genimage.cfg

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