]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Fix make dist on non-pc.
authorAndrey Borzenkov <arvidjaar@gmail.com>
Fri, 7 Jun 2013 16:23:08 +0000 (18:23 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 7 Jun 2013 16:23:08 +0000 (18:23 +0200)
ChangeLog
grub-core/Makefile.am
grub-core/Makefile.core.def
grub-core/boot/i386/pc/startup_raw.S
grub-core/boot/mips/loongson/fwstart.S

index 15fd56227bc8c0265f859ac2a9f3c168e0403e99..6fd2366b562bd90a6da41bcbea04d3708579da93 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,8 @@
-2013-06-02  Francesco Lavra  <francescolavra.fl@gmail.com>
+2013-06-07  Andrey Borzenkov <arvidjaar@gmail.com>
+
+       Fix make dist on non-pc.
+
+2013-06-07  Francesco Lavra  <francescolavra.fl@gmail.com>
 
        * grub-core/kern/corecmd.c (grub_core_cmd_ls): Fix handling of paths
        without a device name.
index c0441d2b3e636dc674a4160dce4d7102ddca65e0..e0fc14db100115b1f273b9a32269c2aed8a95dc6 100644 (file)
@@ -45,9 +45,9 @@ gensm712: video/sm712.c
 CLEANFILES += gensm712
 
 # trigtables.c
-sm712_start.S: gensm712 video/sm712.c $(top_srcdir)/configure.ac
+sm712_start.h: gensm712 video/sm712.c $(top_srcdir)/configure.ac
        $(builddir)/gensm712 > $@
-CLEANFILES += sm712_start.S
+CLEANFILES += sm712_start.h
 
 # XXX Use Automake's LEX & YACC support
 grub_script.tab.h: script/parser.y
@@ -60,12 +60,9 @@ grub_script.yy.h: script/yylex.l
        $(LEX) -o grub_script.yy.c --header-file=grub_script.yy.h $<
 grub_script.yy.c: grub_script.yy.h
 
-rs_decoder.S: $(srcdir)/lib/reed_solomon.c
+rs_decoder.h: $(srcdir)/lib/reed_solomon.c
        $(TARGET_CC) $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) -Os -I$(top_builddir) -S -DSTANDALONE -o $@ $< -g0 -mregparm=3 -ffreestanding
 
-boot/i386/pc/startup_raw.S: $(builddir)/rs_decoder.S
-boot/mips/loongson/fwstart.S: $(builddir)/sm712_start.S
-
 CLEANFILES += grub_script.yy.c grub_script.yy.h
 
 include $(srcdir)/Makefile.core.am
index 6c98a01ded8bffc70046ae6c9890b5b774ab5d0e..6aeb79b596932b27b98bf03ffa72e5835a2159d6 100644 (file)
@@ -394,6 +394,7 @@ image = {
 image = {
   name = lzma_decompress;
   i386_pc = boot/i386/pc/startup_raw.S;
+  i386_pc_nodist = rs_decoder.h;
 
   objcopyflags = '-O binary';
   ldflags = '$(TARGET_IMG_LDFLAGS) $(TARGET_IMG_BASE_LDOPT),0x8200';
@@ -403,6 +404,7 @@ image = {
 image = {
   name = fwstart;
   mips_loongson = boot/mips/loongson/fwstart.S;
+  mips_loongson_nodist = sm712_start.h;
   objcopyflags = '-O binary';
   ldflags = '-static-libgcc -lgcc -Wl,-N,-S,-Ttext,0xbfc00000,-Bstatic';
   enable = mips_loongson;
index 81c0bc4576a67527fdc8fcb5c98a67456ecb1a32..06dec8c06bd350d572f7226572529b1daece2985 100644 (file)
@@ -119,7 +119,7 @@ LOCAL (codestart):
 
 #include "../../../kern/i386/realmode.S"
 
-#include <rs_decoder.S>
+#include <rs_decoder.h>
 
        .text
 
index ec57be6a188c399ad39df0cb28f42c8d964a2ab8..11ad1c91a6e572021785b0b0d4ce8be6a98134fd 100644 (file)
@@ -886,7 +886,7 @@ table_cont:
        b init_end
          nop
 init_table:    
-#include "sm712_start.S"
+#include "sm712_start.h"
 init_table_end:
        .align 4
 init_end: