comparison bootman/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 6c8f028e8c5e
children 1addfd8c9d5f
comparison
equal deleted inserted replaced
2757:8888cd0cac1a 2758:e4a0f58a5f9b
1 include ../rules.mak 1 ifndef NITROS9DIR
2 NITROS9DIR = $(HOME)/nitros9
3 endif
4 include $(NITROS9DIR)/rules.mak
2 5
3 all: bootman_coco_6551 bootman_coco3_6551 #bootman_loader 6 all: bootman_coco_6551 bootman_coco3_6551 #bootman_loader
4 7
5 bootman_loader: bootman_loader.a 8 bootman_loader: bootman_loader.a
6 mamou $^ -o$@ -mb 9 mamou $^ -o$@ -mb