lkml.org 
[lkml]   [2010]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] x86, setup: reorgize the early_console_setup
On 08/02/2010 12:13 AM, Yinghai Lu wrote:
>
> Seperate early_console_setup from tty.c
> also make main.c to include printf.c/string.c/cmdline.c
>
> will reuse early_serial_console.c/string.c/printf.c/cmdline.c in compressed/misc.c
>


The way to reuse files in boot/compressed/ would be just to create .c
files in boot/compressed/ with, for example:

/* string.c */
#include "../string.c"

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.



\
 
 \ /
  Last update: 2010-08-02 09:21    [W:0.119 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site