C8051F32x firmware infrastructure

Sign in or create your account | Project List | Help

C8051F32x firmware infrastructure Commit Details

Date:2010-10-22 19:49:10 (13 years 5 months ago)
Author:Werner Almesberger
Commit:13aa36be2b85d3c49cb440484f3c4b02de8a6464
Message:Changed default target to "ben" and added Ben upload.

- f32x/Makefile: "ben" is now the default target
- f32x/Makefile: made upload process target-dependent
Files: f32x/Makefile (3 diffs)

Change Details

f32x/Makefile
1414PREFIX=/usr
1515
1616ifeq ($(TARGET),)
17TARGET = om
17TARGET = ben
1818endif
1919
2020CC_om = arm-angstrom-linux-gnueabi-gcc
...... 
2929OBJS_om = c2-om.o gpio-s3c24xx.o rt.o
3030OBJS_ben = c2-ben.o gpio-xburst.o
3131
32UPLOAD_om = ssh lab neo 'cat \>f32x' <f32x
33UPLOAD_ben = scp f32x ben:
34
3235NAME = f32x
3336CC = $(CC_$(TARGET))
3437CFLAGS = -Wall -Wshadow -g $(CFLAGS_$(TARGET))
...... 
4346$(NAME): $(OBJS)
4447
4548upload:
46        ssh lab neo 'cat \>f32x' <f32x
49        $(UPLOAD_$(TARGET))
4750
4851install: $(NAME)
4952        install -D $(NAME) $(PREFIX)/bin/$(NAME)

Archive Download the corresponding diff file

Branches:
master



interactive