diff options
author | Dean Camera <[email protected]> | 2012-07-14 23:04:37 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2012-07-14 23:04:37 +0000 |
commit | 3c1b28cf5ff16fede61f2abf37d5616f3e661036 (patch) | |
tree | b5d10e8e6bffdbd53bd6b4b11e4c48cf17f6adca | |
parent | a57ed1abfb1cd2e7890e15309ebe176a4c279d86 (diff) | |
download | qmk_firmware-3c1b28cf5ff16fede61f2abf37d5616f3e661036.tar.gz qmk_firmware-3c1b28cf5ff16fede61f2abf37d5616f3e661036.zip |
Use immediate variable expansion in the second-deepest level makefile scripts to prevent multiple evaluation of the PROJECT_DIRECTORIES variable.
-rw-r--r-- | Bootloaders/makefile | 2 | ||||
-rw-r--r-- | Demos/Device/ClassDriver/makefile | 2 | ||||
-rw-r--r-- | Demos/Device/LowLevel/makefile | 2 | ||||
-rw-r--r-- | Demos/DualRole/ClassDriver/makefile | 2 | ||||
-rw-r--r-- | Demos/Host/ClassDriver/makefile | 2 | ||||
-rw-r--r-- | Demos/Host/LowLevel/makefile | 2 | ||||
-rw-r--r-- | Projects/makefile | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/Bootloaders/makefile b/Bootloaders/makefile index 1a4d3457e0..003069b9ae 100644 --- a/Bootloaders/makefile +++ b/Bootloaders/makefile @@ -13,7 +13,7 @@ # custom LUFA library build options are reflected in the compiled # code. -PROJECT_DIRECTORIES = $(shell ls -d */) +PROJECT_DIRECTORIES := $(shell ls -d */) # This makefile is potentially infinitely recursive if something really bad # happens when determining the set of project directories - hard-abort if diff --git a/Demos/Device/ClassDriver/makefile b/Demos/Device/ClassDriver/makefile index 797a483fa3..776288f298 100644 --- a/Demos/Device/ClassDriver/makefile +++ b/Demos/Device/ClassDriver/makefile @@ -13,7 +13,7 @@ # custom LUFA library build options are reflected in the compiled # code. -PROJECT_DIRECTORIES = $(shell ls -d */) +PROJECT_DIRECTORIES := $(shell ls -d */) # This makefile is potentially infinitely recursive if something really bad # happens when determining the set of project directories - hard-abort if diff --git a/Demos/Device/LowLevel/makefile b/Demos/Device/LowLevel/makefile index 797a483fa3..776288f298 100644 --- a/Demos/Device/LowLevel/makefile +++ b/Demos/Device/LowLevel/makefile @@ -13,7 +13,7 @@ # custom LUFA library build options are reflected in the compiled # code. -PROJECT_DIRECTORIES = $(shell ls -d */) +PROJECT_DIRECTORIES := $(shell ls -d */) # This makefile is potentially infinitely recursive if something really bad # happens when determining the set of project directories - hard-abort if diff --git a/Demos/DualRole/ClassDriver/makefile b/Demos/DualRole/ClassDriver/makefile index b9538fe3b8..6d16493ee9 100644 --- a/Demos/DualRole/ClassDriver/makefile +++ b/Demos/DualRole/ClassDriver/makefile @@ -13,7 +13,7 @@ # custom LUFA library build options are reflected in the compiled # code. -PROJECT_DIRECTORIES = $(shell ls -d */) +PROJECT_DIRECTORIES := $(shell ls -d */) # This makefile is potentially infinitely recursive if something really bad # happens when determining the set of project directories - hard-abort if diff --git a/Demos/Host/ClassDriver/makefile b/Demos/Host/ClassDriver/makefile index d057a1c698..e33bf963bd 100644 --- a/Demos/Host/ClassDriver/makefile +++ b/Demos/Host/ClassDriver/makefile @@ -13,7 +13,7 @@ # custom LUFA library build options are reflected in the compiled # code. -PROJECT_DIRECTORIES = $(shell ls -d */) +PROJECT_DIRECTORIES := $(shell ls -d */) # This makefile is potentially infinitely recursive if something really bad # happens when determining the set of project directories - hard-abort if diff --git a/Demos/Host/LowLevel/makefile b/Demos/Host/LowLevel/makefile index d057a1c698..e33bf963bd 100644 --- a/Demos/Host/LowLevel/makefile +++ b/Demos/Host/LowLevel/makefile @@ -13,7 +13,7 @@ # custom LUFA library build options are reflected in the compiled # code. -PROJECT_DIRECTORIES = $(shell ls -d */) +PROJECT_DIRECTORIES := $(shell ls -d */) # This makefile is potentially infinitely recursive if something really bad # happens when determining the set of project directories - hard-abort if diff --git a/Projects/makefile b/Projects/makefile index f4b411145a..dd0ea2e8f5 100644 --- a/Projects/makefile +++ b/Projects/makefile @@ -13,7 +13,7 @@ # custom LUFA library build options are reflected in the compiled # code. -PROJECT_DIRECTORIES = $(shell ls -d */) +PROJECT_DIRECTORIES := $(shell ls -d */) # This makefile is potentially infinitely recursive if something really bad # happens when determining the set of project directories - hard-abort if |