CPUInfo: Updated the Makefile to use WAF commands

This commit is contained in:
Grant Morphett 2016-11-15 14:50:45 +11:00 committed by Lucas De Marchi
parent 624178f3be
commit b507679630

View File

@ -1,4 +1,12 @@
# # this is meant to make existing build instructions work with waf
# Trivial makefile for building APM
# all:
include ../../mk/apm.mk @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