From patchwork Sun Oct 21 15:40:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yann Diorcet X-Patchwork-Id: 193042 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hugin.dotsrc.org (hugin.dotsrc.org [130.225.254.102]) by ozlabs.org (Postfix) with ESMTP id 2BDE52C008D for ; Mon, 22 Oct 2012 02:41:09 +1100 (EST) Received: from hugin.dotsrc.org (localhost [127.0.0.1]) by hugin.dotsrc.org (Postfix) with ESMTP id E2C7B3FBAE for ; Sun, 21 Oct 2012 17:41:07 +0200 (CEST) X-Original-To: dev@oe-lite.org Delivered-To: dev@oe-lite.org Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by hugin.dotsrc.org (Postfix) with ESMTPS id 41C763FBAE for ; Sun, 21 Oct 2012 17:41:06 +0200 (CEST) Received: by mail-wi0-f181.google.com with SMTP id hq12so1197783wib.16 for ; Sun, 21 Oct 2012 08:41:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=8+BLidyg7CsUdMsQ6vR9DpkPm7CaRkOSrjuRWlUlEl8=; b=EkXociR6is6gwv0jc65w+P3zvi/QgjT9ewZD27C4am+0dKVOMnI7eXDBMUFk+BYQ3f ONs+ZEHsp04D4PyrV8e0zLYBm6NP+FH5V3ivNeglRQvZ7hmLVjCrwR2SIT6AW1JSubnV JX2kibDdGuEJbyPup2gF1u+OPDR+2pMOeWmDLFBsot3MDgzM1L9h0lpfpzkIvmfQZzhD r50USUIlWcQPBPbdQ+MU0y9Arp1STLZHhIrYoQYUzkrKD2W4GZrMb/2vuXdw92Rbnask slDosnNn6Zw8pOUood5DoS+3+Mj2KXPPVBXJecZmfItUfHaRVvzp9v0uFTnvZnvtF5kO W3Sw== Received: by 10.180.104.97 with SMTP id gd1mr15441165wib.4.1350834065727; Sun, 21 Oct 2012 08:41:05 -0700 (PDT) Received: from localhost.localdomain (dom38-1-82-236-154-183.fbx.proxad.net. [82.236.154.183]) by mx.google.com with ESMTPS id p4sm16536423wix.0.2012.10.21.08.41.04 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 21 Oct 2012 08:41:04 -0700 (PDT) From: Yann Diorcet To: dev@oe-lite.org Subject: [PATCH] Forget patch for kernel Date: Sun, 21 Oct 2012 17:40:51 +0200 Message-Id: <1350834051-9611-1-git-send-email-diorcet.yann@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: References: Cc: Yann Diorcet X-BeenThere: dev@oe-lite.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: OE-lite development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dev-bounces@oe-lite.org Errors-To: dev-bounces@oe-lite.org From: Yann Diorcet --- recipes/linux/linux-omap4/osx.patch | 73 +++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 recipes/linux/linux-omap4/osx.patch diff --git a/recipes/linux/linux-omap4/osx.patch b/recipes/linux/linux-omap4/osx.patch new file mode 100644 index 0000000..8532f79 --- /dev/null +++ b/recipes/linux/linux-omap4/osx.patch @@ -0,0 +1,73 @@ +diff -urN kernel/scripts/genksyms/parse.c_shipped kernel2/scripts/genksyms/parse.c_shipped +--- kernel/scripts/genksyms/parse.c_shipped 2012-10-04 10:19:27.000000000 +0200 ++++ kernel2/scripts/genksyms/parse.c_shipped 2012-10-04 11:04:39.000000000 +0200 +@@ -160,7 +160,11 @@ + + + #include ++#ifndef __APPLE__ + #include ++#else ++#include ++#endif + #include "genksyms.h" + + static int is_typedef; +diff -urN kernel/scripts/genksyms/parse.y kernel2/scripts/genksyms/parse.y +--- kernel/scripts/genksyms/parse.y 2012-10-04 10:19:27.000000000 +0200 ++++ kernel2/scripts/genksyms/parse.y 2012-10-04 10:21:35.000000000 +0200 +@@ -24,7 +24,11 @@ + %{ + + #include ++#ifdef __APPLE__ ++#include ++#else + #include ++#endif + #include "genksyms.h" + + static int is_typedef; +diff -urN kernel/scripts/mod/mk_elfconfig.c kernel2/scripts/mod/mk_elfconfig.c +--- kernel/scripts/mod/mk_elfconfig.c 2012-10-04 10:19:27.000000000 +0200 ++++ kernel2/scripts/mod/mk_elfconfig.c 2012-10-04 11:28:53.000000000 +0200 +@@ -1,7 +1,11 @@ + #include + #include + #include ++#ifndef __APPLE__ + #include ++#else ++#include ++#endif + + int + main(int argc, char **argv) +diff -urN kernel/scripts/mod/modpost.h kernel2/scripts/mod/modpost.h +--- kernel/scripts/mod/modpost.h 2012-10-04 10:19:27.000000000 +0200 ++++ kernel2/scripts/mod/modpost.h 2012-10-04 12:26:20.000000000 +0200 +@@ -7,7 +7,24 @@ + #include + #include + #include ++#ifndef __APPLE__ + #include ++#else ++#include ++#define R_386_NONE 0 ++#define R_386_32 1 ++#define R_386_PC32 2 ++#define R_ARM_NONE 0 ++#define R_ARM_PC24 1 ++#define R_ARM_ABS32 2 ++#define R_MIPS_NONE 0 ++#define R_MIPS_16 1 ++#define R_MIPS_32 2 ++#define R_MIPS_REL32 3 ++#define R_MIPS_26 4 ++#define R_MIPS_HI16 5 ++#define R_MIPS_LO16 6 ++#endif + + #include "elfconfig.h" +