C8051F32x firmware infrastructure

Sign in or create your account | Project List | Help

C8051F32x firmware infrastructure Commit Details

Date:2011-01-10 16:39:43 (12 years 8 months ago)
Author:Werner Almesberger
Commit:901998526eb2b1951863393d45488d01660ca090
Message:f32x/: renamed OpenWRT target from "ben" to "ben_openwrt" and added "ben_jlime"

- f32x/Makefile: set default target to ben_jlime instead of "ben"
- f32x/Makefile (CC_ben, CFLAGS_ben, LDFLAGS_ben, OBJS_ben, UPLOAD_ben):
renamed to *_openwrt and added *_jlime equivalents
Files: f32x/Makefile (2 diffs)

Change Details

f32x/Makefile
11#
22# f32x/Makefile - Build the C8051F326/7 Flash programmer
33#
4# Written 2008, 2010 by Werner Almesberger
5# Copyright 2008, 2010 Werner Almesberger
4# Written 2008, 2010-2011 by Werner Almesberger
5# Copyright 2008, 2010-2011 Werner Almesberger
66#
77# This program is free software; you can redistribute it and/or modify
88# it under the terms of the GNU General Public License as published by
...... 
1414PREFIX=/usr
1515
1616ifeq ($(TARGET),)
17TARGET = ben
17TARGET = ben_jlime
1818endif
1919
2020CC_om = arm-angstrom-linux-gnueabi-gcc
21CC_ben = mipsel-openwrt-linux-gcc
21CC_ben_jlime = mipsel-linux-gcc
22CC_ben_openwrt = mipsel-openwrt-linux-gcc
2223
2324CFLAGS_om = -O -DDRIVER=c2_om
24CFLAGS_ben = -DDRIVER=c2_ben
25CFLAGS_ben_jlime = -DDRIVER=c2_ben
26CFLAGS_ben_openwrt = -DDRIVER=c2_ben
2527
2628LDFLAGS_om =
27LDFLAGS_ben =
29LDFLAGS_ben_jlime =
30LDFLAGS_ben_openwrt =
2831
2932OBJS_om = c2-om.o gpio-s3c24xx.o rt.o
30OBJS_ben = c2-ben.o gpio-xburst.o
33OBJS_ben_jlime = c2-ben.o gpio-xburst.o
34OBJS_ben_openwrt = c2-ben.o gpio-xburst.o
3135
3236UPLOAD_om = ssh lab neo 'cat \>f32x' <f32x
33UPLOAD_ben = scp f32x ben:
37UPLOAD_ben_jlime = scp f32x jlime:
38UPLOAD_ben_openwrt = scp f32x ben:
3439
3540NAME = f32x
3641CC = $(CC_$(TARGET))

Archive Download the corresponding diff file

Branches:
master



interactive