public inbox for linux-8086@vger.kernel.org
 help / color / mirror / Atom feed
From: Eddy <eddyx89@gmail.com>
To: ELKS <linux-8086@vger.kernel.org>
Subject: Re: better patch
Date: Wed, 09 Aug 2006 10:40:01 +0200	[thread overview]
Message-ID: <44D99F61.4090905@gmail.com> (raw)
In-Reply-To: <44D92690.9000008@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2731 bytes --]

Sorry, I realized that some stupid auto word-wrap cut the patch in some
line... I'm trying to attach it.

Eddy wrote:
> Sorry I was wrong.. in this patch i have corrected a ld86 parm that
> couldn't let system built. (-t)
>
> File: patch-elks-0.1.3-r2.patch
>
> diff -Naur r2/elks/arch/i86/Makefile elks/arch/i86/Makefile
> --- r2/elks/arch/i86/Makefile   2003-10-14 05:02:42.000000000 +0200
> +++ elks/arch/i86/Makefile      2006-08-09 01:44:24.000000000 +0200
> @@ -92,7 +92,7 @@
>         (cd $(BASEDIR) ; $(LD) $(LDFLAGS) $(ARCH_LD) \
>                 $(ARCH_DIR)/sibo/crt0.o $(ARCH_DIR)/sibo/crt1.o \
>                 init/main.o $(ARCHIVES) $(DRIVERS) \
> -               -t -M -o $(ARCH_DIR)/boot/system > System.tmp ; \
> +               -M -o $(ARCH_DIR)/boot/system > System.tmp ; \
>                 sort -k4 System.tmp > System.map ; rm -f System.tmp )
>
>  #SIBO image build
> @@ -107,7 +107,7 @@
>         (cd $(BASEDIR) ; $(LD) $(LDFLAGS) $(ARCH_LD) \
>                 $(ARCH_DIR)/boot/crt0.o $(ARCH_DIR)/boot/crt1.o \
>                 init/main.o $(ARCHIVES) $(DRIVERS) \
> -               -t -M -o $(ARCH_DIR)/boot/system > System.tmp ; \
> +               -M -o $(ARCH_DIR)/boot/system > System.tmp ; \
>                 sort -k4 System.tmp > System.map ; rm -f System.tmp )
>
>  #PC image build
> diff -Naur r2/elks/arch/i86/boot/setup.S elks/arch/i86/boot/setup.S
> --- r2/elks/arch/i86/boot/setup.S       2003-10-14 05:02:40.000000000 +0200
> +++ elks/arch/i86/boot/setup.S  2006-08-09 01:52:40.000000000 +0200
> @@ -585,7 +585,7 @@
>         or      al,al
>         jnz     is486
>  #endif
> -#ifdef(CONFIG_CPU_80386)
> +#ifdef CONFIG_CPU_80386
>          mov cl,#7
>         lea     si,p80386
>         br      getfpu
> diff -Naur r2/elks/arch/i86/drivers/char/KeyMaps/mkcfg
> elks/arch/i86/drivers/char/KeyMaps/mkcfg
> --- r2/elks/arch/i86/drivers/char/KeyMaps/mkcfg 2003-10-14 05:02:42.000000000 +0200
> +++ elks/arch/i86/drivers/char/KeyMaps/mkcfg    2006-08-09 01:52:40.000000000 +0200
> @@ -13,14 +13,14 @@
>      printf '# Automatically created - do not edit.\n\n' >&3
>      printf "choice 'XT Keyboard support'\t\t" >&3
>      printf '/* Automatically created - do not edit */\n\n' >&4
> -    while read FILE CODE NAME ; do
> +    while read FILE CODE NAME ; do
>         printf '\t\\\n\t%-12s\tCONFIG_KEYMAP_%s' >&3 \
>                 "${SEP}${NAME}" "${CODE}"
>         SEP=' '
>         printf '#include "%s"\t\t/* %s\t%-9s\t*/\n' >&4 \
>                 "${FILE}" "${CODE}" "${NAME}"
>      done
> -    printf '"\t\tAmerican\n\n# EOF.\n' >&3
> +    printf '\"\n' >&3
>  }
>
> -codes | sort +1f | process 3> Config.in 4> keymaps.h
> +codes | process 3> Config.in 4> keymaps.h
>
> EOF
>
>   


