This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile
59 lines (55 loc) · 1.77 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# begin_generated_IBM_copyright_prolog
#
# This is an automatically generated copyright prolog.
# After initializing, DO NOT MODIFY OR MOVE
# ================================================================
#
# Licensed Materials - Property of IBM
#
# Blue Gene/Q
#
# (C) Copyright IBM Corp. 2010, 2012
#
# US Government Users Restricted Rights -
# Use, duplication or disclosure restricted
# by GSA ADP Schedule Contract with IBM Corp.
#
# This software is available to you under the
# Eclipse Public License (EPL).
#
# ================================================================
#
# end_generated_IBM_copyright_prolog
FUSEDOS_BOOT_DIR = $(PWD)/boot
include Make.rules
all:
cd cl/src && $(MAKE)
cd spcm && $(MAKE)
cd tests && $(MAKE)
# PATCHSET is defined in the ramdisk config file. We are setting
# it manually because we need to build linux for the kernel
# modules.
cd linux && $(MAKE) ASF_BOOT_DIR=$(FUSEDOS_BOOT_DIR) PATCHSET=default
cd fusedosfs && $(MAKE)
cd mufs && $(MAKE)
make -C ramdisk ASF_BOOT_DIR=$(FUSEDOS_BOOT_DIR) ASF_TARGET=default
install -D -m 0755 $(BGQ_FLOOR_DIR)/firmware/bin/bgq_firmware.elf $(FUSEDOS_BOOT_DIR)
install -D -m 0755 common/boot/bg_console.exp $(FUSEDOS_BOOT_DIR)
install -D -m 0755 common/boot/boot_bgq.sh $(FUSEDOS_BOOT_DIR)
clean:
make -C linux clean
make -C cl/src clean
make -C spcm clean
make -C fusedosfs clean
make -C mufs clean
make -C tests clean
make -C ramdisk ASF_BOOT_DIR=$(FUSEDOS_BOOT_DIR) ASF_TARGET=default clean
distclean:
make -C linux distclean
make -C cl/src clean
make -C spcm clean
make -C fusedosfs clean
make -C mufs clean
make -C tests clean
make -C ramdisk ASF_BOOT_DIR=$(FUSEDOS_BOOT_DIR) ASF_TARGET=default distclean
rm -rf $(FUSEDOS_BOOT_DIR)