|
Revision 1, 1.1 kB
(checked in by brainslayer, 4 years ago)
|
initial checkin
|
- Property svn:executable set to
|
| Line | |
|---|
| 1 |
# |
|---|
| 2 |
# Toplevel Makefile for the BCM947xx Linux Router release |
|---|
| 3 |
# |
|---|
| 4 |
# Copyright 2001-2003, Broadcom Corporation |
|---|
| 5 |
# All Rights Reserved. |
|---|
| 6 |
# |
|---|
| 7 |
# THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY |
|---|
| 8 |
# KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM |
|---|
| 9 |
# SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS |
|---|
| 10 |
# FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE. |
|---|
| 11 |
# |
|---|
| 12 |
# $Id: Makefile,v 1.35 2004/02/16 03:55:59 honor Exp $ |
|---|
| 13 |
# |
|---|
| 14 |
|
|---|
| 15 |
SRCBASE := $(shell pwd) |
|---|
| 16 |
RELEASEDIR := $(shell (cd $(SRCBASE)/.. && pwd -P)) |
|---|
| 17 |
PATH := $(RELEASEDIR)/tools:$(PATH) |
|---|
| 18 |
|
|---|
| 19 |
install: cytools all |
|---|
| 20 |
install -d $(RELEASEDIR)/image |
|---|
| 21 |
$(MAKE) -C router install |
|---|
| 22 |
#-cp router/mipsel/linux.trx $(RELEASEDIR)/image/linux-glibc.trx |
|---|
| 23 |
# -cp router/mipsel-uclibc/linux.trx $(RELEASEDIR)/image/linux.trx |
|---|
| 24 |
|
|---|
| 25 |
# add CyberTAN header |
|---|
| 26 |
# addpattern -i $(RELEASEDIR)/image/linux.trx -o $(RELEASEDIR)/image/code.bin -g |
|---|
| 27 |
# addpattern_gs -i $(RELEASEDIR)/image/linux.trx -o $(RELEASEDIR)/image/code_gs.bin -g |
|---|
| 28 |
# -cp $(RELEASEDIR)/image/linux.trx $(RELEASEDIR)/image/code.bin |
|---|
| 29 |
|
|---|
| 30 |
all clean distclean: |
|---|
| 31 |
$(MAKE) -C router $@ |
|---|
| 32 |
|
|---|
| 33 |
cytools: |
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 |
|
|---|
| 37 |
|
|---|
| 38 |
.PHONY: all clean distclean install |
|---|