]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
[contrib][linux] Fix make import-upstream
authorNick Terrell <terrelln@fb.com>
Wed, 2 Dec 2020 19:42:25 +0000 (11:42 -0800)
committerNick Terrell <terrelln@fb.com>
Wed, 2 Dec 2020 19:43:28 +0000 (11:43 -0800)
contrib/linux-kernel/Makefile

index a3593d4df94c2bfce39116640c8ca3182a145b35..b8a65e910439d22da0900ef679cd4655abdecf01 100644 (file)
@@ -63,15 +63,8 @@ import: libzstd
        cp -r linux/lib/zstd $(LINUX)/lib
 
 import-upstream:
-       rm -f $(LINUX)/include/linux/zstd.h
-       rm -f $(LINUX)/include/linux/zstd_errors.h
        rm -rf $(LINUX)/lib/zstd
        mkdir $(LINUX)/lib/zstd
-       cp linux_zstd.h $(LINUX)/include/linux/zstd.h
-       cp zstd_compress_module.c $(LINUX)/lib/zstd
-       cp zstd_decompress_module.c $(LINUX)/lib/zstd
-       cp decompress_sources.h $(LINUX)/lib/zstd
-       cp linux.mk $(LINUX)/lib/zstd/Makefile
        cp ../../lib/zstd.h $(LINUX)/lib/zstd
        cp -r ../../lib/common $(LINUX)/lib/zstd
        cp -r ../../lib/compress $(LINUX)/lib/zstd