OSDN Git Service

core/Makefile: fix a dependency issue
authorChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 5 Nov 2009 04:54:36 +0000 (12:54 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 26 Nov 2010 07:07:28 +0000 (15:07 +0800)
The symlinks in /sbin must be created before ramdisk.img being made.

core/Makefile

index b2cdaae..44c8130 100644 (file)
@@ -296,7 +296,7 @@ BUILT_RAMDISK_TARGET := $(PRODUCT_OUT)/ramdisk.img
 
 # We just build this directly to the install location.
 INSTALLED_RAMDISK_TARGET := $(BUILT_RAMDISK_TARGET)
-$(INSTALLED_RAMDISK_TARGET): $(MKBOOTFS) $(INTERNAL_RAMDISK_FILES) | $(MINIGZIP)
+$(INSTALLED_RAMDISK_TARGET): $(MKBOOTFS) $(INTERNAL_RAMDISK_FILES) | $(MINIGZIP) $(addprefix $(TARGET_OUT)/bin/,$(SBIN_TOOLS))
        $(call pretty,"Target ram disk: $@")
        $(hide) $(MKBOOTFS) $(TARGET_ROOT_OUT) | $(MINIGZIP) > $@