# # Build # if {[have_spec gpio] == 0} { puts "Runs only on platforms with GPIO" exit 0 } set build_components { core init drivers/timer drivers/gpio test/gpio_led } build $build_components create_boot_directory # # Generate config # Example preconfigured for RaspberryPI ACT Led # append config { } install_config $config # # Boot modules # # generic modules set boot_modules { core init timer gpio_drv led_gpio_drv } build_boot_image $boot_modules