summaryrefslogtreecommitdiff
path: root/target/foxboard/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-06-28 10:38:59 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-06-28 10:38:59 +0200
commite9e7c5715ae2cb168dfe56192a3a1d5aacc70b23 (patch)
tree25656fc11aa2d35418a76114f8d82262e9536bad /target/foxboard/Makefile
parent1143ead360fb043f43388d727e710f358702bc9a (diff)
fix busybox rebuild issue, simplify target Makefiles
Diffstat (limited to 'target/foxboard/Makefile')
-rw-r--r--target/foxboard/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/target/foxboard/Makefile b/target/foxboard/Makefile
index f085a8f64..999ac8ab8 100644
--- a/target/foxboard/Makefile
+++ b/target/foxboard/Makefile
@@ -21,7 +21,7 @@ kernel-install: tools-compile
$(BIN_DIR)/${ADK_TARGET}-${FS}-kernel $(MAKE_TRACE)
ifeq ($(FS),squashfs)
-imageinstall: $(BIN_DIR)/$(ROOTFSSQUASHFS)
+imageinstall: kernel-install $(BIN_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 \
@@ -29,14 +29,11 @@ imageinstall: $(BIN_DIR)/$(ROOTFSSQUASHFS)
else \
echo 'Use sudo ./boot_linux -F -i $(ROOTFSSQUASHFS) to flash'; \
echo 'Do not forget to set the network boot jumper, before you start the foxboard'; \
- echo 'Login as user root with password linux123 via ssh or console'; \
fi
endif
ifeq ($(FS),nfsroot)
-imageinstall: ${BIN_DIR}/${ROOTFSUSERTARBALL}
- @echo
+imageinstall: kernel-install ${BIN_DIR}/${ROOTFSUSERTARBALL}
@echo Use sudo ./boot_linux -F -i ${ADK_TARGET}-${FS}-kernel to flash the kernel
@echo Do not forget to set network boot jumper, before you start the foxboard
@echo ${ROOTFSUSERTARBALL} is your nfs root and can be extracted on your nfs server
- @echo 'Login as user root with password linux123 via ssh or console'
endif