diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-13 01:58:32 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-13 01:58:32 +0100 |
commit | 03eda9a37f4b903df1f954fe20045099e1c6bf6a (patch) | |
tree | 42b6fca750a259d6596b64db06b98237ee0f353a /target/foxg20/Makefile | |
parent | cbad193ed6ae24e487db0f700f0308d5185ee1e9 (diff) |
add mkimage to tools dir, update to latest stable kernel
Diffstat (limited to 'target/foxg20/Makefile')
-rw-r--r-- | target/foxg20/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/target/foxg20/Makefile b/target/foxg20/Makefile index 0a022baf3..de8724da7 100644 --- a/target/foxg20/Makefile +++ b/target/foxg20/Makefile @@ -7,12 +7,18 @@ include $(TOPDIR)/mk/modules.mk include $(TOPDIR)/mk/kernel-build.mk include $(TOPDIR)/mk/image.mk +$(TOOLS_BUILD_DIR): + @mkdir -p $(TOOLS_BUILD_DIR) + +tools-compile: $(TOOLS_BUILD_DIR) + $(MAKE) -C ../tools/uboot-mkimage + KERNEL:=$(BUILD_DIR)/${ADK_TARGET}-${FS}-kernel LOADADDR:= 0x20008000 -kernel-install: +kernel-install: tools-compile @gzip -9 < $(LINUX_DIR)/arch/arm/boot/Image > ${BUILD_DIR}/Image.gz - @mkimage -A arm -O linux -T kernel -C gzip \ + PATH='${TARGET_PATH}' mkimage -A arm -O linux -T kernel -C gzip \ -a ${LOADADDR} -e ${LOADADDR} -d ${BUILD_DIR}/Image.gz \ -n foxg20 $(TARGET_DIR)/boot/vmlinuz-adk $(MAKE_TRACE) @cp $(TARGET_DIR)/boot/vmlinuz-adk \ |