Mercurial > hg > Members > kono > nitros9-code
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 |
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 | 5 |
2624 | 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 | 8 # Make all components |
9 all: | |
1366 | 10 @$(ECHO) "**************************************************" |
11 @$(ECHO) "* *" | |
12 @$(ECHO) "* 3rd Party Device Drivers *" | |
13 @$(ECHO) "* *" | |
14 @$(ECHO) "**************************************************" | |
1133 | 15 $(foreach dir, $(dirs), ($(CD) $(dir); make);) |
0 | 16 |
17 # Clean all components | |
18 clean: | |
1133 | 19 $(foreach dir, $(dirs), ($(CD) $(dir); make clean);) |