Fixed Makefile (led7) for sensors examples.
This commit is contained in:
4
Makefile
4
Makefile
@@ -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)
|
||||
|
||||
@@ -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 $@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user