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

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: 
1.1.1.2 ! root       13: BOARD_TARGETS = tools_build romfs_build clients_build stage1 subdirs
1.1       root       14: 
1.1.1.2 ! root       15: SUBDIRS = slof veth
1.1       root       16: COMMON_LIBS = libc libbootmsg libbases libnvram libelf libhvcall
                     17: 
1.1.1.2 ! root       18: all: $(BOARD_TARGETS)
        !            19:        $(MAKE) boot_rom.bin
1.1       root       20: 
                     21: .PHONY : subdirs $(SUBDIRS) clean distclean
                     22: 
                     23: include config
                     24: include Makefile.dirs
                     25: include $(TOPCMNDIR)/make.rules
                     26: include $(TOPCMNDIR)/Makefile.gen
                     27: 
                     28: subdirs: $(SUBDIRS)
                     29: 
                     30: $(SUBDIRS): common-libs
1.1.1.2 ! root       31:        @echo " ====== Building $@ ======"
        !            32:        $(MAKE) -C $@ $(MAKEARG)
1.1       root       33: 
                     34: stage1:        common-libs
1.1.1.2 ! root       35:        @echo " ====== Building llfw ======"
        !            36:        $(MAKE) -C llfw RELEASE=-DRELEASE=\"\\\"$(RELEASE)\\\"\"
1.1       root       37: 
                     38: clean_here:
1.1.1.2 ! root       39:        rm -f ../slof/OF.ffs
        !            40:        rm -f ../boot_rom.bin
1.1       root       41: 
1.1.1.2 ! root       42: clean: clean_here clean_gen
        !            43:        @for dir in $(SUBDIRS); do \
        !            44:                $(MAKE) -C $$dir clean || exit 1; \
        !            45:        done
        !            46:        rm -f ../boot_rom.bin 
        !            47:        @$(MAKE) -C llfw clean
1.1       root       48: 
                     49: distclean:     clean_here distclean_gen
1.1.1.2 ! root       50:        @for dir in $(SUBDIRS); do \
        !            51:                $(MAKE) -C $$dir distclean || exit 1; \
        !            52:        done
        !            53:        rm -f ../boot_rom.bin 
        !            54:        $(MAKE) -C llfw clean
1.1       root       55: 
                     56: .driver_dirs:
1.1.1.2 ! root       57:        @rm -rf ../driver-$(RELEASE)
        !            58:        @mkdir -p ../driver-$(RELEASE)
1.1       root       59: 
                     60: .tar_gz:       .driver_dirs
1.1.1.2 ! root       61:        @mv ../boot_rom.bin ../driver-$(RELEASE)/$(RELEASE)-slof.bin
        !            62:        @cp ../VERSION ../driver-$(RELEASE)
        !            63:        @cp changes.txt ../driver-$(RELEASE)
        !            64:        @cd ../driver-$(RELEASE) && md5sum * > md5sum.txt
        !            65:        @chmod 644 ../driver-$(RELEASE)/*
        !            66:        @mv ../driver-$(RELEASE) ../driver-$(RELEASE)-`date +%Y-%h%d`
        !            67:        @tar czf ../driver-$(RELEASE)-`date +%Y-%h%d`.tar.gz \
        !            68:                ../driver-$(RELEASE)-`date +%Y-%h%d` > /dev/null  2>&1
        !            69:        @rm -rf ../driver-$(RELEASE)-`date +%Y-%h%d`
1.1       root       70: 
                     71: 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.