X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Flinux%2Fgoldfish%2Fimage%2FMakefile;fp=target%2Flinux%2Fgoldfish%2Fimage%2FMakefile;h=0000000000000000000000000000000000000000;hb=3256895004283fa8b008df82d3bc27e8ded7ef5d;hp=bf871fb2aed4fe23aca80cc720e6edd3d420882f;hpb=1a417a0ab6f6d7c5825439bed9205c18cb40d0ab;p=openwrt-10.03%2F.git diff --git a/target/linux/goldfish/image/Makefile b/target/linux/goldfish/image/Makefile deleted file mode 100644 index bf871fb2a..000000000 --- a/target/linux/goldfish/image/Makefile +++ /dev/null @@ -1,43 +0,0 @@ -# -# 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 - -JFFS2_BLOCKSIZE=124k -JFFS2OPTS += -n -s 2048 - -_PREFIX=openwrt-goldfish- - -define Image/BuildKernel - $(TARGET_CROSS)objcopy -O binary -R .note -R .comment -S \ - $(LINUX_DIR)/arch/arm/boot/compressed/vmlinux $(BIN_DIR)/$(_PREFIX)kernel.bin - $(if $(CONFIG_TARGET_ROOTFS_INITRAMFS), \ - $(CP) $(LINUX_DIR)/usr/initramfs_data.cpio.gz, \ - gzip -c < $(LINUX_DIR)/usr/initramfs_data.cpio > \ - ) $(BIN_DIR)/$(_PREFIX)ramdisk.bin - $(CP) ./run-emulator.sh $(BIN_DIR)/ -endef - -define Image/Build/jffs2-124k - $(CP) ./ubinize.cfg $(KDIR)/ - (cd $(KDIR); \ - ubinize \ - -o $(BIN_DIR)/$(_PREFIX)$(1).img \ - -p 128KiB -m 2KiB -s 2KiB ubinize.cfg; \ - ) - nand_ecc \ - $(BIN_DIR)/$(_PREFIX)$(1).img \ - $(BIN_DIR)/$(_PREFIX)system.bin -endef - -define Image/Build - $(call Image/Build/$(1),$(1)) -endef - - -$(eval $(call BuildImage))