瀏覽代碼

[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 年之前
父節點
當前提交
a63ef9207d
共有 2 個文件被更改,包括 7 次插入5 次删除
  1. 0
    5
      src/arch/i386/Makefile
  2. 7
    0
      src/arch/i386/prefix/unnrv2b16.S

+ 0
- 5
src/arch/i386/Makefile 查看文件

@@ -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 查看文件

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

Loading…
取消
儲存