Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Commit

Permalink
samples: No need to explicitly link to used modules
Browse files Browse the repository at this point in the history
Signed-off-by: Iván Briano <ivan.briano@intel.com>
  • Loading branch information
ibriano committed Sep 28, 2015
1 parent 57bca65 commit c5059a9
Show file tree
Hide file tree
Showing 15 changed files with 1 addition and 240 deletions.
20 changes: 0 additions & 20 deletions src/samples/flow/basics/Makefile
Original file line number Diff line number Diff line change
@@ -1,34 +1,14 @@
sample-$(FLOW_BASICS_CMDLINE_ARGS_SAMPLE) += cmdline-args
sample-cmdline-args-$(FLOW_BASICS_CMDLINE_ARGS_SAMPLE) := cmdline-args.fbp
sample-cmdline-args-$(FLOW_BASICS_CMDLINE_ARGS_SAMPLE)-deps := flow/boolean.mod flow/app.mod flow/console.mod
sample-cmdline-args-$(FLOW_BASICS_CMDLINE_ARGS_SAMPLE)-deps += flow/int.mod flow/constant.mod
sample-cmdline-args-$(FLOW_BASICS_CMDLINE_ARGS_SAMPLE)-deps += flow/converter.mod

sample-$(FLOW_BASICS_FIBONACCI_SAMPLE) += fibonacci
sample-fibonacci-$(FLOW_BASICS_FIBONACCI_SAMPLE) := fibonacci.fbp
sample-fibonacci-$(FLOW_BASICS_FIBONACCI_SAMPLE)-deps := \
flow/app.mod \
flow/boolean.mod \
flow/console.mod \
flow/constant.mod \
flow/converter.mod \
flow/int.mod \
flow/switcher.mod

sample-$(FLOW_BASICS_PLATORM_SERVICE_SAMPLE) += platform-service
sample-platform-service-$(FLOW_BASICS_PLATORM_SERVICE_SAMPLE) := platform-service.fbp
sample-platform-service-$(FLOW_BASICS_PLATORM_SERVICE_SAMPLE)-deps := \
flow/console.mod \
flow/platform.mod \
flow/timer.mod

sample-$(FLOW_BASICS_SIMPLE_SAMPLE) += simple-fbp
sample-simple-fbp-$(FLOW_BASICS_SIMPLE_SAMPLE) := simple.fbp
sample-simple-fbp-$(FLOW_BASICS_SIMPLE_SAMPLE)-deps := flow/timer.mod flow/boolean.mod flow/console.mod

sample-$(FLOW_BASICS_SUBPROCESS_BC_SAMPLE) += subprocess-bc
sample-subprocess-bc-$(FLOW_BASICS_SUBPROCESS_BC_SAMPLE) := subprocess_bc.fbp
sample-subprocess-bc-$(FLOW_BASICS_SUBPROCESS_BC_SAMPLE)-deps := \
flow/console.mod \
flow/constant.mod \
flow/process.mod
5 changes: 0 additions & 5 deletions src/samples/flow/compass/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
sample-$(FLOW_COMPASS_LSM303_SAMPLE) += compass-lsm303
sample-compass-lsm303-$(FLOW_COMPASS_LSM303_SAMPLE) := lsm303.fbp
sample-compass-lsm303-$(FLOW_COMPASS_LSM303_SAMPLE)-deps := \
flow/accelerometer.mod \
flow/compass.mod \
flow/console.mod \
flow/magnetometer.mod
6 changes: 0 additions & 6 deletions src/samples/flow/foosball/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,4 @@ sample-$(FLOW_FOOSBALL_SAMPLE) += foosball
sample-foosball-$(FLOW_FOOSBALL_SAMPLE) := \
foosball.fbp
sample-foosball-$(FLOW_FOOSBALL_SAMPLE)-deps := \
flow/boolean.mod \
flow/constant.mod \
flow/converter.mod \
flow/int.mod \
flow/timer.mod \
gtk.mod \
tracker.fbp
17 changes: 0 additions & 17 deletions src/samples/flow/galileo-grove-kit/Makefile
Original file line number Diff line number Diff line change
@@ -1,36 +1,19 @@
sample-$(FLOW_GALILEO_GROVE_BUTTON_SAMPLE) += grove-button
sample-grove-button-$(FLOW_GALILEO_GROVE_BUTTON_SAMPLE) := grove-button.fbp
sample-grove-button-$(FLOW_GALILEO_GROVE_BUTTON_SAMPLE)-conffile := galileo-grove-kit.json
sample-grove-button-$(FLOW_GALILEO_GROVE_BUTTON_SAMPLE)-deps := \
flow/gpio.mod

