add pcengines wrap support
[openadk.git] / target / foxboard / Makefile
blob1ede6b378444a2f4845fb0d1d1e85bcd3cad8c93
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
10 $(TOOLS_BUILD_DIR):
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)
23 ifeq ($(FS),squashfs)
24 imageinstall: $(BIN_DIR)/$(ROOTFSSQUASHFS)
25 @echo
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'
29 endif
30 ifeq ($(FS),nfsroot)
31 imageinstall: ${BIN_DIR}/${ROOTFSTARBALL}
32 @echo
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'
37 endif