summaryrefslogtreecommitdiffstats
path: root/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/Makefile.patch
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2012-04-29 22:51:33 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2012-04-30 10:16:17 +0200
commit00bf241a99aab5003993fb2107d72f02b7377470 (patch)
tree06d01a8584d2629553bb1daee714ab07040536fc /meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/Makefile.patch
parent8f9b2e3a102e66426ce5b269a6827fc6a3218bef (diff)
downloadmeta-openembedded-00bf241a99aab5003993fb2107d72f02b7377470.tar.gz
ubi-utils-klibc: initial commit of version 1.4.9
* Initially only ubiattach was targeted (for kexecboot project). * Based on klibc_1.5.25, will be revised once new klibc is out. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
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.patch50
1 files changed, 50 insertions, 0 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
new file mode 100644
index 000000000..2802afe7b
--- /dev/null
+++ b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/Makefile.patch
@@ -0,0 +1,50 @@
1--- a/Makefile 2012-04-29 18:15:30.000000000 +0200
2+++ b/Makefile 2012-04-29 00:43:03.000000000 +0200
3@@ -16,27 +16,11 @@
4
5 TESTS = tests
6
7-MTD_BINS = \
8- ftl_format flash_erase nanddump doc_loadbios \
9- ftl_check mkfs.jffs2 flash_lock flash_unlock \
10- flash_otp_info flash_otp_dump mtd_debug flashcp nandwrite nandtest \
11- jffs2dump \
12- nftldump nftl_format docfdisk \
13- rfddump rfdformat \
14- serve_image recv_image \
15- sumtool jffs2reader
16-UBI_BINS = \
17- ubiupdatevol ubimkvol ubirmvol ubicrc32 ubinfo ubiattach \
18- ubidetach ubinize ubiformat ubirename mtdinfo ubirsvol
19-
20-BINS = $(MTD_BINS)
21-BINS += mkfs.ubifs/mkfs.ubifs
22-BINS += $(addprefix ubi-utils/,$(UBI_BINS))
23-SCRIPTS = flash_eraseall
24+UBI_BINS = ubiupdatevol ubimkvol ubirmvol ubinfo ubiattach ubidetach ubirename mtdinfo ubirsvol
25+
26+BINS = $(addprefix ubi-utils/,$(UBI_BINS))
27
28 TARGETS = $(BINS)
29-TARGETS += lib/libmtd.a
30-TARGETS += ubi-utils/libubi.a
31
32 OBJDEPS = $(BUILDDIR)/include/version.h
33
34@@ -58,7 +42,7 @@
35 rm -f $(BUILDDIR)/include/version.h
36 $(MAKE) -C $(TESTS) clean
37
38-install:: $(addprefix $(BUILDDIR)/,${BINS}) ${SCRIPTS}
39+install:: $(addprefix $(BUILDDIR)/,${BINS})
40 mkdir -p ${DESTDIR}/${SBINDIR}
41 install -m 0755 $^ ${DESTDIR}/${SBINDIR}/
42 mkdir -p ${DESTDIR}/${MANDIR}/man1
43@@ -88,7 +72,6 @@
44 LDFLAGS_jffs2reader = $(ZLIBLDFLAGS) $(LZOLDFLAGS)
45 LDLIBS_jffs2reader = -lz $(LZOLDLIBS)
46
47-$(foreach v,$(MTD_BINS),$(eval $(call mkdep,,$(v))))
48
49 #
50 # Common libmtd