From b50767963048968f1b5b623b46e7446823d79e1a Mon Sep 17 00:00:00 2001 From: Grant Morphett Date: Tue, 15 Nov 2016 14:50:45 +1100 Subject: [PATCH] CPUInfo: Updated the Makefile to use WAF commands --- Tools/CPUInfo/Makefile | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/Tools/CPUInfo/Makefile b/Tools/CPUInfo/Makefile index eb4da6c4e6..0ac058446d 100644 --- a/Tools/CPUInfo/Makefile +++ b/Tools/CPUInfo/Makefile @@ -1,4 +1,12 @@ -# -# Trivial makefile for building APM -# -include ../../mk/apm.mk +# this is meant to make existing build instructions work with waf + +all: + @cd ../../ && modules/waf/waf-light configure --board linux --debug + @cd ../../ && modules/waf/waf-light tools + @cp ../../build/linux-debug/tools/CPUInfo CPUInfo.elf + @echo Built CPUInfo.elf + +clean: + @cd ../../ && modules/waf/waf-light configure --board linux clean + +linux-debug: all