gdb: update to 8.0.1
[openadk.git] / target / avr32 / Makefile
blob1f055993d83f6af72d17b4805e1a0d0e6a953d7d
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 $(ADK_TOPDIR)/rules.mk
5 include $(ADK_TOPDIR)/mk/kernel-build.mk
6 include $(ADK_TOPDIR)/mk/image.mk
8 KERNEL:=$(LINUX_DIR)/arch/avr32/boot/images/uImage
10 # target helper text
11 ifeq ($(ADK_TARGET_FS),archive)
12 targethelp:
13 @echo "The RootFS tarball is: $(FW_DIR)/$(ROOTFSTARBALL)"
14 endif
15 ifeq ($(ADK_TARGET_FS),nfsroot)
16 targethelp:
17 @echo 'The kernel file is: $(FW_DIR)/${TARGET_KERNEL}'
18 @echo 'The nfs root tarball is: ${FW_DIR}/${ROOTFSUSERTARBALL}'
19 endif
21 kernel-strip:
22 cp $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL)
24 kernel-install: kernel-strip
25 cp $(BUILD_DIR)/$(TARGET_KERNEL) $(FW_DIR)/$(TARGET_KERNEL)
27 # filesystem specific targets
28 ifeq ($(ADK_TARGET_FS),archive)
29 imageinstall: $(FW_DIR)/$(ROOTFSTARBALL) targethelp
30 endif
31 ifeq ($(ADK_TARGET_FS),nfsroot)
32 imageinstall: kernel-install $(FW_DIR)/$(ROOTFSUSERTARBALL) targethelp
33 endif