| Revision 1333,
830 bytes
checked in by philmoz, 22 months ago
(diff) |
|
Updated development branch.
|
| Line | |
|---|
| 1 | |
|---|
| 2 | # Define the list of camera/firmware vresions that are not included in the 'autobuild' |
|---|
| 3 | # Entries here should be in the form CAMERA-FIRMWARE - e.g. g12-100c |
|---|
| 4 | # Do exclude all firmware versions for a specific camera add the camera |
|---|
| 5 | # to the list in makefile.cam |
|---|
| 6 | SKIP_AUTOBUILD="" |
|---|
| 7 | |
|---|
| 8 | # Read list of camera firmware directories under platform/$(CAM)/sub |
|---|
| 9 | FW = $(shell ls platform/$(CAM)/sub) |
|---|
| 10 | |
|---|
| 11 | .PHONY: all $(FW) |
|---|
| 12 | |
|---|
| 13 | # Batch build target - build all the firmware directories |
|---|
| 14 | all: $(FW) |
|---|
| 15 | |
|---|
| 16 | # Build target for each entry found in platform/$(CAM)/sub |
|---|
| 17 | # If it's a directory then use the main Makefile to build using the supplied $(ACTION) |
|---|
| 18 | $(FW): |
|---|
| 19 | if [ -d platform/$(CAM)/sub/$@ ] && [ $(CAM)-$@ != "$(findstring $(CAM)-$@,$(SKIP_AUTOBUILD))" ]; then \ |
|---|
| 20 | $(MAKE) -s --no-print-directory PLATFORM=$(CAM) PLATFORMSUB=$@ NO_INC_BUILD=1 $(ACTION); \ |
|---|
| 21 | fi |
|---|
Note: See
TracBrowser
for help on using the repository browser.