summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2012-11-20 13:56:57 +0530
committerAmit Pundir <amit.pundir@linaro.org>2012-11-20 13:56:57 +0530
commit552c975e2df4218f90e4a9daf8686b9ee3891fd6 (patch)
tree5d3cdd71641e5464a90e6cd82c65b3f366a477b1
parent553aaa18528524fae8152ab9b0e88958d76f349f (diff)
kernel.mk: copy zImage for origen_quad
Temporary fix, till we fix u-boot issue which fails to load uImage, so we load and boot zImage instead. Change-Id: I4e2a18d3f67a8fa97888d361ad25fefde2abe7b5
-rw-r--r--tasks/kernel.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/tasks/kernel.mk b/tasks/kernel.mk
index ded6b7b..04842ff 100644
--- a/tasks/kernel.mk
+++ b/tasks/kernel.mk
@@ -58,6 +58,11 @@ ifeq ($(INCLUDE_PERF),1)
$(MAKE) EXTRA_CFLAGS="$(TARGET_EXTRA_CFLAGS) $(LOCAL_CFLAGS) -isystem $(REALTOP)/bionic/libc/include -isystem $(REALTOP)/bionic/libc/kernel/common -isystem $(REALTOP)/bionic/libc/kernel/arch-arm -isystem $(REALTOP)/bionic/libc/arch-arm/include -I$(REALTOP)/external/elfutils/libelf -isystem $(REALTOP)/bionic/libm/include -isystem $(shell dirname $(KERNEL_TOOLS_PREFIX))/../include -I$(KERNEL_OUT)/tools/perf" BASIC_LDFLAGS="-nostdlib -Wl,-dynamic-linker,/system/bin/linker,-z,muldefs$(shell if test $(PLATFORM_SDK_VERSION) -lt 16; then echo -ne ',-T$(REALTOP)/$(BUILD_SYSTEM)/armelf.x'; fi),-z,nocopyreloc,--no-undefined -L$(REALTOP)/$(TARGET_OUT_STATIC_LIBRARIES) -L$(REALTOP)/$(PRODUCT_OUT)/system/lib -L$(REALTOP)/external/elfutils -L$(realpath $(PRODUCT_OUT))/obj/STATIC_LIBRARIES/libelf_intermediates -lpthread -lelf -lm -lc $(REALTOP)/$(TARGET_CRTBEGIN_DYNAMIC_O) $(REALTOP)/$(TARGET_CRTEND_O)" $(KERNEL_VERBOSE) O=$(KERNEL_OUT)/tools/perf/ OUTPUT=$(KERNEL_OUT)/tools/perf/ ARCH=$(ARCH) CROSS_COMPILE=$(KERNEL_TOOLS_PREFIX) LD=$$LD prefix=/system NO_DWARF=1 NO_NEWT=1 NO_LIBPERL=1 NO_LIBPYTHON=1 NO_GTK2=1 NO_STRLCPY=1 WERROR=0 && \
cp -f $(KERNEL_OUT)/tools/perf/perf $(REALTOP)/$(PRODUCT_OUT)/system/bin/
endif
+ifeq ($(TARGET_PRODUCT), origen_quad)
+ifeq ($(USE_PREBUILT_UBOOT), true)
+ cp -f $(KERNEL_OUT)/arch/arm/boot/zImage $(REALTOP)/$(PRODUCT_OUT)/boot/
+endif
+endif
android_kernel_modules: $(INSTALLED_KERNEL_TARGET) $(ACP)
export PATH=$(KERNEL_COMPILER_PATHS):$(PATH) &&\