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

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: 
1.1.1.2 ! root       13: BOARD_TARGETS = tools_build romfs_build clients_build bcm57xx stage1 subdirs
1.1       root       14: 
                     15: SUBDIRS = slof rtas 
                     16: COMMON_LIBS = libc libipmi libbootmsg libbases libnvram libelf
                     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: bcm57xx:
1.1.1.2 ! root       39:        $(MAKE) -C ../other-licence/bcm
1.1       root       40: 
                     41: clean_here:
1.1.1.2 ! root       42:        rm -f ../slof/OF.ffs
        !            43:        rm -f ../boot_rom.bin
1.1       root       44: 
                     45: clean:         clean_here clean_gen
1.1.1.2 ! root       46:        @for dir in $(SUBDIRS); do \
        !            47:                $(MAKE) -C $$dir clean || exit 1; \
        !            48:        done
        !            49:        rm -f ../boot_rom.bin ../js2*.img 
        !            50:        $(MAKE) -C ../other-licence/bcm clean
        !            51:        @$(MAKE) -C llfw clean
        !            52:        @$(MAKE) -C $(TOPCMNDIR)/clients/takeover clean
1.1       root       53: 
                     54: distclean:     clean_here distclean_gen
1.1.1.2 ! root       55:        @for dir in $(SUBDIRS); do \
        !            56:                $(MAKE) -C $$dir distclean || exit 1; \
        !            57:        done
        !            58:        rm -f ../boot_rom.bin ../js2*.img 
        !            59:        $(MAKE) -C ../other-licence/bcm clean
        !            60:        $(MAKE) -C llfw clean
        !            61:        $(MAKE) -C $(TOPCMNDIR)/clients/takeover distclean
1.1       root       62: 
                     63: takeover: all
1.1.1.2 ! root       64:        $(MAKE) -C $(TOPCMNDIR)/clients/takeover
1.1       root       65: 
                     66: .driver_dirs:
1.1.1.2 ! root       67:        @rm -rf ../driver-$(RELEASE)
        !            68:        @mkdir -p ../driver-$(RELEASE)
1.1       root       69: 
                     70: .tar_gz:       .driver_dirs takeover external_flasher
1.1.1.2 ! root       71:        @mv ../boot_rom.bin \
        !            72:                ../driver-$(RELEASE)/$(RELEASE)-js2x.bin
        !            73:        @mv ../boot_rom-$(FLASH_SIZE_MB)MB-BigEndian.bin \
        !            74:                ../driver-$(RELEASE)/$(RELEASE)-$(FLASH_SIZE_MB)MB-BigEndian.bin
        !            75:        @mv $(TOPCMNDIR)/clients/takeover/takeover.elf \
        !            76:                ../driver-$(RELEASE)/$(RELEASE)-takeover.bin
        !            77:        @cp ../VERSION ../driver-$(RELEASE)
        !            78:        @cp changes.txt ../driver-$(RELEASE)
        !            79:        @cd ../driver-$(RELEASE) && md5sum * > md5sum.txt
        !            80:        @chmod 644 ../driver-$(RELEASE)/*
        !            81:        @mv ../driver-$(RELEASE) ../driver-$(RELEASE)-`date +%Y-%h%d`
        !            82:        @tar czf ../driver-$(RELEASE)-`date +%Y-%h%d`.tar.gz \
        !            83:                ../driver-$(RELEASE)-`date +%Y-%h%d` > /dev/null  2>&1
        !            84:        @rm -rf ../driver-$(RELEASE)-`date +%Y-%h%d`
1.1       root       85: 
                     86: 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.