summaryrefslogtreecommitdiff
path: root/sys-fs/yaffs2-utils
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-fs/yaffs2-utils
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-fs/yaffs2-utils')
-rw-r--r--sys-fs/yaffs2-utils/Manifest5
-rw-r--r--sys-fs/yaffs2-utils/files/yaffs2-utils-9999-build.patch46
-rw-r--r--sys-fs/yaffs2-utils/metadata.xml8
-rw-r--r--sys-fs/yaffs2-utils/yaffs2-utils-9999.ebuild29
4 files changed, 88 insertions, 0 deletions
diff --git a/sys-fs/yaffs2-utils/Manifest b/sys-fs/yaffs2-utils/Manifest
new file mode 100644
index 000000000000..c6bc924ee677
--- /dev/null
+++ b/sys-fs/yaffs2-utils/Manifest
@@ -0,0 +1,5 @@
+AUX yaffs2-utils-9999-build.patch 1373 SHA256 05c5ef75b8c2472f5946f3a062842194925cea7bc87b8a058ea1367e1862a2f9 SHA512 4c39117805985fa4cd8956bffb360e024211777d4e4f6ac1bfaf9143f88b5fa255a443ffab64594306cec03cd40173117970e8d7488e370512c86ac96ee21a04 WHIRLPOOL 967649c92fa25514a0c55602953550b1e7e27394e4c707e7d6f33cf7dc8908c1e597f1fc5787e520c991ebff9b10f5ee448f3e77da038ca08f253c51e10ee1cd
+EBUILD yaffs2-utils-9999.ebuild 533 SHA256 6cf0814b6eed70ca9bc8b46ce7de53137a0fc822c2800a889ded9ca721f1e0d6 SHA512 9777b98b673e32b523e82f29a164080037fa8ffdf7e6ed52680303ab8d816f10240ee457cc7538ba38135fa26c1b025e9734fa17389f853aad9cf28588aff5c3 WHIRLPOOL 342c62b2ee6e50a32f860337531551eac686bc5a782e7baa783821dc432d5654f2425b269c6a2911b0317437c57f31ae6483c00e1dc2ed1b2187d517afe77436
+MISC ChangeLog 2478 SHA256 7a3604550ce7c7322ff77aefab8be943128285c8b1fef69fcd11372d01da5cb6 SHA512 3e860df7f6d23097028fc3c2490085577f470305a30a62c646d96230695ae1a401989c1100690a3281323fdfca0927fceb8492ad43c93284927ffedb481892a3 WHIRLPOOL 4955683036af5625d72f524e7d1b186f2a9ddfd3ffee1142c237975625b2f18b11141e6a8d8f61c72da49b13fd10e84c1b750800e827c12f95b8f9adb2d8f1bd
+MISC ChangeLog-2015 820 SHA256 ac67eeda7d0d25440b0502155c7d7ca2aa7d90f628e900ae0df84c3dbfee0457 SHA512 56ece9b3f457793c52a43365cd5dd3ef74fd7996bf0e335594275d9e6688fe092acc3dcb75787d8c52d5f114b9c915f743a5a29a17299851b75c9fbde9fe7069 WHIRLPOOL 71d5a1df3ce3848af9ac73efc593bcf24c3004e69fb6dde3095eb1612883fc0441a8d639c62699fb643dd8307f52e95e209b51c11d0b1bdaca5ccbb053538e02
+MISC metadata.xml 247 SHA256 751aa1f012df292bed9716a5c6a7e64114b695d2ba0c0572fc7e87fc3bbcebc5 SHA512 15df289e0f962f564551f61ada3cfef0311f6af639887def780bf5ad3be105515c8d24c950ff340ed35d89b9cd994af3540322b684c5dec3b43ec6bb0041aa4e WHIRLPOOL b6c074cf39f6ec1e2d085151836db47f9a4d71bcc9cc3296889bfa10172c7f07837ca79c8613f9c483b1332683e78eebe88e0a433a7caf801fc7ccac2552cd53
diff --git a/sys-fs/yaffs2-utils/files/yaffs2-utils-9999-build.patch b/sys-fs/yaffs2-utils/files/yaffs2-utils-9999-build.patch
new file mode 100644
index 000000000000..ecbb958d434b
--- /dev/null
+++ b/sys-fs/yaffs2-utils/files/yaffs2-utils-9999-build.patch
@@ -0,0 +1,46 @@
+From 3f4b0661b63efaca78791612ce9be84271d784a5 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Mon, 5 Nov 2012 02:08:27 -0500
+Subject: [PATCH] fix build build system
+
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ utils/Makefile | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/utils/Makefile b/utils/Makefile
+index 710ebbf..26aea6b 100644
+--- a/utils/Makefile
++++ b/utils/Makefile
+@@ -16,14 +16,13 @@
+
+ #KERNELDIR = /usr/src/kernel-headers-2.4.18
+
+-CFLAGS = -O2 -Wall -DCONFIG_YAFFS_UTIL
++CFLAGS+= -Wall -DCONFIG_YAFFS_UTIL -DCONFIG_YAFFS_DEFINES_TYPES
+ CFLAGS+= -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations
+ CFLAGS+= -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline
+
+ ## Change if you are using a cross-compiler
+ MAKETOOLS =
+
+-CC=$(MAKETOOLS)gcc
+
+ COMMON_BASE_C_LINKS = yaffs_ecc.c
+ COMMON_BASE_LINKS = $(COMMON_BASE_C_LINKS) yaffs_ecc.h yaffs_guts.h yaffs_packedtags2.h yaffs_trace.h
+@@ -57,10 +56,10 @@ $(COMMONOBJS) $(MKYAFFSIMAGEOBJS) $(MKYAFFS2IMAGEOBJS) : %.o: %.c
+ $(CC) -c $(CFLAGS) $< -o $@
+
+ mkyaffsimage: $(MKYAFFSIMAGEOBJS) $(COMMONOBJS)
+- $(CC) -o $@ $^
++ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
+
+ mkyaffs2image: $(MKYAFFS2IMAGEOBJS) $(COMMONOBJS)
+- $(CC) -o $@ $^
++ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
+
+
+ clean:
+--
+1.7.12.4
+
diff --git a/sys-fs/yaffs2-utils/metadata.xml b/sys-fs/yaffs2-utils/metadata.xml
new file mode 100644
index 000000000000..71b1461e1146
--- /dev/null
+++ b/sys-fs/yaffs2-utils/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>embedded@gentoo.org</email>
+ <name>Embedded Gentoo</name>
+</maintainer>
+</pkgmetadata>
diff --git a/sys-fs/yaffs2-utils/yaffs2-utils-9999.ebuild b/sys-fs/yaffs2-utils/yaffs2-utils-9999.ebuild
new file mode 100644
index 000000000000..dc90c933a622
--- /dev/null
+++ b/sys-fs/yaffs2-utils/yaffs2-utils-9999.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+EGIT_REPO_URI="git://www.aleph1.co.uk/yaffs2"
+EGIT_SOURCEDIR=${WORKDIR}
+
+inherit eutils git-2 toolchain-funcs
+
+DESCRIPTION="tools for generating YAFFS images"
+HOMEPAGE="http://www.aleph1.co.uk/yaffs/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+S=${WORKDIR}/utils
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-build.patch
+ tc-export CC
+}
+
+src_install() {
+ dobin mkyaffsimage mkyaffs2image
+ dodoc ../README-linux
+}