integrate irq2nvic_h script in buildprocess

This commit is contained in:
chrysn
2012-10-18 17:57:59 +02:00
parent ae832b4ee8
commit c69916ffb6
5 changed files with 35 additions and 10 deletions

View File

@@ -39,7 +39,13 @@ all: build
build: lib examples
lib:
generatedheaders:
@printf " UPDATING HEADERS\n"
$(Q)for yamlfile in `find -name 'irq.yaml'`; do \
./scripts/irq2nvic_h $$yamlfile ; \
done
lib: generatedheaders
$(Q)for i in $(addprefix $@/,$(TARGETS)); do \
if [ -d $$i ]; then \
printf " BUILD $$i\n"; \