Skip to content

Commit

Permalink
- added COMP variable to specify path to comp command
Browse files Browse the repository at this point in the history
  • Loading branch information
sittner committed Feb 24, 2015
1 parent 05cc85f commit 944fd86
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion configure.mk
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
COMP ?= comp

.PHONY: configure
configure:
@echo "BUILDSYS = $(BUILDSYS)"
Expand All @@ -16,7 +18,11 @@ configure:
@echo "prefix = $(prefix)"

# include modinc
MODINC=$(shell comp --print-modinc)
MODINC=$(shell $(COMP) --print-modinc)
ifeq (, $(MODINC))
$(error Unable to get modinc path)
endif

include $(MODINC)

# dirty workaround to get the RTAI directory
Expand Down

0 comments on commit 944fd86

Please sign in to comment.