sample-$(FLOW_GALILEO_GROVE_BUZZER_SAMPLE) += grove-buzzer
sample-grove-buzzer-$(FLOW_GALILEO_GROVE_BUZZER_SAMPLE) := grove-buzzer.fbp
sample-grove-buzzer-$(FLOW_GALILEO_GROVE_BUZZER_SAMPLE)-conffile := galileo-grove-kit.json
sample-grove-buzzer-$(FLOW_GALILEO_GROVE_BUZZER_SAMPLE)-deps := flow/piezo-speaker.mod

sample-$(FLOW_GALILEO_GROVE_LED_ACCUMULATOR_SAMPLE) += grove-led-accumulator
sample-grove-led-accumulator-$(FLOW_GALILEO_GROVE_LED_ACCUMULATOR_SAMPLE) := grove-led-accumulator.fbp
sample-grove-led-accumulator-$(FLOW_GALILEO_GROVE_LED_ACCUMULATOR_SAMPLE)-conffile := galileo-grove-kit.json
sample-grove-led-accumulator-$(FLOW_GALILEO_GROVE_LED_ACCUMULATOR_SAMPLE)-deps := \
flow/boolean.mod \
flow/constant.mod \
flow/converter.mod \
flow/int.mod \
flow/pwm.mod \
flow/timer.mod

sample-$(FLOW_GALILEO_GROVE_RELAY_SAMPLE) += grove-relay
sample-grove-relay-$(FLOW_GALILEO_GROVE_RELAY_SAMPLE) := grove-relay.fbp
sample-grove-relay-$(FLOW_GALILEO_GROVE_RELAY_SAMPLE)-conffile := galileo-grove-kit.json
sample-grove-relay-$(FLOW_GALILEO_GROVE_RELAY_SAMPLE)-deps := \
flow/gpio.mod

sample-$(FLOW_GALILEO_GROVE_SOUND_SENSOR_SAMPLE) += grove-sound-sensor
sample-grove-sound-sensor-$(FLOW_GALILEO_GROVE_SOUND_SENSOR_SAMPLE) := grove-sound-sensor.fbp
sample-grove-sound-sensor-$(FLOW_GALILEO_GROVE_SOUND_SENSOR_SAMPLE)-conffile := galileo-grove-kit.json
sample-grove-sound-sensor-$(FLOW_GALILEO_GROVE_SOUND_SENSOR_SAMPLE)-deps := \
flow/aio.mod \
flow/constant.mod \
flow/gpio.mod \
flow/int.mod
57 changes: 0 additions & 57 deletions src/samples/flow/galileo-grove-kit/lcd/Makefile
Original file line number Diff line number Diff line change
@@ -1,88 +1,31 @@
sample-$(FLOW_GALILEO_GROVE_LCD_AUTOSCROLL_SAMPLE) += grove-lcd-autoscroll
sample-grove-lcd-autoscroll-$(FLOW_GALILEO_GROVE_LCD_AUTOSCROLL_SAMPLE) := grove-lcd-autoscroll.fbp
sample-grove-lcd-autoscroll-$(FLOW_GALILEO_GROVE_LCD_AUTOSCROLL_SAMPLE)-conffile := ../galileo-grove-kit.json
sample-grove-lcd-autoscroll-$(FLOW_GALILEO_GROVE_LCD_AUTOSCROLL_SAMPLE)-deps := \
flow/aio.mod \
flow/boolean.mod \
flow/constant.mod \
flow/converter.mod \
flow/grove.mod \
flow/int.mod \
flow/timer.mod

