From ce0255bbd2d1719f1ce3a30504c19869802c0a8b Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 8 Jan 2011 11:22:41 +0100 Subject: rework and cleanup top level directory creation, avoid some unnecessary rebuils --- target/cris/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'target/cris') diff --git a/target/cris/Makefile b/target/cris/Makefile index 1e072f78e..0b4ba3a4d 100644 --- a/target/cris/Makefile +++ b/target/cris/Makefile @@ -9,10 +9,7 @@ include $(TOPDIR)/mk/image.mk KERNEL:=$(LINUX_DIR)/arch/cris/boot/zImage -$(TOOLS_BUILD_DIR): - @mkdir -p $(TOOLS_BUILD_DIR) - -tools-compile: $(TOOLS_BUILD_DIR) +tools-compile: $(MAKE) -C ../tools/mkfimage ifneq ($(ADK_HOST_DARWIN),y) $(MAKE) -C ../tools/e100boot prepare compile install -- cgit v1.2.3 From 2a52a8ea1a405a82ee6640253603067fd5b4fcef Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 12 Jan 2011 20:43:27 +0100 Subject: fix squashfs image generation --- target/cris/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/cris') diff --git a/target/cris/Makefile b/target/cris/Makefile index 0b4ba3a4d..a0654575d 100644 --- a/target/cris/Makefile +++ b/target/cris/Makefile @@ -21,7 +21,7 @@ kernel-install: tools-compile PATH='${TARGET_PATH}' mkfimage $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL) ifeq ($(ADK_TARGET_FS),squashfs) -imageinstall: kernel-install $(BIN_DIR)/$(ROOTFSSQUASHFS) +imageinstall: kernel-install $(BUILD_DIR)/$(ROOTFSSQUASHFS) dd if=${BUILD_DIR}/${ROOTFSSQUASHFS} of=${BIN_DIR}/${ROOTFSSQUASHFS} \ bs=4063232 conv=sync $(MAKE_TRACE) @if [ $$(stat --format=%s ${BIN_DIR}/${ROOTFSSQUASHFS}) -gt 4063232 ];then \ -- cgit v1.2.3