[-- Attachment #2: patch-elks-0.1.3-r2.patch --]
[-- Type: text/plain, Size: 2109 bytes --]

diff -Naur r2/elks/arch/i86/Makefile elks/arch/i86/Makefile
--- r2/elks/arch/i86/Makefile	2003-10-14 05:02:42.000000000 +0200
+++ elks/arch/i86/Makefile	2006-08-09 01:44:24.000000000 +0200
@@ -92,7 +92,7 @@
 	(cd $(BASEDIR) ; $(LD) $(LDFLAGS) $(ARCH_LD) \
 		$(ARCH_DIR)/sibo/crt0.o $(ARCH_DIR)/sibo/crt1.o \
 		init/main.o $(ARCHIVES) $(DRIVERS) \
-		-t -M -o $(ARCH_DIR)/boot/system > System.tmp ; \
+		-M -o $(ARCH_DIR)/boot/system > System.tmp ; \
 		sort -k4 System.tmp > System.map ; rm -f System.tmp ) 
 
 #SIBO image build
@@ -107,7 +107,7 @@
 	(cd $(BASEDIR) ; $(LD) $(LDFLAGS) $(ARCH_LD) \
 		$(ARCH_DIR)/boot/crt0.o $(ARCH_DIR)/boot/crt1.o \
 		init/main.o $(ARCHIVES) $(DRIVERS) \
-		-t -M -o $(ARCH_DIR)/boot/system > System.tmp ; \
+		-M -o $(ARCH_DIR)/boot/system > System.tmp ; \
 		sort -k4 System.tmp > System.map ; rm -f System.tmp ) 
 
 #PC image build
diff -Naur r2/elks/arch/i86/boot/setup.S elks/arch/i86/boot/setup.S
--- r2/elks/arch/i86/boot/setup.S	2003-10-14 05:02:40.000000000 +0200
+++ elks/arch/i86/boot/setup.S	2006-08-09 01:52:40.000000000 +0200
@@ -585,7 +585,7 @@
 	or	al,al
 	jnz	is486
 #endif
-#ifdef(CONFIG_CPU_80386)
+#ifdef CONFIG_CPU_80386
         mov cl,#7
 	lea	si,p80386
 	br	getfpu
diff -Naur r2/elks/arch/i86/drivers/char/KeyMaps/mkcfg elks/arch/i86/drivers/char/KeyMaps/mkcfg
--- r2/elks/arch/i86/drivers/char/KeyMaps/mkcfg	2003-10-14 05:02:42.000000000 +0200
+++ elks/arch/i86/drivers/char/KeyMaps/mkcfg	2006-08-09 01:52:40.000000000 +0200
@@ -13,14 +13,14 @@
     printf '# Automatically created - do not edit.\n\n' >&3
     printf "choice 'XT Keyboard support'\t\t" >&3
     printf '/* Automatically created - do not edit */\n\n' >&4
-    while read FILE CODE NAME ; do
+    while read FILE CODE NAME ; do	
 	printf '\t\\\n\t%-12s\tCONFIG_KEYMAP_%s' >&3 \
 		"${SEP}${NAME}" "${CODE}"
 	SEP=' '
 	printf '#include "%s"\t\t/* %s\t%-9s\t*/\n' >&4 \
 		"${FILE}" "${CODE}" "${NAME}"
     done
-    printf '"\t\tAmerican\n\n# EOF.\n' >&3
+    printf '\"\n' >&3
 }
 
-codes | sort +1f | process 3> Config.in 4> keymaps.h
+codes | process 3> Config.in 4> keymaps.h

  reply	other threads:[~2006-08-09  8:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-09  0:04 better patch Eddy
2006-08-09  8:40 ` Eddy [this message]
2006-08-09 17:04   ` Tom McCabe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44D99F61.4090905@gmail.com \
    --to=eddyx89@gmail.com \
    --cc=linux-8086@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox