Skip to content
Permalink
Browse files
Makefiles to build firmwares and buildtools
  • Loading branch information
matthiasseemoo committed Nov 3, 2016
1 parent 3f42904 commit d50a0c2f6257bf402ca1958625842885a157c8fd
Showing 7 changed files with 76 additions and 0 deletions.
@@ -0,0 +1,11 @@
all: buildtools firmwares

firmwares: buildtools FORCE
@printf "\033[0;31m EXTRACTING FLASHPATCHES AND UCODE\033[0m\n"
$(Q)make -C $@

buildtools: FORCE
@printf "\033[0;31m BUILDING BUILDTOOLS\033[0m\n"
$(Q)make -C $@

FORCE:
@@ -0,0 +1,12 @@
all: flash_patch_extractor ucode_extractor

flash_patch_extractor: FORCE
@printf "\033[0;31m BUILDING\033[0m %s\n" $@
$(Q)make -C $@

ucode_extractor: FORCE
@printf "\033[0;31m BUILDING\033[0m %s\n" $@
$(Q)make -C $@

FORCE:

@@ -0,0 +1,9 @@
SUBDIRS = $(dir $(wildcard */Makefile))

all: $(SUBDIRS)

$(SUBDIRS): FORCE
@printf "\033[0;31m EXECUTING MAKE FOR CHIP VERSION\033[0m %s\n" $@
$(Q)make -C $@

FORCE:
@@ -0,0 +1,11 @@
SUBDIRS = $(dir $(wildcard */definitions.mk))

all: $(SUBDIRS)

$(SUBDIRS): FORCE
ifndef (,$(wildcard $(addprefix $@, Makefile)))
@printf "\033[0;31m EXECUTING MAKE FOR FIRMWARE VERSION\033[0m %s\n" $@
$(Q)make -C $@
endif

FORCE:
@@ -0,0 +1,11 @@
SUBDIRS = $(dir $(wildcard */definitions.mk))

all: $(SUBDIRS)

$(SUBDIRS): FORCE
ifndef (,$(wildcard $(addprefix $@, Makefile)))
@printf "\033[0;31m EXECUTING MAKE FOR FIRMWARE VERSION\033[0m %s\n" $@
$(Q)make -C $@
endif

FORCE:
@@ -0,0 +1,11 @@
SUBDIRS = $(dir $(wildcard */definitions.mk))

all: $(SUBDIRS)

$(SUBDIRS): FORCE
ifndef (,$(wildcard $(addprefix $@, Makefile)))
@printf "\033[0;31m EXECUTING MAKE FOR FIRMWARE VERSION\033[0m %s\n" $@
$(Q)make -C $@
endif

FORCE:
@@ -0,0 +1,11 @@
SUBDIRS = $(dir $(wildcard */definitions.mk))

all: $(SUBDIRS)

$(SUBDIRS): FORCE
ifndef (,$(wildcard $(addprefix $@, Makefile)))
@printf "\033[0;31m EXECUTING MAKE FOR FIRMWARE VERSION\033[0m %s\n" $@
$(Q)make -C $@
endif

FORCE:

0 comments on commit d50a0c2

Please sign in to comment.