sample-$(FLOW_GALILEO_GROVE_LCD_BLINK_SAMPLE) += grove-lcd-blink
sample-grove-lcd-blink-$(FLOW_GALILEO_GROVE_LCD_BLINK_SAMPLE) := grove-lcd-blink.fbp
sample-grove-lcd-blink-$(FLOW_GALILEO_GROVE_LCD_BLINK_SAMPLE)-conffile := ../galileo-grove-kit.json
sample-grove-lcd-blink-$(FLOW_GALILEO_GROVE_LCD_BLINK_SAMPLE)-deps := \
flow/aio.mod \
flow/boolean.mod \
flow/constant.mod \
flow/converter.mod \
flow/grove.mod \
flow/timer.mod

sample-$(FLOW_GALILEO_GROVE_LCD_CURSOR_SAMPLE) += grove-lcd-cursor
sample-grove-lcd-cursor-$(FLOW_GALILEO_GROVE_LCD_CURSOR_SAMPLE) := grove-lcd-cursor.fbp
sample-grove-lcd-cursor-$(FLOW_GALILEO_GROVE_LCD_CURSOR_SAMPLE)-conffile := ../galileo-grove-kit.json
sample-grove-lcd-cursor-$(FLOW_GALILEO_GROVE_LCD_CURSOR_SAMPLE)-deps := \
flow/aio.mod \
flow/boolean.mod \
flow/constant.mod \
flow/grove.mod \
flow/timer.mod

sample-$(FLOW_GALILEO_GROVE_LCD_DISPLAY_SAMPLE) += grove-lcd-display
sample-grove-lcd-display-$(FLOW_GALILEO_GROVE_LCD_DISPLAY_SAMPLE) := grove-lcd-display.fbp
sample-grove-lcd-display-$(FLOW_GALILEO_GROVE_LCD_DISPLAY_SAMPLE)-conffile := ../galileo-grove-kit.json
sample-grove-lcd-display-$(FLOW_GALILEO_GROVE_LCD_DISPLAY_SAMPLE)-deps := \
flow/aio.mod \
flow/boolean.mod \
flow/constant.mod \
flow/grove.mod \
flow/timer.mod

sample-$(FLOW_GALILEO_GROVE_LCD_HELLO_WORLD_SAMPLE) += grove-lcd-hello-world
sample-grove-lcd-hello-world-$(FLOW_GALILEO_GROVE_LCD_HELLO_WORLD_SAMPLE) := grove-lcd-hello-world.fbp
sample-grove-lcd-hello-world-$(FLOW_GALILEO_GROVE_LCD_HELLO_WORLD_SAMPLE)-conffile := ../galileo-grove-kit.json
sample-grove-lcd-hello-world-$(FLOW_GALILEO_GROVE_LCD_HELLO_WORLD_SAMPLE)-deps := \
flow/aio.mod \
flow/constant.mod \
flow/converter.mod \
flow/grove.mod \
flow/int.mod \
flow/timer.mod

sample-$(FLOW_GALILEO_GROVE_LCD_SCROLL_SAMPLE) += grove-lcd-scroll
sample-grove-lcd-scroll-$(FLOW_GALILEO_GROVE_LCD_SCROLL_SAMPLE) := grove-lcd-scroll.fbp
sample-grove-lcd-scroll-$(FLOW_GALILEO_GROVE_LCD_SCROLL_SAMPLE)-conffile := ../galileo-grove-kit.json
sample-grove-lcd-scroll-$(FLOW_GALILEO_GROVE_LCD_SCROLL_SAMPLE)-deps := \
flow/aio.mod \
flow/boolean.mod \
flow/constant.mod \
flow/converter.mod \
flow/grove.mod \
flow/int.mod \
flow/timer.mod

