annotate 3rdparty/drivers/makefile @ 2758:e4a0f58a5f9b

Found that people who do not have the envirornment variable NITROS9DIR set before building the project get a error missing file "/rules.mak". Found this is caused do to the fact that the code to set this envirornment variable is in the rules.mak which can't get loaded. To fix this the code needed to set the envirornment variable that is in the rules.mak is now in the makefile(s) right before the include for the rules.mak file. This should fix the problem for those who do not have the NITROS9DIR envirornment variable preset.
author drencor-xeen
date Mon, 14 Jan 2013 14:37:46 -0600
parents b8c7b7fbf3c9
children 1addfd8c9d5f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2758
e4a0f58a5f9b Found that people who do not have the envirornment variable NITROS9DIR set before building the project get a error missing file "/rules.mak". Found this is caused do to the fact that the code to set this envirornment variable is in the rules.mak which can't get loaded.
drencor-xeen
parents: 2624
diff changeset
1 ifndef NITROS9DIR
e4a0f58a5f9b Found that people who do not have the envirornment variable NITROS9DIR set before building the project get a error missing file "/rules.mak". Found this is caused do to the fact that the code to set this envirornment variable is in the rules.mak which can't get loaded.
drencor-xeen
parents: 2624
diff changeset
2 NITROS9DIR = $(HOME)/nitros9
e4a0f58a5f9b Found that people who do not have the envirornment variable NITROS9DIR set before building the project get a error missing file "/rules.mak". Found this is caused do to the fact that the code to set this envirornment variable is in the rules.mak which can't get loaded.
drencor-xeen
parents: 2624
diff changeset
3 endif
e4a0f58a5f9b Found that people who do not have the envirornment variable NITROS9DIR set before building the project get a error missing file "/rules.mak". Found this is caused do to the fact that the code to set this envirornment variable is in the rules.mak which can't get loaded.
drencor-xeen
parents: 2624
diff changeset
4 include $(NITROS9DIR)/rules.mak
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
5
2624
b8c7b7fbf3c9 Major changes:
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2428
diff changeset
6 dirs = burke disto emudsk ide mmc s16550 sdisk sdisk3 tccc
1119
f86ef3d1d7c9 Makefiles have been redone to take advantage of size and Make features
boisy
parents: 1031
diff changeset
7
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
8 # Make all components
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
9 all:
1366
770c350f4c15 More changes
boisy
parents: 1363
diff changeset
10 @$(ECHO) "**************************************************"
770c350f4c15 More changes
boisy
parents: 1363
diff changeset
11 @$(ECHO) "* *"
770c350f4c15 More changes
boisy
parents: 1363
diff changeset
12 @$(ECHO) "* 3rd Party Device Drivers *"
770c350f4c15 More changes
boisy
parents: 1363
diff changeset
13 @$(ECHO) "* *"
770c350f4c15 More changes
boisy
parents: 1363
diff changeset
14 @$(ECHO) "**************************************************"
1133
4bddc63a59fc More slight Makefile improvements
boisy
parents: 1119
diff changeset
15 $(foreach dir, $(dirs), ($(CD) $(dir); make);)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
16
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
17 # Clean all components
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
18 clean:
1133
4bddc63a59fc More slight Makefile improvements
boisy
parents: 1119
diff changeset
19 $(foreach dir, $(dirs), ($(CD) $(dir); make clean);)