diff options
author | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2011-10-18 11:17:33 +0159 |
---|---|---|
committer | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2011-10-18 11:17:33 +0159 |
commit | 649714d815c8f3396176f9b36b3c2f0bc6035e18 (patch) | |
tree | 146d860317a2e8ef535f790a710eab5dc675f370 | |
parent | bf153c373f8860c93ab26c6b6f8bfd1bc5f701e0 (diff) |
kernel.mk: Require u-boot to be built before building the kernel
The kernel build process (make uImage) needs to run mkimage - which
needs to be made available by compiling u-boot first.
Fixes
https://bugs.launchpad.net/linaro-android/+bug/877249
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r-- | tasks/kernel.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/kernel.mk b/tasks/kernel.mk index 31595eb..280c441 100644 --- a/tasks/kernel.mk +++ b/tasks/kernel.mk @@ -1,4 +1,4 @@ -android_kernel: +android_kernel: $(PRODUCT_OUT)/u-boot.bin cd $(TOP)/kernel &&\ $(MAKE) -j1 ARCH=arm CROSS_COMPILE=$(shell sh -c "cd $(TOP); cd `dirname $(TARGET_TOOLS_PREFIX)`; pwd")/$(shell basename $(TARGET_TOOLS_PREFIX)) defconfig $(KERNEL_CONFIG) &&\ $(MAKE) ARCH=arm CROSS_COMPILE=$(shell sh -c "cd $(TOP); cd `dirname $(TARGET_TOOLS_PREFIX)`; pwd")/$(shell basename $(TARGET_TOOLS_PREFIX)) uImage |