diff options
Diffstat (limited to 'meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/Makefile.patch')
| -rw-r--r-- | meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/Makefile.patch | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/Makefile.patch b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/Makefile.patch index 2802afe7b1..b7dad878bd 100644 --- a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/Makefile.patch +++ b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/Makefile.patch | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | --- a/Makefile 2012-04-29 18:15:30.000000000 +0200 | 1 | --- a/Makefile 2012-05-01 19:46:47.000000000 +0200 |
| 2 | +++ b/Makefile 2012-04-29 00:43:03.000000000 +0200 | 2 | +++ b/Makefile 2012-05-01 19:48:01.000000000 +0200 |
| 3 | @@ -16,27 +16,11 @@ | 3 | @@ -16,27 +16,13 @@ |
| 4 | 4 | ||
| 5 | TESTS = tests | 5 | TESTS = tests |
| 6 | 6 | ||
| @@ -13,16 +13,14 @@ | |||
| 13 | - rfddump rfdformat \ | 13 | - rfddump rfdformat \ |
| 14 | - serve_image recv_image \ | 14 | - serve_image recv_image \ |
| 15 | - sumtool jffs2reader | 15 | - sumtool jffs2reader |
| 16 | -UBI_BINS = \ | 16 | UBI_BINS = \ |
| 17 | - ubiupdatevol ubimkvol ubirmvol ubicrc32 ubinfo ubiattach \ | 17 | ubiupdatevol ubimkvol ubirmvol ubicrc32 ubinfo ubiattach \ |
| 18 | - ubidetach ubinize ubiformat ubirename mtdinfo ubirsvol | 18 | ubidetach ubinize ubiformat ubirename mtdinfo ubirsvol |
| 19 | - | 19 | |
| 20 | -BINS = $(MTD_BINS) | 20 | -BINS = $(MTD_BINS) |
| 21 | -BINS += mkfs.ubifs/mkfs.ubifs | 21 | -BINS += mkfs.ubifs/mkfs.ubifs |
| 22 | -BINS += $(addprefix ubi-utils/,$(UBI_BINS)) | 22 | -BINS += $(addprefix ubi-utils/,$(UBI_BINS)) |
| 23 | -SCRIPTS = flash_eraseall | 23 | -SCRIPTS = flash_eraseall |
| 24 | +UBI_BINS = ubiupdatevol ubimkvol ubirmvol ubinfo ubiattach ubidetach ubirename mtdinfo ubirsvol | ||
| 25 | + | ||
| 26 | +BINS = $(addprefix ubi-utils/,$(UBI_BINS)) | 24 | +BINS = $(addprefix ubi-utils/,$(UBI_BINS)) |
| 27 | 25 | ||
| 28 | TARGETS = $(BINS) | 26 | TARGETS = $(BINS) |
| @@ -31,7 +29,7 @@ | |||
| 31 | 29 | ||
| 32 | OBJDEPS = $(BUILDDIR)/include/version.h | 30 | OBJDEPS = $(BUILDDIR)/include/version.h |
| 33 | 31 | ||
| 34 | @@ -58,7 +42,7 @@ | 32 | @@ -58,12 +44,9 @@ |
| 35 | rm -f $(BUILDDIR)/include/version.h | 33 | rm -f $(BUILDDIR)/include/version.h |
| 36 | $(MAKE) -C $(TESTS) clean | 34 | $(MAKE) -C $(TESTS) clean |
| 37 | 35 | ||
| @@ -39,8 +37,13 @@ | |||
| 39 | +install:: $(addprefix $(BUILDDIR)/,${BINS}) | 37 | +install:: $(addprefix $(BUILDDIR)/,${BINS}) |
| 40 | mkdir -p ${DESTDIR}/${SBINDIR} | 38 | mkdir -p ${DESTDIR}/${SBINDIR} |
| 41 | install -m 0755 $^ ${DESTDIR}/${SBINDIR}/ | 39 | install -m 0755 $^ ${DESTDIR}/${SBINDIR}/ |
| 42 | mkdir -p ${DESTDIR}/${MANDIR}/man1 | 40 | - mkdir -p ${DESTDIR}/${MANDIR}/man1 |
| 43 | @@ -88,7 +72,6 @@ | 41 | - install -m 0644 mkfs.jffs2.1 ${DESTDIR}/${MANDIR}/man1/ |
| 42 | - -gzip -9f ${DESTDIR}/${MANDIR}/man1/*.1 | ||
| 43 | |||
| 44 | tests:: | ||
| 45 | $(MAKE) -C $(TESTS) | ||
| 46 | @@ -88,7 +71,6 @@ | ||
| 44 | LDFLAGS_jffs2reader = $(ZLIBLDFLAGS) $(LZOLDFLAGS) | 47 | LDFLAGS_jffs2reader = $(ZLIBLDFLAGS) $(LZOLDFLAGS) |
| 45 | LDLIBS_jffs2reader = -lz $(LZOLDLIBS) | 48 | LDLIBS_jffs2reader = -lz $(LZOLDLIBS) |
| 46 | 49 | ||
