C8051F32x firmware infrastructure
Sign in or create your account | Project List | Help
C8051F32x firmware infrastructure Commit Details
Date: | 2010-10-22 19:49:10 (12 years 11 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 | ||
---|---|---|
14 | 14 | PREFIX=/usr |
15 | 15 | |
16 | 16 | ifeq ($(TARGET),) |
17 | TARGET = om | |
17 | TARGET = ben | |
18 | 18 | endif |
19 | 19 | |
20 | 20 | CC_om = arm-angstrom-linux-gnueabi-gcc |
... | ... | |
29 | 29 | OBJS_om = c2-om.o gpio-s3c24xx.o rt.o |
30 | 30 | OBJS_ben = c2-ben.o gpio-xburst.o |
31 | 31 | |
32 | UPLOAD_om = ssh lab neo 'cat \>f32x' <f32x | |
33 | UPLOAD_ben = scp f32x ben: | |
34 | ||
32 | 35 | NAME = f32x |
33 | 36 | CC = $(CC_$(TARGET)) |
34 | 37 | CFLAGS = -Wall -Wshadow -g $(CFLAGS_$(TARGET)) |
... | ... | |
43 | 46 | $(NAME): $(OBJS) |
44 | 47 | |
45 | 48 | upload: |
46 | ssh lab neo 'cat \>f32x' <f32x | |
49 | $(UPLOAD_$(TARGET)) | |
47 | 50 | |
48 | 51 | install: $(NAME) |
49 | 52 | install -D $(NAME) $(PREFIX)/bin/$(NAME) |
Branches:
master