From cfd0b4e6faffc1268b48ec597d62d71d633d7018 Mon Sep 17 00:00:00 2001 From: proski Date: Mon, 28 Jul 2008 22:35:40 +0000 Subject: [PATCH] 2008-07-28 Pavel Roskin * genmk.rb: Add a warning to the beginning of the output that it's a generated file and should not be edited. --- ChangeLog | 5 +++++ conf/common.mk | 1 + conf/i386-coreboot.mk | 1 + conf/i386-efi.mk | 1 + conf/i386-ieee1275.mk | 1 + conf/i386-pc.mk | 1 + conf/powerpc-ieee1275.mk | 1 + conf/sparc64-ieee1275.mk | 1 + conf/x86_64-efi.mk | 1 + genmk.rb | 4 ++++ 10 files changed, 17 insertions(+) diff --git a/ChangeLog b/ChangeLog index 9288a2a74..5145f50a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-07-28 Pavel Roskin + + * genmk.rb: Add a warning to the beginning of the output that + it's a generated file and should not be edited. + 2008-07-28 Robert Millan * disk/raid.c (grub_raid_scan_device): Do not abort when two disks diff --git a/conf/common.mk b/conf/common.mk index 149673f6d..11aeee981 100644 --- a/conf/common.mk +++ b/conf/common.mk @@ -1,4 +1,5 @@ # -*- makefile -*- +# Generated by genmk.rb, please don't edit! # For grub-probe. sbin_UTILITIES += grub-probe diff --git a/conf/i386-coreboot.mk b/conf/i386-coreboot.mk index aab8e4b5e..41fc37b3d 100644 --- a/conf/i386-coreboot.mk +++ b/conf/i386-coreboot.mk @@ -1,4 +1,5 @@ # -*- makefile -*- +# Generated by genmk.rb, please don't edit! COMMON_ASFLAGS = -m32 -nostdinc -fno-builtin COMMON_CFLAGS = -ffreestanding -mrtd -mregparm=3 diff --git a/conf/i386-efi.mk b/conf/i386-efi.mk index 173fc4670..28e38771b 100644 --- a/conf/i386-efi.mk +++ b/conf/i386-efi.mk @@ -1,4 +1,5 @@ # -*- makefile -*- +# Generated by genmk.rb, please don't edit! COMMON_ASFLAGS = -nostdinc -fno-builtin -m32 COMMON_CFLAGS = -fno-builtin -m32 diff --git a/conf/i386-ieee1275.mk b/conf/i386-ieee1275.mk index 5aa516a7a..591408433 100644 --- a/conf/i386-ieee1275.mk +++ b/conf/i386-ieee1275.mk @@ -1,4 +1,5 @@ # -*- makefile -*- +# Generated by genmk.rb, please don't edit! COMMON_ASFLAGS = -m32 -nostdinc -fno-builtin COMMON_CFLAGS = -ffreestanding -mrtd -mregparm=3 diff --git a/conf/i386-pc.mk b/conf/i386-pc.mk index 6aeef6cd6..28d6cebdf 100644 --- a/conf/i386-pc.mk +++ b/conf/i386-pc.mk @@ -1,4 +1,5 @@ # -*- makefile -*- +# Generated by genmk.rb, please don't edit! GRUB_MEMORY_MACHINE_LINK_ADDR = 0x8200 diff --git a/conf/powerpc-ieee1275.mk b/conf/powerpc-ieee1275.mk index e341cf5fa..f9bdfe36e 100644 --- a/conf/powerpc-ieee1275.mk +++ b/conf/powerpc-ieee1275.mk @@ -1,4 +1,5 @@ +# Generated by genmk.rb, please don't edit! # -*- makefile -*- COMMON_ASFLAGS = -nostdinc -D__ASSEMBLY__ diff --git a/conf/sparc64-ieee1275.mk b/conf/sparc64-ieee1275.mk index 88ee85370..a2b963863 100644 --- a/conf/sparc64-ieee1275.mk +++ b/conf/sparc64-ieee1275.mk @@ -1,4 +1,5 @@ +# Generated by genmk.rb, please don't edit! # -*- makefile -*- COMMON_ASFLAGS = -nostdinc diff --git a/conf/x86_64-efi.mk b/conf/x86_64-efi.mk index aacd31f92..495af8308 100644 --- a/conf/x86_64-efi.mk +++ b/conf/x86_64-efi.mk @@ -1,4 +1,5 @@ # -*- makefile -*- +# Generated by genmk.rb, please don't edit! COMMON_ASFLAGS = -nostdinc -fno-builtin -m64 COMMON_CFLAGS = -fno-builtin -m64 diff --git a/genmk.rb b/genmk.rb index cb0a67501..9ac1273fb 100644 --- a/genmk.rb +++ b/genmk.rb @@ -286,6 +286,10 @@ pmodules = [] programs = [] scripts = [] +l = gets +print l +print "# Generated by genmk.rb, please don't edit!\n" + cont = false s = nil while l = gets