summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2022-09-22 13:38:06 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2022-09-22 13:38:06 +0200
commit5da973faf9b59330be18dc204759d2b8c3382e32 (patch)
treefdeb0146dc6840c12387aab926d9b7ac6536d0a8 /examples
parent04b3c321405d700f125e6d764eeee4c1eafe11c3 (diff)
busybox example: we need nfpkeys.json in the project directory
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/busybox.sh6
1 files changed, 5 insertions, 1 deletions
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: