diff mbox

Makefile.build: Fix built-in.o linking errors

Message ID 20091216170114.0b50c25debf12a9aa545bf810459b532.5b12d5606d.wbe@email.secureserver.net (mailing list archive)
State New, archived
Headers show

Commit Message

Jiafu He Dec. 17, 2009, 12:01 a.m. UTC
None
diff mbox

Patch

diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index 341b589..c8c8c81 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -82,7 +82,7 @@  ifneq ($(strip $(lib-y) $(lib-m) $(lib-n) $(lib-)),)
 lib-target := $(obj)/lib.a
 endif
 
-ifneq ($(strip $(obj-y) $(obj-m) $(obj-n) $(obj-) $(lib-target)),)
+ifneq ($(strip $(obj-y) $(obj-m) $(obj-n) $(obj-) $(subdir-m)
$(lib-target)),)
 builtin-target := $(obj)/built-in.o
 endif