summaryrefslogtreecommitdiff
path: root/target/ag241
diff options
context:
space:
mode:
Diffstat (limited to 'target/ag241')
-rw-r--r--target/ag241/Makefile8
-rw-r--r--target/ag241/tools/rules.mk2
2 files changed, 2 insertions, 8 deletions
diff --git a/target/ag241/Makefile b/target/ag241/Makefile
index 05ce25271..ac95593fb 100644
--- a/target/ag241/Makefile
+++ b/target/ag241/Makefile
@@ -27,7 +27,7 @@ kernel-install: tools-compile
-o $(BIN_DIR)/${ADK_TARGET}-${FS}-kernel 2>/dev/null
ifeq ($(FS),squashfs)
-imageinstall: $(BIN_DIR)/$(ROOTFSSQUASHFS)
+imageinstall: kernel-install $(BIN_DIR)/$(ROOTFSSQUASHFS)
@if [ $$(stat --format=%s ${BUILD_DIR}/${ROOTFSSQUASHFS}) -gt 3801088 ];then \
echo 'Image is too big!'; \
else \
@@ -37,18 +37,14 @@ imageinstall: $(BIN_DIR)/$(ROOTFSSQUASHFS)
echo 'tftp 192.168.1.1'; \
echo 'tftp> binary'; \
echo "tftp> put $(ROOTFSSQUASHFS) upgrade_code.bin"; \
- 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 'The kernel file is: ${BIN_DIR}/${ADK_TARGET}-${FS}-kernel'
@echo 'The nfs root tarball is: ${BIN_DIR}/${ROOTFSUSERTARBALL}'
@echo 'You can flash the kernel via tftp:'
@echo 'tftp 192.168.1.1'
@echo 'tftp> binary'
@echo 'tftp> put ${ADK_TARGET}-${FS}-kernel upgrade_code.bin'
- @echo 'Login as user root with password linux123 via ssh or console'
endif
diff --git a/target/ag241/tools/rules.mk b/target/ag241/tools/rules.mk
index 8d03c031a..a6a3684ac 100644
--- a/target/ag241/tools/rules.mk
+++ b/target/ag241/tools/rules.mk
@@ -1,5 +1,3 @@
-# $Id$
-#-
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.