summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2016-01-25 09:20:24 +0100
committerMartin Roth <martinroth@google.com>2016-02-26 20:06:41 +0100
commit7d82499634cf8aa1a3b3fa363d2e774a8e357a52 (patch)
tree3ab6f6e12f275cb527d3bc83b4ed25915a86a5cf
parentba894be382c1a0365c435d5be2b54422731d66c8 (diff)
downloadcoreboot-7d82499634cf8aa1a3b3fa363d2e774a8e357a52.tar.xz
nvramcui: Add Makefile
Users had to build nvramcui manually because payload.sh was only meant for abuild. Now the user can build it with: cd payloads/libpayload/ && make menuconfig && make && make install cd ../nvramcui && make Change-Id: I409a3c39a1e1738e8071febb1a3f169e1aee959a Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> Reviewed-on: https://review.coreboot.org/13778 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rwxr-xr-xpayloads/nvramcui/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/payloads/nvramcui/Makefile b/payloads/nvramcui/Makefile
new file mode 100755
index 0000000000..73bcf781bf
--- /dev/null
+++ b/payloads/nvramcui/Makefile
@@ -0,0 +1,10 @@
+LPGCC = ../libpayload/install/libpayload/bin/lpgcc
+
+all: nvramcui.elf
+
+%.elf:
+ $(LPGCC) -o $*.elf $*.c
+
+.PHONY:
+clean:
+ rm -f nvramcui.elf