aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2012-07-14 23:04:37 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2012-07-14 23:04:37 +0000
commit44997724688eed5a58970db0b827ef162205d78b (patch)
treeb5d10e8e6bffdbd53bd6b4b11e4c48cf17f6adca
parent3e180dda822ed4e0f7d9f70c16ff668b516b173f (diff)
Use immediate variable expansion in the second-deepest level makefile scripts to prevent multiple evaluation of the PROJECT_DIRECTORIES variable.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2403 d5102386-fcda-11dd-9fdb-3debd5008f28
-rw-r--r--Bootloaders/makefile2
-rw-r--r--Demos/Device/ClassDriver/makefile2
-rw-r--r--Demos/Device/LowLevel/makefile2
-rw-r--r--Demos/DualRole/ClassDriver/makefile2
-rw-r--r--Demos/Host/ClassDriver/makefile2
-rw-r--r--Demos/Host/LowLevel/makefile2
-rw-r--r--Projects/makefile2
7 files changed, 7 insertions, 7 deletions
diff --git a/Bootloaders/makefile b/Bootloaders/makefile
index 1a4d3457..003069b9 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 797a483f..776288f2 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 797a483f..776288f2 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 b9538fe3..6d16493e 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 d057a1c6..e33bf963 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 d057a1c6..e33bf963 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 f4b41114..dd0ea2e8 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