sample-$(FLOW_GALILEO_GROVE_LCD_SET_CURSOR_SAMPLE) += grove-lcd-set-cursor
sample-grove-lcd-set-cursor-$(FLOW_GALILEO_GROVE_LCD_SET_CURSOR_SAMPLE) := grove-lcd-set-cursor.fbp
sample-grove-lcd-set-cursor-$(FLOW_GALILEO_GROVE_LCD_SET_CURSOR_SAMPLE)-conffile := ../galileo-grove-kit.json
sample-grove-lcd-set-cursor-$(FLOW_GALILEO_GROVE_LCD_SET_CURSOR_SAMPLE)-deps := \
flow/aio.mod \
flow/constant.mod \
flow/converter.mod \
flow/grove.mod \
flow/int.mod \
flow/timer.mod

sample-$(FLOW_GALILEO_GROVE_LCD_TEXT_DIRECTION_SAMPLE) += grove-lcd-text-direction
sample-grove-lcd-text-direction-$(FLOW_GALILEO_GROVE_LCD_TEXT_DIRECTION_SAMPLE) := grove-lcd-text-direction.fbp
sample-grove-lcd-text-direction-$(FLOW_GALILEO_GROVE_LCD_TEXT_DIRECTION_SAMPLE)-conffile := ../galileo-grove-kit.json
sample-grove-lcd-text-direction-$(FLOW_GALILEO_GROVE_LCD_TEXT_DIRECTION_SAMPLE)-deps := \
flow/aio.mod \
flow/boolean.mod \
flow/constant.mod \
flow/converter.mod \
flow/grove.mod \
flow/int.mod \
flow/timer.mod
1 change: 0 additions & 1 deletion src/samples/flow/gtk-gallery/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
sample-$(FLOW_GTK_GALLERY_SAMPLE) += gtk-sample
sample-gtk-sample-$(FLOW_GTK_GALLERY_SAMPLE) := gtk-gallery.fbp
sample-gtk-sample-$(FLOW_GTK_GALLERY_SAMPLE)-deps := flow/gtk.mod
9 changes: 0 additions & 9 deletions src/samples/flow/http-server/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,12 @@ sample-$(FLOW_HTTP_SERVER_SAMPLE) += \

sample-boolean-$(FLOW_HTTP_SERVER_SAMPLE) := \
boolean.fbp
sample-boolean-$(FLOW_HTTP_SERVER_SAMPLE)-deps := \
flow/http-server.mod \
flow/keyboard.mod

sample-drange-$(FLOW_HTTP_SERVER_SAMPLE) := \
drange.fbp
sample-drange-$(FLOW_HTTP_SERVER_SAMPLE)-deps := \
flow/http-server.mod

sample-irange-$(FLOW_HTTP_SERVER_SAMPLE) := \
irange.fbp
sample-irange-$(FLOW_HTTP_SERVER_SAMPLE)-deps := \
flow/http-server.mod

sample-string-$(FLOW_HTTP_SERVER_SAMPLE) := \
string.fbp
sample-string-$(FLOW_HTTP_SERVER_SAMPLE)-deps := \
flow/http-server.mod
4 changes: 0 additions & 4 deletions src/samples/flow/iio/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
sample-$(FLOW_IIO_SAMPLE) += iio-gyro
sample-iio-gyro-$(FLOW_IIO_SAMPLE) := gyroscope.fbp
sample-iio-gyro-$(FLOW_IIO_SAMPLE)-deps := \
flow/iio.mod \
flow/timer.mod \
flow/console.mod
12 changes: 0 additions & 12 deletions src/samples/flow/io/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,10 @@ sample-$(FLOW_IO_SAMPLE) += \

sample-io-pwm-$(FLOW_IO_SAMPLE) := \
pwm.fbp
sample-io-pwm-$(FLOW_IO_SAMPLE)-deps := \
flow/boolean.mod \
flow/console.mod \
flow/int.mod \
flow/pwm.mod \
flow/timer.mod
sample-io-pwm-$(FLOW_IO_SAMPLE)-conffile := \
pwm.json

