Annotation of qemu/roms/SLOF/board-js2x/Makefile, revision 1.1

1.1     ! root        1: # *****************************************************************************
        !             2: # * Copyright (c) 2004, 2008 IBM Corporation
        !             3: # * All rights reserved.
        !             4: # * This program and the accompanying materials
        !             5: # * are made available under the terms of the BSD License
        !             6: # * which accompanies this distribution, and is available at
        !             7: # * http://www.opensource.org/licenses/bsd-license.php
        !             8: # *
        !             9: # * Contributors:
        !            10: # *     IBM Corporation - initial implementation
        !            11: # ****************************************************************************/
        !            12: 
        !            13: JS2X_TARGETS = tools_build romfs_build clients_build bcm57xx stage1
        !            14: 
        !            15: SUBDIRS = slof rtas 
        !            16: COMMON_LIBS = libc libipmi libbootmsg libbases libnvram libelf
        !            17: 
        !            18: all: $(JS2X_TARGETS) subdirs boot_rom.bin
        !            19: 
        !            20: .PHONY : subdirs $(SUBDIRS) clean distclean
        !            21: 
        !            22: include config
        !            23: include Makefile.dirs
        !            24: include $(TOPCMNDIR)/make.rules
        !            25: include $(TOPCMNDIR)/Makefile.gen
        !            26: 
        !            27: subdirs: $(SUBDIRS)
        !            28: 
        !            29: $(SUBDIRS): common-libs
        !            30:                @echo " ====== Building $@ ======"
        !            31:                $(MAKE) -C $@ $(MAKEARG)
        !            32: 
        !            33: stage1:        common-libs
        !            34:                @echo " ====== Building llfw ======"
        !            35:                make -C llfw RELEASE=-DRELEASE=\"\\\"$(RELEASE)\\\"\"
        !            36: 
        !            37: bcm57xx:
        !            38:                make -C ../other-licence/bcm
        !            39: 
        !            40: clean_here:
        !            41:                rm -f ../slof/OF.ffs
        !            42:                rm -f ../boot_rom.bin
        !            43: 
        !            44: clean:         clean_here clean_gen
        !            45:                @for dir in $(SUBDIRS); do \
        !            46:                        $(MAKE) -C $$dir clean || exit 1; \
        !            47:                done
        !            48:                rm -f ../boot_rom.bin ../js2*.img 
        !            49:                make -C ../other-licence/bcm clean
        !            50:                @make -C llfw clean
        !            51:                @make -C $(TOPCMNDIR)/clients/takeover clean
        !            52: 
        !            53: distclean:     clean_here distclean_gen
        !            54:                @for dir in $(SUBDIRS); do \
        !            55:                        $(MAKE) -C $$dir distclean || exit 1; \
        !            56:                done
        !            57:                rm -f ../boot_rom.bin ../js2*.img 
        !            58:                make -C ../other-licence/bcm clean
        !            59:                make -C llfw clean
        !            60:                make -C $(TOPCMNDIR)/clients/takeover distclean
        !            61: 
        !            62: takeover: all
        !            63:                $(MAKE) -C $(TOPCMNDIR)/clients/takeover
        !            64: 
        !            65: .driver_dirs:
        !            66:                @rm -rf ../driver-$(RELEASE)
        !            67:                @mkdir -p ../driver-$(RELEASE)
        !            68: 
        !            69: .tar_gz:       .driver_dirs takeover external_flasher
        !            70:                @mv ../boot_rom.bin \
        !            71:                        ../driver-$(RELEASE)/$(RELEASE)-js2x.bin
        !            72:                @mv ../boot_rom-$(FLASH_SIZE_MB)MB-BigEndian.bin \
        !            73:                        ../driver-$(RELEASE)/$(RELEASE)-$(FLASH_SIZE_MB)MB-BigEndian.bin
        !            74:                @mv $(TOPCMNDIR)/clients/takeover/takeover.elf \
        !            75:                        ../driver-$(RELEASE)/$(RELEASE)-takeover.bin
        !            76:                @cp ../VERSION ../driver-$(RELEASE)
        !            77:                @cp changes.txt ../driver-$(RELEASE)
        !            78:                @cd ../driver-$(RELEASE) && md5sum * > md5sum.txt
        !            79:                @chmod 644 ../driver-$(RELEASE)/*
        !            80:                @mv ../driver-$(RELEASE) ../driver-$(RELEASE)-`date +%Y-%h%d`
        !            81:                @tar czf ../driver-$(RELEASE)-`date +%Y-%h%d`.tar.gz \
        !            82:                        ../driver-$(RELEASE)-`date +%Y-%h%d` > /dev/null  2>&1
        !            83:                @rm -rf ../driver-$(RELEASE)-`date +%Y-%h%d`
        !            84: 
        !            85: driver:                driver_prep clean .tar_gz

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.