build: Simplify checking for PREFIX origin
commit70968e7726223664e2d8458773775432cdbee5a6
authorTobias Klauser <tklauser@distanz.ch>
Tue, 4 Oct 2016 15:29:00 +0000 (4 17:29 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Tue, 4 Oct 2016 15:29:00 +0000 (4 17:29 +0200)
tree740afe7cf3598720fb0b900a45c0caa386b05544
parent5a1eba2843cb66a0cd3b8cccab41d930d7533b62
build: Simplify checking for PREFIX origin

Use the $(filter ...) make function to simplify the detection of the
origin of the PREFIX variable. This allows to merge two duplicate
definitions for the INSTX command.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Cmds