openmrn icon indicating copy to clipboard operation
openmrn copied to clipboard

set search order consistently in etc/path.mk

Open kphannan opened this issue 10 years ago • 2 comments

The search order specified for directories in etc/path.mk is inconsistent. Some searches have $(HOME)..... as a first entry, while others have it last. When used $(HOME) should have the highest precedence which would allow the user to provide a local override for any default system directory.

for example:

################ tivaware ##################
ifndef TIVAWAREPATH
SEARCHPATH := \
  /opt/ti/TivaWare/default \
  /opt/TivaWare/default \
  /opt/TivaWare \
  $(HOME)/TivaWare

should be

################ tivaware ##################
ifndef TIVAWAREPATH
SEARCHPATH := \
  $(HOME)/TivaWare \
  /opt/ti/TivaWare/default \
  /opt/TivaWare/default \
  /opt/TivaWare

kphannan avatar Jul 06 '15 18:07 kphannan

I'm looking at these as I build the VM setup with Packer and SaltStack. I can make the changes as I find them.

kphannan avatar Jul 06 '15 18:07 kphannan

Kevin, I agree, having better consistency here is a good idea. Feel free to make changes as you see fit.

bakerstu avatar Jul 06 '15 19:07 bakerstu