sample-io-servo-motor-$(FLOW_IO_SAMPLE) := \
servo-motor.fbp
sample-io-servo-motor-$(FLOW_IO_SAMPLE)-deps := \
flow/console.mod \
flow/converter.mod \
flow/int.mod \
flow/servo-motor.mod \
flow/timer.mod
sample-io-servo-motor-$(FLOW_IO_SAMPLE)-conffile := \
servo-motor.json
7 changes: 0 additions & 7 deletions src/samples/flow/led-strip/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
sample-$(FLOW_LD_STRIP_LPD8806_SAMPLE) += lpd8806
sample-lpd8806-$(FLOW_LD_STRIP_LPD8806_SAMPLE) := lpd8806.fbp
sample-lpd8806-$(FLOW_LD_STRIP_LPD8806_SAMPLE)-deps := \
flow/boolean.mod \
flow/converter.mod \
flow/int.mod \
flow/led-strip.mod \
flow/random.mod \
flow/timer.mod
7 changes: 1 addition & 6 deletions src/samples/flow/minnow-calamari/Makefile
Original file line number Diff line number Diff line change
@@ -1,29 +1,24 @@
sample-$(FLOW_CALAMARI_7SEG_SEGMENTS_SAMPLE) += calamari-7seg-segments
sample-calamari-7seg-segments-$(FLOW_CALAMARI_7SEG_SEGMENTS_SAMPLE) := calamari-7seg-segments.fbp
sample-calamari-7seg-segments-$(FLOW_CALAMARI_7SEG_SEGMENTS_SAMPLE)-conffile := sol-flow-new.json
sample-calamari-7seg-segments-$(FLOW_CALAMARI_7SEG_SEGMENTS_SAMPLE)-deps := flow/calamari.mod

sample-$(FLOW_CALAMARI_7SEG_VALUE_SAMPLE) += calamari-7seg-value
sample-calamari-7seg-value-$(FLOW_CALAMARI_7SEG_VALUE_SAMPLE) := calamari-7seg-value.fbp
sample-calamari-7seg-value-$(FLOW_CALAMARI_7SEG_VALUE_SAMPLE)-conffile := sol-flow-new.json
sample-calamari-7seg-value-$(FLOW_CALAMARI_7SEG_VALUE_SAMPLE)-deps := flow/calamari.mod

sample-$(FLOW_CALAMARI_BUTTONS_RGB_LED_SAMPLE) += calamari-buttons-rgb-led
sample-calamari-buttons-rgb-led-$(FLOW_CALAMARI_BUTTONS_RGB_LED_SAMPLE) := calamari-buttons-rgb-led.fbp
sample-calamari-buttons-rgb-led-$(FLOW_CALAMARI_BUTTONS_RGB_LED_SAMPLE)-conffile := sol-flow-new.json
sample-calamari-buttons-rgb-led-$(FLOW_CALAMARI_BUTTONS_RGB_LED_SAMPLE)-deps := flow/calamari.mod

sample-$(FLOW_CALAMARI_LED_SAMPLE) += calamari-led
sample-calamari-led-$(FLOW_CALAMARI_LED_SAMPLE) := calamari-led.fbp
sample-calamari-led-$(FLOW_CALAMARI_LED_SAMPLE)-conffile := sol-flow-new.json
sample-calamari-led-$(FLOW_CALAMARI_LED_SAMPLE)-deps := flow/calamari.mod

sample-$(FLOW_CALAMARI_LEVER_SAMPLE) += calamari-lever
sample-calamari-lever-$(FLOW_CALAMARI_LEVER_SAMPLE) := calamari-lever.fbp
sample-calamari-lever-$(FLOW_CALAMARI_LEVER_SAMPLE)-conffile := sol-flow-new.json
sample-calamari-lever-$(FLOW_CALAMARI_LEVER_SAMPLE)-deps := flow/calamari.mod

