Messages in this thread | | | Date | Mon, 02 Aug 2010 00:18:46 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [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.
| |