Fixed Makefile (led7) for sensors examples.

This commit is contained in:
Sergey
2015-05-24 00:10:05 -07:00
parent e949850567
commit fcf0f3dad2
2 changed files with 7 additions and 2 deletions

View File

@@ -80,7 +80,9 @@ sdcard.img: $(FSUTIL) rootfs.manifest userfs.manifest
rm -f $@
$(FSUTIL) --repartition=fs=$(FS_MBYTES)M:swap=$(SWAP_MBYTES)M:fs=$(U_MBYTES)M $@
$(FSUTIL) --new --partition=1 --manifest=rootfs.manifest $@ .
$(FSUTIL) --new --partition=3 --manifest=userfs.manifest $@ u
# In case you need a separate /u partition,
# uncomment the following line.
# $(FSUTIL) --new --partition=3 --manifest=userfs.manifest $@ u
$(FSUTIL):
cd tools/fsutil; $(MAKE)

View File

@@ -1,4 +1,4 @@
PROG = led2 led3 relay buzzer laser pbuzz irled joystick
PROG = led2 led3 led7 relay buzzer laser pbuzz irled joystick
all: $(PROG)
@@ -20,6 +20,9 @@ led2: led2.c
led3: led3.c
cc $? -o $@
led7: led7.c
cc $? -o $@
irled: irled.c
cc $? -o $@