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

1.1     ! root        1: # *****************************************************************************
        !             2: # * Copyright (c) 2004, 2011 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: BOARD_TARGETS = tools_build romfs_build clients_build net_veth stage1
        !            14: 
        !            15: SUBDIRS = slof 
        !            16: COMMON_LIBS = libc libbootmsg libbases libnvram libelf libhvcall
        !            17: 
        !            18: all: $(BOARD_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: net_veth: common-libs
        !            38:                @echo " ====== Building veth ======"
        !            39:                make -C veth
        !            40: 
        !            41: clean_here:
        !            42:                rm -f ../slof/OF.ffs
        !            43:                rm -f ../boot_rom.bin
        !            44: 
        !            45: clean:         clean_here clean_gen
        !            46:                @for dir in $(SUBDIRS); do \
        !            47:                        $(MAKE) -C $$dir clean || exit 1; \
        !            48:                done
        !            49:                rm -f ../boot_rom.bin 
        !            50:                @make -C llfw clean
        !            51:                make -C veth 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 
        !            58:                make -C llfw clean
        !            59:                make -C veth distclean
        !            60: 
        !            61: .driver_dirs:
        !            62:                @rm -rf ../driver-$(RELEASE)
        !            63:                @mkdir -p ../driver-$(RELEASE)
        !            64: 
        !            65: .tar_gz:       .driver_dirs
        !            66:                @mv ../boot_rom.bin ../driver-$(RELEASE)/$(RELEASE)-slof.bin
        !            67:                @cp ../VERSION ../driver-$(RELEASE)
        !            68:                @cp changes.txt ../driver-$(RELEASE)
        !            69:                @cd ../driver-$(RELEASE) && md5sum * > md5sum.txt
        !            70:                @chmod 644 ../driver-$(RELEASE)/*
        !            71:                @mv ../driver-$(RELEASE) ../driver-$(RELEASE)-`date +%Y-%h%d`
        !            72:                @tar czf ../driver-$(RELEASE)-`date +%Y-%h%d`.tar.gz \
        !            73:                        ../driver-$(RELEASE)-`date +%Y-%h%d` > /dev/null  2>&1
        !            74:                @rm -rf ../driver-$(RELEASE)-`date +%Y-%h%d`
        !            75: 
        !            76: 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.