diff options
author | Toomas Soome <tsoome@me.com> | 2019-09-09 13:10:39 +0300 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2019-09-27 21:39:17 +0300 |
commit | 10ae99ee6a0e5168918d2bba208bcf536edb08f7 (patch) | |
tree | 329ad2ea86b264ce2350942fd309353af411d26f /usr/src/uts/common/Makefile.rules | |
parent | f2211ffec9a7ac3c1efc6de9347072f816f10a60 (diff) | |
download | illumos-joyent-10ae99ee6a0e5168918d2bba208bcf536edb08f7.tar.gz |
11667 remove duplicate lz4 implementations
Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/uts/common/Makefile.rules')
-rw-r--r-- | usr/src/uts/common/Makefile.rules | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/src/uts/common/Makefile.rules b/usr/src/uts/common/Makefile.rules index a489d8314a..688faf0000 100644 --- a/usr/src/uts/common/Makefile.rules +++ b/usr/src/uts/common/Makefile.rules @@ -49,6 +49,7 @@ $(OBJS_DIR)/decompress.o := CPPFLAGS += -I$(SRC)/contrib/zlib $(OBJS_DIR)/zmod.o := CPPFLAGS += -I$(SRC)/contrib/zlib $(OBJS_DIR)/zmod_subr.o := CPPFLAGS += -I$(SRC)/contrib/zlib +$(OBJS_DIR)/lz4.o := CPPFLAGS += -I$(COMMONBASE)/lz4 $(OBJS_DIR)/%.o: $(COMMONBASE)/crypto/aes/%.c $(COMPILE.c) -o $@ $< @@ -361,6 +362,10 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/common/fs/zfs/lua/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) +$(OBJS_DIR)/%.o: $(COMMONBASE)/lz4/%.c + $(COMPILE.c) -o $@ $< + $(CTFCONVERT_O) + $(OBJS_DIR)/%.o: $(UTSBASE)/common/fs/zut/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) |