Ver código fonte

[build] Kill off the last multiple-object source file

The build mechanism currently allows for multiple objects per source
file.  The only remaining user of this is unnrv2b.S.  Replace this
usage with a separate unnrv2b16.S wrapper file, as is currently used
for e.g. pxeprefix.S and kpxeprefix.S.
tags/v0.9.8
Michael Brown 15 anos atrás
pai
commit
a63ef9207d
2 arquivos alterados com 7 adições e 5 exclusões
  1. 0
    5
      src/arch/i386/Makefile
  2. 7
    0
      src/arch/i386/prefix/unnrv2b16.S

+ 0
- 5
src/arch/i386/Makefile Ver arquivo

@@ -89,11 +89,6 @@ NON_AUTO_SRCS	+= arch/i386/core/aout_loader.c
89 89
 NON_AUTO_SRCS	+= arch/i386/core/freebsd_loader.c
90 90
 NON_AUTO_SRCS	+= arch/i386/core/wince_loader.c
91 91
 
92
-# unnrv2b.S is used to generate a 16-bit as well as a 32-bit object.
93
-#
94
-OBJS_unnrv2b	= unnrv2b unnrv2b16
95
-CFLAGS_unnrv2b16 = -DCODE16
96
-
97 92
 # Include common x86 Makefile
98 93
 #
99 94
 MAKEDEPS	+= arch/x86/Makefile

+ 7
- 0
src/arch/i386/prefix/unnrv2b16.S Ver arquivo

@@ -0,0 +1,7 @@
1
+/*
2
+ * 16-bit version of the decompressor
3
+ *
4
+ */
5
+
6
+#define CODE16
7
+#include "unnrv2b.S"

Carregando…
Cancelar
Salvar