Rev 1789 | Rev 2160 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1789 | Rev 1998 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | # |
27 | # |
28 | 28 | ||
- | 29 | include ../../../../version |
|
- | 30 | include ../../../Makefile.config |
|
- | 31 | ||
29 | ## Toolchain configuration |
32 | ## Toolchain configuration |
30 | # |
33 | # |
31 | 34 | ||
32 | TARGET = ppc-linux-gnu |
35 | TARGET = ppc-linux-gnu |
33 | TOOLCHAIN_DIR = /usr/local/ppc/bin |
36 | TOOLCHAIN_DIR = /usr/local/ppc/bin |
Line 44... | Line 47... | ||
44 | LD = $(TOOLCHAIN_DIR)/$(TARGET)-ld |
47 | LD = $(TOOLCHAIN_DIR)/$(TARGET)-ld |
45 | OBJCOPY = $(TOOLCHAIN_DIR)/$(TARGET)-objcopy |
48 | OBJCOPY = $(TOOLCHAIN_DIR)/$(TARGET)-objcopy |
46 | OBJDUMP = $(TOOLCHAIN_DIR)/$(TARGET)-objdump |
49 | OBJDUMP = $(TOOLCHAIN_DIR)/$(TARGET)-objdump |
47 | endif |
50 | endif |
48 | 51 | ||
49 | CFLAGS = -I. -I../../../generic -I../../../genarch -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mcpu=powerpc -msoft-float -m32 |
52 | CFLAGS = -DRELEASE=\"$(RELEASE)\" -I. -I../../../generic -I../../../genarch -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mcpu=powerpc -msoft-float -m32 |
- | 53 | ||
- | 54 | ifdef REVISION |
|
- | 55 | CFLAGS += "-DREVISION=\"$(REVISION)\"" |
|
- | 56 | endif |
|
- | 57 | ||
- | 58 | ifdef TIMESTAMP |
|
- | 59 | CFLAGS += "-DTIMESTAMP=\"$(TIMESTAMP)\"" |
|
- | 60 | endif |
|
50 | 61 | ||
51 | SOURCES = \ |
62 | SOURCES = \ |
52 | main.c \ |
63 | main.c \ |
53 | ofwarch.c \ |
64 | ofwarch.c \ |
54 | ../../../genarch/ofw.c \ |
65 | ../../../genarch/ofw.c \ |