From 5da973faf9b59330be18dc204759d2b8c3382e32 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 22 Sep 2022 13:38:06 +0200 Subject: busybox example: we need nfpkeys.json in the project directory --- examples/busybox.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/busybox.sh b/examples/busybox.sh index 3ad225f..22a7561 100755 --- a/examples/busybox.sh +++ b/examples/busybox.sh @@ -13,10 +13,14 @@ git clone --recursive https://ess.cs.uos.de/git/software/dfatool.git dfatool/bin/kconfig-expand-includes busybox-1.35.0/Config.in > busybox-1.35.0/Kconfig +cat > busybox-1.35.0/nfpkeys.json <<__EOF__ +{"ELF": {"Size": {"unit": "B", "description": "Binary Size", "minimize": true}, "RAM": {"unit": "B", "description": "static RAM", "minimize": true}}} +__EOF__ + cat > busybox-1.35.0/Makefile.local << __EOF__ .PHONY: nfpkeys nfpkeys: - @echo '{"ELF": {"Size": {"unit": "B", "description": "Binary Size", "minimize": true}, "RAM": {"unit": "B", "description": "static RAM", "minimize": true}}}' + @cat nfpkeys.json .PHONY: nfpvalues nfpvalues: -- cgit v1.2.3