sample-$(FLOW_CALAMARI_RGB_LED_SAMPLE) += calamari-rgb-led
sample-calamari-rgb-led-$(FLOW_CALAMARI_RGB_LED_SAMPLE) := calamari-rgb-led.fbp
sample-calamari-rgb-led-$(FLOW_CALAMARI_RGB_LED_SAMPLE)-conffile := sol-flow-new.json
sample-calamari-rgb-led-$(FLOW_CALAMARI_RGB_LED_SAMPLE)-deps := flow/calamari.mod

19 changes: 0 additions & 19 deletions src/samples/flow/misc/Makefile
Original file line number Diff line number Diff line change
@@ -1,30 +1,11 @@
sample-$(FLOW_MISC_FILE_COPY_SAMPLE) += file-copy
sample-file-copy-$(FLOW_MISC_FILE_COPY_SAMPLE) := file-copy.fbp
sample-file-copy-$(FLOW_MISC_FILE_COPY_SAMPLE)-deps := \
flow/app.mod \
flow/console.mod \
flow/constant.mod \
flow/converter.mod \
flow/file.mod \
flow/int.mod \
flow/timer.mod

sample-$(FLOW_MISC_FS_PERSISTENCE_SAMPLE) += fs-persistence
sample-fs-persistence-$(FLOW_MISC_FS_PERSISTENCE_SAMPLE) := fs-persitence.fbp
sample-fs-persistence-$(FLOW_MISC_FS_PERSISTENCE_SAMPLE)-deps := flow/fs.mod

sample-$(FLOW_MISC_RANDOM_NUMBERS_SAMPLE) += random-numbers
sample-random-numbers-$(FLOW_MISC_RANDOM_NUMBERS_SAMPLE) := random-numbers.fbp
sample-random-numbers-$(FLOW_MISC_RANDOM_NUMBERS_SAMPLE)-deps := \
flow/console.mod \
flow/random.mod \
flow/timer.mod

sample-$(FLOW_MISC_TICKETS_QUEUE_SAMPLE) += tickets-queue
sample-tickets-queue-$(FLOW_MISC_TICKETS_QUEUE_SAMPLE) := tickets_queue.fbp
sample-tickets-queue-$(FLOW_MISC_TICKETS_QUEUE_SAMPLE)-deps := \
flow/boolean.mod \
flow/console.mod \
flow/converter.mod \
flow/int.mod \
flow/keyboard.mod
7 changes: 0 additions & 7 deletions src/samples/flow/oic/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,10 @@ sample-$(FLOW_OIC_SAMPLE) += \

sample-light-client-$(FLOW_OIC_SAMPLE) := \
light-client.fbp
sample-light-client-$(FLOW_OIC_SAMPLE)-deps := \
flow/boolean.mod \
flow/timer.mod \
oic.mod
sample-light-client-$(FLOW_OIC_SAMPLE)-conffile := \
light-client.json

sample-light-server-$(FLOW_OIC_SAMPLE) := \
light-server.fbp
sample-light-server-$(FLOW_OIC_SAMPLE)-deps := \
oic.mod \
flow/console.mod
sample-light-server-$(FLOW_OIC_SAMPLE)-conffile := \
light-server.json
8 changes: 0 additions & 8 deletions src/samples/flow/trash-disposer/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
sample-$(FLOW_TRASH_DISPOSER) += trash-disposer
sample-trash-disposer-$(FLOW_TRASH_DISPOSER) := trash-disposer.fbp
sample-trash-disposer-$(FLOW_TRASH_DISPOSER)-conffile := contiki-config.json
sample-trash-disposer-$(FLOW_TRASH_DISPOSER)-deps := \
flow/boolean.mod \
flow/console.mod \
flow/constant.mod \
flow/converter.mod \
flow/gpio.mod \
flow/servo-motor.mod \
flow/timer.mod
Loading

0 comments on commit c5059a9

Please sign in to comment.