summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Rosenfeld <hans.rosenfeld@joyent.com>2017-06-14 14:08:44 +0200
committerHans Rosenfeld <hans.rosenfeld@joyent.com>2017-06-19 12:32:04 +0200
commit037850e3a141e499934dd9e6a1c908ccc16bf3cd (patch)
tree9c7e99f0757cb164b285145aa374ae23f313d805
parentffd9046fc554bceedf5d555490379799b73f652c (diff)
downloadillumos-gfx-drm-037850e3a141e499934dd9e6a1c908ccc16bf3cd.tar.gz
8400 top-level Makefile shouldn't assume "make" is usable
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Alexander Pyhalov <alp@rsu.ru>
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index fd7cbd8..21058c9 100644
--- a/Makefile
+++ b/Makefile
@@ -25,22 +25,22 @@ ONBLD_TOOLS=/opt/onbld
# (a) we know the debug code builds, and (b) install non-debug.
install: FRC
$(ONBLD_TOOLS)/bin/bldenv myenv.sh \
- "cd usr/src ; make setup"
+ "cd usr/src ; $(MAKE) setup"
$(ONBLD_TOOLS)/bin/bldenv -d myenv.sh \
- "cd usr/src/uts ; make install"
+ "cd usr/src/uts ; $(MAKE) install"
$(ONBLD_TOOLS)/bin/bldenv myenv.sh \
- "cd usr/src ; make install"
+ "cd usr/src ; $(MAKE) install"
debug: FRC
$(ONBLD_TOOLS)/bin/bldenv -d myenv.sh \
- "cd usr/src ; make install"
+ "cd usr/src ; $(MAKE) install"
clean: FRC
$(ONBLD_TOOLS)/bin/bldenv myenv.sh \
- "cd usr/src ; make clobber"
+ "cd usr/src ; $(MAKE) clobber"
package: FRC
$(ONBLD_TOOLS)/bin/bldenv myenv.sh \
- "cd usr/src/pkg ; make install"
+ "cd usr/src/pkg ; $(MAKE) install"
FRC: