From 901998526eb2b1951863393d45488d01660ca090 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Mon, 10 Jan 2011 12:39:43 -0300 Subject: [PATCH] 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 --- f32x/Makefile | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/f32x/Makefile b/f32x/Makefile index 0bd4f82..f48709a 100644 --- a/f32x/Makefile +++ b/f32x/Makefile @@ -1,8 +1,8 @@ # # f32x/Makefile - Build the C8051F326/7 Flash programmer # -# Written 2008, 2010 by Werner Almesberger -# Copyright 2008, 2010 Werner Almesberger +# Written 2008, 2010-2011 by Werner Almesberger +# Copyright 2008, 2010-2011 Werner Almesberger # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -14,23 +14,28 @@ PREFIX=/usr ifeq ($(TARGET),) -TARGET = ben +TARGET = ben_jlime endif CC_om = arm-angstrom-linux-gnueabi-gcc -CC_ben = mipsel-openwrt-linux-gcc +CC_ben_jlime = mipsel-linux-gcc +CC_ben_openwrt = mipsel-openwrt-linux-gcc CFLAGS_om = -O -DDRIVER=c2_om -CFLAGS_ben = -DDRIVER=c2_ben +CFLAGS_ben_jlime = -DDRIVER=c2_ben +CFLAGS_ben_openwrt = -DDRIVER=c2_ben LDFLAGS_om = -LDFLAGS_ben = +LDFLAGS_ben_jlime = +LDFLAGS_ben_openwrt = OBJS_om = c2-om.o gpio-s3c24xx.o rt.o -OBJS_ben = c2-ben.o gpio-xburst.o +OBJS_ben_jlime = c2-ben.o gpio-xburst.o +OBJS_ben_openwrt = c2-ben.o gpio-xburst.o UPLOAD_om = ssh lab neo 'cat \>f32x'