> On Sep 17, 2015, at 6:53 PM, Marek Vasut <ma...@denx.de> wrote: > > On Friday, September 18, 2015 at 03:41:40 AM, Khem Raj wrote: >>> On Sep 17, 2015, at 7:31 AM, Marek Vasut <ma...@denx.de> wrote: >>> >>> Add a patch which adds a configuration for the nios2 processor. >>> >>> Signed-off-by: Marek Vasut <ma...@denx.de> >>> --- >>> .../0001-libgpg-error-Add-nios2-support.patch | 45 >>> ++++++++++++++++++++++ .../libgpg-error/libgpg-error_1.19.bb >>> | 4 +- >>> 2 files changed, 48 insertions(+), 1 deletion(-) >>> create mode 100644 >>> meta/recipes-support/libgpg-error/libgpg-error/0001-libgpg-error-Add-nio >>> s2-support.patch >>> >>> diff --git >>> a/meta/recipes-support/libgpg-error/libgpg-error/0001-libgpg-error-Add-n >>> ios2-support.patch >>> b/meta/recipes-support/libgpg-error/libgpg-error/0001-libgpg-error-Add-n >>> ios2-support.patch new file mode 100644 >>> index 0000000..8362c69 >>> --- /dev/null >>> +++ >>> b/meta/recipes-support/libgpg-error/libgpg-error/0001-libgpg-error-Add-n >>> ios2-support.patch @@ -0,0 +1,45 @@ >>> +From b2af652f43991e4ce6297917da542a9eb5135939 Mon Sep 17 00:00:00 2001 >>> +From: Marek Vasut <ma...@denx.de> >>> +Date: Thu, 17 Sep 2015 03:28:06 +0200 >>> +Subject: [PATCH] libgpg-error: Add nios2 support >>> + >>> +Add configuration for the NIOS2 processor. >>> + >>> +Signed-off-by: Marek Vasut <ma...@denx.de> >>> +--- >>> + src/syscfg/lock-obj-pub.nios2-unknown-linux-gnu.h | 23 >>> +++++++++++++++++++++++ + 1 file changed, 23 insertions(+) >>> + create mode 100644 src/syscfg/lock-obj-pub.nios2-unknown-linux-gnu.h >>> + >>> +diff --git a/src/syscfg/lock-obj-pub.nios2-unknown-linux-gnu.h >>> b/src/syscfg/lock-obj-pub.nios2-unknown-linux-gnu.h +new file mode >>> 100644 >>> +index 0000000..3a24571 >>> +--- /dev/null >>> ++++ b/src/syscfg/lock-obj-pub.nios2-unknown-linux-gnu.h >>> +@@ -0,0 +1,23 @@ >>> ++## lock-obj-pub.nios2-unknown-linux-gnu.h >>> ++## File created by gen-posix-lock-obj - DO NOT EDIT >>> ++## To be included by mkheader into gpg-error.h >>> ++ >> >> how was this file generated ? > > There's a tool for that, see src/gen-posix-lock-obj.c . Since I don't have > a running NIOS2/f yet, I had to approximate what it does. If you read the > source code, it's quite trivial in fact.
I understood the code, I was asking if this was a copy of some other arch or freshly generated by the described generation process. But seems you answered this. -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core