# # Copyright (C) 2006 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # include $(TOPDIR)/rules.mk ARCH:=cris BOARD:=axis BOARDNAME:=ETRAX 100LX FEATURES:=squashfs jffs2 define Target/Description Build fimware images for the FOXBOARD made by acmesystems.it endef include $(INCLUDE_DIR)/kernel-build.mk #include the profiles -include profiles/*.mk KERNELNAME:="zImage" $(eval $(call BuildKernel)) bertha:/raid/kamikaze/trunk# cat target/linux/axis-2.6/image/Makefile # # Copyright (C) 2006 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk define Build/Clean $(MAKE) -C imgsum clean endef define Build/Compile $(MAKE) -C imgsum compile $(MAKE) -C tools compile endef define Image/Prepare cp $(LINUX_DIR)/arch/cris/boot/zImage $(KDIR)/vmlinuz mkdir -p $(KDIR)/fimage/ cp $(LINUX_DIR)/arch/cris/boot/zImage $(KDIR)/fimage/vmlinuz endef define Image/BuildKernel cp $(KDIR)/vmlinuz $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-zImage endef define Image/Build ROOT_DIR=$(BUILD_DIR)/root STAGING_DIR=$(STAGING_DIR) BUILD_DIR=$(KERNEL_BUILD_DIR) $(STAGING_DIR)/fimage/mkimage cp $(KDIR)/fimage/fimage $(BIN_DIR) endef $(eval $(call BuildImage))