2 # Makefile -- Build instructions for CyberGuard/SG580
5 ROMFSIMG = $(IMAGEDIR)/ramdisk
6 ZIMAGE = $(IMAGEDIR)/zImage
7 IMAGE = $(IMAGEDIR)/image.bin
8 FLASH = $(IMAGEDIR)/flash.bin
12 ROMFS_DIRS = $(DEFAULT_ROMFS_DIRS)
14 DEVICES += $(DEVICE_PTY_64)
20 romfs: romfs_dev romfs.dirs romfs.symlinks romfs.default romfs.rc romfs.version
21 $(ROMFSINST) ../network.init.std /etc/network.init
22 $(ROMFSINST) ../firewall.init.std /etc/firewall.init
24 romfs.post:: romfs.no-ixp400-modules
26 image: image.configs image.dir image.arm.zimage image.squashfs7z image.bin image.tag image.copy image.flash
29 # build up a flash.bin
32 @$(DD) conv=sync if=$(ROOTDIR)/boot/boot.bin of=$(FLASH) bs=256k
33 @cat $(IMAGE) >> $(FLASH)
34 @echo "Factory `basename $(FLASH)` created."
35 [ -n "$(NO_BUILD_INTO_TFTPBOOT)" ] || cp $(FLASH) /tftpboot/.
37 include $(ROOTDIR)/vendors/config/config.dev