diff options
Diffstat (limited to 'meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/0001-Makefile-only-build-ubi-utils.patch')
-rw-r--r-- | meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/0001-Makefile-only-build-ubi-utils.patch | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/0001-Makefile-only-build-ubi-utils.patch b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/0001-Makefile-only-build-ubi-utils.patch index 9d5e4ebf0..6e1b9ff10 100644 --- a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/0001-Makefile-only-build-ubi-utils.patch +++ b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/0001-Makefile-only-build-ubi-utils.patch | |||
@@ -25,11 +25,11 @@ Signed-off-by: Andrea Adami <andrea.adami@gmail.com> | |||
25 | Makefile | 24 ++---------------------- | 25 | Makefile | 24 ++---------------------- |
26 | 1 file changed, 2 insertions(+), 22 deletions(-) | 26 | 1 file changed, 2 insertions(+), 22 deletions(-) |
27 | 27 | ||
28 | diff --git a/Makefile b/Makefile | 28 | Index: git/Makefile |
29 | index eade234..2275865 100644 | 29 | =================================================================== |
30 | --- a/Makefile | 30 | --- git.orig/Makefile |
31 | +++ b/Makefile | 31 | +++ git/Makefile |
32 | @@ -16,28 +16,13 @@ endif | 32 | @@ -16,28 +16,11 @@ endif |
33 | 33 | ||
34 | TESTS = tests | 34 | TESTS = tests |
35 | 35 | ||
@@ -37,7 +37,7 @@ index eade234..2275865 100644 | |||
37 | - ftl_format flash_erase nanddump doc_loadbios \ | 37 | - ftl_format flash_erase nanddump doc_loadbios \ |
38 | - ftl_check mkfs.jffs2 flash_lock flash_unlock \ | 38 | - ftl_check mkfs.jffs2 flash_lock flash_unlock \ |
39 | - flash_otp_info flash_otp_dump flash_otp_lock flash_otp_write \ | 39 | - flash_otp_info flash_otp_dump flash_otp_lock flash_otp_write \ |
40 | - mtd_debug flashcp nandwrite nandtest \ | 40 | - mtd_debug flashcp nandwrite nandtest mtdpart \ |
41 | - jffs2dump \ | 41 | - jffs2dump \ |
42 | - nftldump nftl_format docfdisk \ | 42 | - nftldump nftl_format docfdisk \ |
43 | - rfddump rfdformat \ | 43 | - rfddump rfdformat \ |
@@ -51,15 +51,15 @@ index eade234..2275865 100644 | |||
51 | -BINS += mkfs.ubifs/mkfs.ubifs | 51 | -BINS += mkfs.ubifs/mkfs.ubifs |
52 | -BINS += $(addprefix ubi-utils/,$(UBI_BINS)) | 52 | -BINS += $(addprefix ubi-utils/,$(UBI_BINS)) |
53 | -SCRIPTS = flash_eraseall | 53 | -SCRIPTS = flash_eraseall |
54 | +BINS = $(addprefix ubi-utils/,$(UBI_BINS)) | 54 | - |
55 | 55 | -TARGETS = $(BINS) | |
56 | TARGETS = $(BINS) | ||
57 | -TARGETS += lib/libmtd.a | 56 | -TARGETS += lib/libmtd.a |
58 | -TARGETS += ubi-utils/libubi.a | 57 | -TARGETS += ubi-utils/libubi.a |
58 | +BINS = $(addprefix ubi-utils/,$(UBI_BINS)) | ||
59 | 59 | ||
60 | OBJDEPS = $(BUILDDIR)/include/version.h | 60 | OBJDEPS = $(BUILDDIR)/include/version.h |
61 | 61 | ||
62 | @@ -61,12 +46,9 @@ endif | 62 | @@ -61,12 +44,9 @@ endif |
63 | rm -f $(BUILDDIR)/include/version.h | 63 | rm -f $(BUILDDIR)/include/version.h |
64 | $(MAKE) -C $(TESTS) clean | 64 | $(MAKE) -C $(TESTS) clean |
65 | 65 | ||
@@ -73,7 +73,7 @@ index eade234..2275865 100644 | |||
73 | 73 | ||
74 | tests:: | 74 | tests:: |
75 | $(MAKE) -C $(TESTS) | 75 | $(MAKE) -C $(TESTS) |
76 | @@ -91,8 +73,6 @@ LDLIBS_mkfs.jffs2 = -lz $(LZOLDLIBS) | 76 | @@ -91,8 +71,6 @@ LDLIBS_mkfs.jffs2 = -lz $(LZOLDLIBS) |
77 | LDFLAGS_jffs2reader = $(ZLIBLDFLAGS) $(LZOLDFLAGS) | 77 | LDFLAGS_jffs2reader = $(ZLIBLDFLAGS) $(LZOLDFLAGS) |
78 | LDLIBS_jffs2reader = -lz $(LZOLDLIBS) | 78 | LDLIBS_jffs2reader = -lz $(LZOLDLIBS) |
79 | 79 | ||
@@ -82,6 +82,3 @@ index eade234..2275865 100644 | |||
82 | # | 82 | # |
83 | # Common libmtd | 83 | # Common libmtd |
84 | # | 84 | # |
85 | -- | ||
86 | 1.9.1 | ||
87 | |||