1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(TOPDIR
)/rules.mk
5 include $(TOPDIR
)/mk
/kernel.mk
6 include $(TOPDIR
)/mk
/modules.mk
7 include $(TOPDIR
)/mk
/kernel-build.mk
8 include $(TOPDIR
)/mk
/image.mk
11 mkdir
-p
$(TOOLS_BUILD_DIR
)
13 tools-compile
: $(TOOLS_BUILD_DIR
)
14 $(MAKE
) -C tools
/mkfimage
15 $(MAKE
) -C tools
/e100boot prepare compile
install $(MAKE_TRACE
)
16 $(MAKE
) -C tools
/squashfs prepare compile
install
17 $(INSTALL_BIN
) tools
/boot_linux
$(BIN_DIR
)/
19 kernel-install
: tools-compile
20 PATH
='${TARGET_PATH}' mkfimage
$(LINUX_DIR
)/arch
/cris
/boot
/zImage \
21 $(BIN_DIR
)/${ADK_TARGET}-${ARCH}-kernel
$(MAKE_TRACE
)
24 imageinstall
: $(BIN_DIR
)/$(ROOTFSSQUASHFS
)
26 @echo Use sudo .
/boot_linux
-F
-i
$(ROOTFSSQUASHFS
) to flash
27 @echo Do not forget to set network boot jumper
, before you start the foxboard
28 @echo
'Login as user root with password linux123 via ssh or console'
31 imageinstall
: ${BIN_DIR}/${ROOTFSTARBALL}
33 @echo Use sudo .
/boot_linux
-F
-i
${ADK_TARGET}-${ARCH}-kernel to flash the kernel
34 @echo Do not forget to set network boot jumper
, before you start the foxboard
35 @echo
${ROOTFSTARBALL} is your nfs root and can be extracted on your nfs server
36 @echo
'Login as user root with password linux123 via ssh or console'