[Sysless] [PATCH 2/5] Move applications to their board/mach subdirectory

Michal Sojka sojkam1 at fel.cvut.cz
Wed Jul 21 16:52:10 CEST 2010


The app/ directory was mess. This is an attempt to make the situation
better.
---
 {app/arm => arch/arm/generic/app}/usbhiddemo/usb/usb_defs.h                     |    0
 {app/arm => arch/arm/generic/app}/usbhiddemo/usbhid.c                           |    0
 {app/arm => arch/arm/mach-at91sam7/test}/ledflash/ledflash.c                    |    0
 {app/arm => arch/arm/mach-at91sam7/test}/test_at91_timer/test_at91_timer.c      |    0
 {app/arm => arch/arm/mach-lpc13xx/test}/ahoy1311/ahoy.c                         |    0
 {app/arm => arch/arm/mach-lpc21xx/test}/armtest_leds/config.h                   |    0
 {app/arm => arch/arm/mach-lpc21xx/test}/armtest_leds/main.c                     |    0
 {app/arm => arch/arm/mach-lpc21xx/test}/canldtg/canld_tg.c                      |    0
 {app/arm => arch/arm/mach-lpc21xx/test}/interrupt_t0_test/config.h              |    0
 {app/arm => arch/arm/mach-lpc21xx/test}/interrupt_t0_test/interrupt_t0_test.c   |    0
 {app/arm => arch/arm/mach-lpc21xx/test}/test_ARMBoard_pwm/config.h              |    0
 {app/arm => arch/arm/mach-lpc21xx/test}/test_ARMBoard_pwm/pwm.c                 |    0
 {app/arm => arch/arm/mach-lpc21xx/test}/test_ARMBoard_pwm/pwm.h                 |    0
 {app/arm => arch/arm/mach-lpc21xx/test}/test_ARMBoard_pwm/test_ARMBoard_pwm.c   |    0
 {app/arm => arch/arm/mach-lpc21xx/test}/test_uart/config.h                      |    0
 {app/arm => arch/arm/mach-lpc21xx/test}/test_uart/uart.c                        |    0
 {app/arm => arch/arm/mach-lpc21xx/test}/test_uart/uart.h                        |    0
 {app/arm => arch/arm/mach-lpc21xx/test}/test_uart/uart_test.c                   |    0
 {app/arm => arch/arm/mach-lpc21xx/test}/test_uart/uartx.c                       |    0
 {app/arm => arch/arm/mach-lpc21xx/test}/test_uart/uartx.h                       |    0
 {app/arm => arch/arm/mach-lpc23xx/test}/ahoy2364/ahoy2364.c                     |    0
 {app/h8300 => arch/h8300/generic}/bloader/bloader.c                             |    0
 {app/h8300 => arch/h8300/generic}/bloader/test_upraveny.c                       |    0
 {app/h8300 => arch/h8300/generic/test}/ledblink/ledblink.c                      |    0
 {app/h8300 => arch/h8300/generic/test}/ledblink/ledtimer.c                      |    0
 {app/h8300 => arch/h8300/generic/test}/rs_test/rs_test.c                        |    0
 {app/h8300 => arch/h8300/generic/test}/rs_test/rs_test2.c                       |    0
 {app/h8300 => arch/h8300/generic/test}/usb_test/usb_loader.c                    |    0
 {app/h8300 => arch/h8300/generic/test}/usb_test/usb_loader.h                    |    0
 {app/h8300 => arch/h8300/generic/test}/usb_test/usb_test.c                      |    0
 {app/h8300 => arch/h8300/generic/tools}/tohit/cfsetspeed.c                      |    0
 {app/h8300 => arch/h8300/generic/tools}/tohit/hiterm.c                          |    0
 {app/h8300 => arch/h8300/generic/tools}/tohit/rs232_lt.c                        |    0
 {app/h8300 => arch/h8300/generic/tools}/tohit/tohit.c                           |    0
 {app/h8300 => arch/h8300/generic/tools}/tohit/tohit_fn.c                        |    0
 {app/h8300 => arch/h8300/generic/tools}/tohit/tohit_fn.h                        |    0
 {app/arm => board/arm/lpc17cmsis-mbed/test}/mbed_blink/main.c                   |    0
 {app/arm => board/arm/lpceurobot/app}/minibee/MC1319x.c                         |    0
 {app/arm => board/arm/lpceurobot/app}/minibee/MC1319x.h                         |    0
 {app/arm => board/arm/lpceurobot/app}/minibee/MC1319xdef.h                      |    0
 {app/arm => board/arm/lpceurobot/app}/minibee/main.c                            |    0
 {app/arm => board/arm/lpceurobot/app}/minibee/spi.h                             |    0
 {app/arm => board/arm/lpceurobot/app}/minibee/spi_LPC.c                         |    0
 {app/arm => board/arm/lpceurobot/app}/minibee/spi_avr.c                         |    0
 {app/arm => board/arm/lpceurobot/app}/minibee/uart_minibee.c                    |    0
 {app/arm => board/arm/lpceurobot/app}/minibee/uart_minibee.h                    |    0
 {app/arm => board/arm/lpceurobot/libs}/eb_ebb/adc.c                             |    0
 {app/arm => board/arm/lpceurobot/libs}/eb_ebb/adc.h                             |    0
 {app/arm => board/arm/lpceurobot/libs}/eb_ebb/adc_filtr.c                       |    0
 {app/arm => board/arm/lpceurobot/libs}/eb_ebb/adc_filtr.h                       |    0
 {app/arm => board/arm/lpceurobot/libs}/eb_ebb/engine.c                          |    0
 {app/arm => board/arm/lpceurobot/libs}/eb_ebb/engine.h                          |    0
 {app/arm => board/arm/lpceurobot/libs}/eb_ebb/main.c                            |    0
 {app/arm => board/arm/lpceurobot/libs}/eb_ebb/powswitch.c                       |    0
 {app/arm => board/arm/lpceurobot/libs}/eb_ebb/powswitch.h                       |    0
 {app/arm => board/arm/lpceurobot/libs}/eb_ebb/servo.c                           |    0
 {app/arm => board/arm/lpceurobot/libs}/eb_ebb/servo.h                           |    0
 {app/arm => board/arm/lpceurobot/libs}/eb_ebb/uart.c                            |    0
 {app/arm => board/arm/lpceurobot/libs}/eb_ebb/uart.h                            |    0
 {app/arm => board/arm/lpceurobot/test}/eb_blink/main.c                          |    0
 {app/arm => board/arm/spejblarm/app}/rama_dam/rama_dam.c                        |    0
 {app/arm => board/arm/spejblarm/app}/shodiny/hodiny.c                           |    0
 {app/arm => board/arm/spejblarm/app}/smotor/motor.c                             |    0
 {app/arm => board/arm/spejblarm/app}/smotor/pwm.c                               |    0
 {app/arm => board/arm/spejblarm/app}/smotor/pwm.h                               |    0
 app/Makefile.omk                                                                |    2 --
 arch/arm/generic/Makefile.omk                                                   |    2 +-
 {app/arm/ahoy1311 => arch/arm/generic/app}/Makefile                             |    0
 arch/arm/generic/app/Makefile.omk                                               |    3 +++
 {app/arm/test_at91_timer => arch/arm/generic/app/usbhiddemo}/Makefile           |    0
 {app/arm => arch/arm/generic/app}/usbhiddemo/Makefile.omk                       |    0
 arch/arm/mach-at91sam7/Makefile.omk                                             |    2 +-
 {app/arm/ahoy2364 => arch/arm/mach-at91sam7/test}/Makefile                      |    0
 arch/arm/mach-at91sam7/test/Makefile.omk                                        |    3 +++
 {app/arm/armtest_leds => arch/arm/mach-at91sam7/test/ledflash}/Makefile         |    0
 {app/arm => arch/arm/mach-at91sam7/test}/ledflash/Makefile.omk                  |    0
 {app/arm/usbhiddemo => arch/arm/mach-at91sam7/test/test_at91_timer}/Makefile    |    0
 {app/arm => arch/arm/mach-at91sam7/test}/test_at91_timer/Makefile.omk           |    0
 arch/arm/mach-lpc13xx/Makefile.omk                                              |    2 +-
 {app/arm/canldtg => arch/arm/mach-lpc13xx/test}/Makefile                        |    0
 arch/arm/mach-lpc13xx/test/Makefile.omk                                         |    3 +++
 {app/arm/eb_blink => arch/arm/mach-lpc13xx/test/ahoy1311}/Makefile              |    0
 {app/arm => arch/arm/mach-lpc13xx/test}/ahoy1311/Makefile.omk                   |    0
 arch/arm/mach-lpc21xx/Makefile.omk                                              |    2 +-
 {app/arm/eb_ebb => arch/arm/mach-lpc21xx/test}/Makefile                         |    0
 arch/arm/mach-lpc21xx/test/Makefile.omk                                         |    3 +++
 {app/arm/interrupt_t0_test => arch/arm/mach-lpc21xx/test/armtest_leds}/Makefile |    0
 {app/arm => arch/arm/mach-lpc21xx/test}/armtest_leds/Makefile.omk               |    0
 {app/arm/ledflash => arch/arm/mach-lpc21xx/test/canldtg}/Makefile               |    0
 {app/arm => arch/arm/mach-lpc21xx/test}/canldtg/Makefile.omk                    |    0
 {app/arm/mbed_blink => arch/arm/mach-lpc21xx/test/interrupt_t0_test}/Makefile   |    0
 {app/arm => arch/arm/mach-lpc21xx/test}/interrupt_t0_test/Makefile.omk          |    0
 {app/arm/minibee => arch/arm/mach-lpc21xx/test/test_ARMBoard_pwm}/Makefile      |    0
 {app/arm => arch/arm/mach-lpc21xx/test}/test_ARMBoard_pwm/Makefile.omk          |    0
 {app/arm/rama_dam => arch/arm/mach-lpc21xx/test/test_uart}/Makefile             |    0
 {app/arm => arch/arm/mach-lpc21xx/test}/test_uart/Makefile.omk                  |    0
 arch/arm/mach-lpc23xx/Makefile.omk                                              |    2 +-
 {app/arm/shodiny => arch/arm/mach-lpc23xx/test}/Makefile                        |    0
 arch/arm/mach-lpc23xx/test/Makefile.omk                                         |    3 +++
 {app/arm/smotor => arch/arm/mach-lpc23xx/test/ahoy2364}/Makefile                |    0
 {app/arm => arch/arm/mach-lpc23xx/test}/ahoy2364/Makefile.omk                   |    0
 arch/h8300/generic/Makefile.omk                                                 |    2 +-
 {app/arm/test_ARMBoard_pwm => arch/h8300/generic/bloader}/Makefile              |    0
 {app/h8300 => arch/h8300/generic}/bloader/Makefile.omk                          |    0
 {app/h8300 => arch/h8300/generic}/bloader/Makefile.std                          |    0
 {app/h8300 => arch/h8300/generic}/bloader/bootstrap                             |    0
 {app/h8300 => arch/h8300/generic}/bloader/depend                                |    0
 {app/h8300 => arch/h8300/generic}/bloader/make_vysledek                         |    0
 {app/h8300 => arch/h8300/generic}/bloader/pat.bin                               |  Bin 1024 -> 1024 bytes
 {app/h8300 => arch/h8300/generic}/bloader/poznamky                              |    0
 {app/arm/test_uart => arch/h8300/generic/test}/Makefile                         |    0
 arch/h8300/generic/test/Makefile.omk                                            |    3 +++
 {app/h8300 => arch/h8300/generic/test/ledblink}/Makefile                        |    0
 {app/h8300 => arch/h8300/generic/test}/ledblink/Makefile.omk                    |    0
 {app/h8300/bloader => arch/h8300/generic/test/rs_test}/Makefile                 |    0
 {app/h8300 => arch/h8300/generic/test}/rs_test/Makefile.omk                     |    0
 {app/h8300/ledblink => arch/h8300/generic/test/usb_test}/Makefile               |    0
 {app/h8300 => arch/h8300/generic/test}/usb_test/Makefile.omk                    |    0
 {app/h8300/rs_test => arch/h8300/generic/tools}/Makefile                        |    0
 arch/h8300/generic/tools/Makefile.omk                                           |    3 +++
 {app/h8300 => arch/h8300/generic/tools}/tohit/Makefile                          |    0
 {app/h8300 => arch/h8300/generic/tools}/tohit/Makefile.omk                      |    0
 {app/h8300 => arch/h8300/generic/tools}/tohit/Makefile.std                      |    0
 {app/h8300 => arch/h8300/generic/tools}/tohit/README                            |    0
 board/arm/lpc17cmsis-mbed/Makefile.omk                                          |    2 +-
 {app/h8300/usb_test => board/arm/lpc17cmsis-mbed/test}/Makefile                 |    0
 board/arm/lpc17cmsis-mbed/test/Makefile.omk                                     |    3 +++
 {app/arm/ahoy1311 => board/arm/lpc17cmsis-mbed/test/mbed_blink}/Makefile        |    0
 {app/arm => board/arm/lpc17cmsis-mbed/test}/mbed_blink/Makefile.omk             |    0
 board/arm/lpceurobot/Makefile.omk                                               |    2 +-
 {app/arm/ahoy1311 => board/arm/lpceurobot/app}/Makefile                         |    0
 board/arm/lpceurobot/app/Makefile.omk                                           |    3 +++
 {app/arm => board/arm/lpceurobot/app}/minibee/Doxyfile                          |    0
 {app/arm/ahoy1311 => board/arm/lpceurobot/app/minibee}/Makefile                 |    0
 {app/arm => board/arm/lpceurobot/app}/minibee/Makefile.omk                      |    0
 {app/arm => board/arm/lpceurobot/app}/minibee/minibee.kdevelop                  |    0
 {app/arm => board/arm/lpceurobot/app}/minibee/minibee.kdevelop.filelist         |    0
 {app/arm => board/arm/lpceurobot/app}/minibee/minibee.kdevelop.pcs              |  Bin 40279 -> 40279 bytes
 {app/arm => board/arm/lpceurobot/app}/minibee/minibee.kdevses                   |    0
 {app/arm => board/arm/lpceurobot/app}/minibee/minibee.tag                       |    0
 board/arm/lpceurobot/libs/Makefile.omk                                          |    2 +-
 {app/arm => board/arm/lpceurobot/libs}/eb_ebb/Abstract.txt                      |    0
 {app/arm => board/arm/lpceurobot/libs}/eb_ebb/Doxyfile                          |    0
 {app/arm/ahoy1311 => board/arm/lpceurobot/libs/eb_ebb}/Makefile                 |    0
 {app/arm => board/arm/lpceurobot/libs}/eb_ebb/Makefile.omk                      |    0
 {app/arm/ahoy1311 => board/arm/lpceurobot/test}/Makefile                        |    0
 {app/h8300 => board/arm/lpceurobot/test}/Makefile.omk                           |    0
 {app/arm/ahoy1311 => board/arm/lpceurobot/test/eb_blink}/Makefile               |    0
 {app/arm => board/arm/lpceurobot/test}/eb_blink/Makefile.omk                    |    0
 {app/arm/ahoy1311 => board/arm/spejblarm/app}/Makefile                          |    0
 board/arm/spejblarm/app/Makefile.omk                                            |    3 +++
 {app/arm/ahoy1311 => board/arm/spejblarm/app/rama_dam}/Makefile                 |    0
 {app/arm => board/arm/spejblarm/app}/rama_dam/Makefile.omk                      |    0
 {app/arm/ahoy1311 => board/arm/spejblarm/app/shodiny}/Makefile                  |    0
 {app/arm => board/arm/spejblarm/app}/shodiny/Makefile.omk                       |    0
 {app/arm/ahoy1311 => board/arm/spejblarm/app/smotor}/Makefile                   |    0
 {app/arm => board/arm/spejblarm/app}/smotor/Makefile.omk                        |    0
 157 files changed, 39 insertions(+), 11 deletions(-)

diff --git a/app/arm/usbhiddemo/usb/usb_defs.h b/arch/arm/generic/app/usbhiddemo/usb/usb_defs.h
similarity index 100%
rename from app/arm/usbhiddemo/usb/usb_defs.h
rename to arch/arm/generic/app/usbhiddemo/usb/usb_defs.h
diff --git a/app/arm/usbhiddemo/usbhid.c b/arch/arm/generic/app/usbhiddemo/usbhid.c
similarity index 100%
rename from app/arm/usbhiddemo/usbhid.c
rename to arch/arm/generic/app/usbhiddemo/usbhid.c
diff --git a/app/arm/ledflash/ledflash.c b/arch/arm/mach-at91sam7/test/ledflash/ledflash.c
similarity index 100%
rename from app/arm/ledflash/ledflash.c
rename to arch/arm/mach-at91sam7/test/ledflash/ledflash.c
diff --git a/app/arm/test_at91_timer/test_at91_timer.c b/arch/arm/mach-at91sam7/test/test_at91_timer/test_at91_timer.c
similarity index 100%
rename from app/arm/test_at91_timer/test_at91_timer.c
rename to arch/arm/mach-at91sam7/test/test_at91_timer/test_at91_timer.c
diff --git a/app/arm/ahoy1311/ahoy.c b/arch/arm/mach-lpc13xx/test/ahoy1311/ahoy.c
similarity index 100%
rename from app/arm/ahoy1311/ahoy.c
rename to arch/arm/mach-lpc13xx/test/ahoy1311/ahoy.c
diff --git a/app/arm/armtest_leds/config.h b/arch/arm/mach-lpc21xx/test/armtest_leds/config.h
similarity index 100%
rename from app/arm/armtest_leds/config.h
rename to arch/arm/mach-lpc21xx/test/armtest_leds/config.h
diff --git a/app/arm/armtest_leds/main.c b/arch/arm/mach-lpc21xx/test/armtest_leds/main.c
similarity index 100%
rename from app/arm/armtest_leds/main.c
rename to arch/arm/mach-lpc21xx/test/armtest_leds/main.c
diff --git a/app/arm/canldtg/canld_tg.c b/arch/arm/mach-lpc21xx/test/canldtg/canld_tg.c
similarity index 100%
rename from app/arm/canldtg/canld_tg.c
rename to arch/arm/mach-lpc21xx/test/canldtg/canld_tg.c
diff --git a/app/arm/interrupt_t0_test/config.h b/arch/arm/mach-lpc21xx/test/interrupt_t0_test/config.h
similarity index 100%
rename from app/arm/interrupt_t0_test/config.h
rename to arch/arm/mach-lpc21xx/test/interrupt_t0_test/config.h
diff --git a/app/arm/interrupt_t0_test/interrupt_t0_test.c b/arch/arm/mach-lpc21xx/test/interrupt_t0_test/interrupt_t0_test.c
similarity index 100%
rename from app/arm/interrupt_t0_test/interrupt_t0_test.c
rename to arch/arm/mach-lpc21xx/test/interrupt_t0_test/interrupt_t0_test.c
diff --git a/app/arm/test_ARMBoard_pwm/config.h b/arch/arm/mach-lpc21xx/test/test_ARMBoard_pwm/config.h
similarity index 100%
rename from app/arm/test_ARMBoard_pwm/config.h
rename to arch/arm/mach-lpc21xx/test/test_ARMBoard_pwm/config.h
diff --git a/app/arm/test_ARMBoard_pwm/pwm.c b/arch/arm/mach-lpc21xx/test/test_ARMBoard_pwm/pwm.c
similarity index 100%
rename from app/arm/test_ARMBoard_pwm/pwm.c
rename to arch/arm/mach-lpc21xx/test/test_ARMBoard_pwm/pwm.c
diff --git a/app/arm/test_ARMBoard_pwm/pwm.h b/arch/arm/mach-lpc21xx/test/test_ARMBoard_pwm/pwm.h
similarity index 100%
rename from app/arm/test_ARMBoard_pwm/pwm.h
rename to arch/arm/mach-lpc21xx/test/test_ARMBoard_pwm/pwm.h
diff --git a/app/arm/test_ARMBoard_pwm/test_ARMBoard_pwm.c b/arch/arm/mach-lpc21xx/test/test_ARMBoard_pwm/test_ARMBoard_pwm.c
similarity index 100%
rename from app/arm/test_ARMBoard_pwm/test_ARMBoard_pwm.c
rename to arch/arm/mach-lpc21xx/test/test_ARMBoard_pwm/test_ARMBoard_pwm.c
diff --git a/app/arm/test_uart/config.h b/arch/arm/mach-lpc21xx/test/test_uart/config.h
similarity index 100%
rename from app/arm/test_uart/config.h
rename to arch/arm/mach-lpc21xx/test/test_uart/config.h
diff --git a/app/arm/test_uart/uart.c b/arch/arm/mach-lpc21xx/test/test_uart/uart.c
similarity index 100%
rename from app/arm/test_uart/uart.c
rename to arch/arm/mach-lpc21xx/test/test_uart/uart.c
diff --git a/app/arm/test_uart/uart.h b/arch/arm/mach-lpc21xx/test/test_uart/uart.h
similarity index 100%
rename from app/arm/test_uart/uart.h
rename to arch/arm/mach-lpc21xx/test/test_uart/uart.h
diff --git a/app/arm/test_uart/uart_test.c b/arch/arm/mach-lpc21xx/test/test_uart/uart_test.c
similarity index 100%
rename from app/arm/test_uart/uart_test.c
rename to arch/arm/mach-lpc21xx/test/test_uart/uart_test.c
diff --git a/app/arm/test_uart/uartx.c b/arch/arm/mach-lpc21xx/test/test_uart/uartx.c
similarity index 100%
rename from app/arm/test_uart/uartx.c
rename to arch/arm/mach-lpc21xx/test/test_uart/uartx.c
diff --git a/app/arm/test_uart/uartx.h b/arch/arm/mach-lpc21xx/test/test_uart/uartx.h
similarity index 100%
rename from app/arm/test_uart/uartx.h
rename to arch/arm/mach-lpc21xx/test/test_uart/uartx.h
diff --git a/app/arm/ahoy2364/ahoy2364.c b/arch/arm/mach-lpc23xx/test/ahoy2364/ahoy2364.c
similarity index 100%
rename from app/arm/ahoy2364/ahoy2364.c
rename to arch/arm/mach-lpc23xx/test/ahoy2364/ahoy2364.c
diff --git a/app/h8300/bloader/bloader.c b/arch/h8300/generic/bloader/bloader.c
similarity index 100%
rename from app/h8300/bloader/bloader.c
rename to arch/h8300/generic/bloader/bloader.c
diff --git a/app/h8300/bloader/test_upraveny.c b/arch/h8300/generic/bloader/test_upraveny.c
similarity index 100%
rename from app/h8300/bloader/test_upraveny.c
rename to arch/h8300/generic/bloader/test_upraveny.c
diff --git a/app/h8300/ledblink/ledblink.c b/arch/h8300/generic/test/ledblink/ledblink.c
similarity index 100%
rename from app/h8300/ledblink/ledblink.c
rename to arch/h8300/generic/test/ledblink/ledblink.c
diff --git a/app/h8300/ledblink/ledtimer.c b/arch/h8300/generic/test/ledblink/ledtimer.c
similarity index 100%
rename from app/h8300/ledblink/ledtimer.c
rename to arch/h8300/generic/test/ledblink/ledtimer.c
diff --git a/app/h8300/rs_test/rs_test.c b/arch/h8300/generic/test/rs_test/rs_test.c
similarity index 100%
rename from app/h8300/rs_test/rs_test.c
rename to arch/h8300/generic/test/rs_test/rs_test.c
diff --git a/app/h8300/rs_test/rs_test2.c b/arch/h8300/generic/test/rs_test/rs_test2.c
similarity index 100%
rename from app/h8300/rs_test/rs_test2.c
rename to arch/h8300/generic/test/rs_test/rs_test2.c
diff --git a/app/h8300/usb_test/usb_loader.c b/arch/h8300/generic/test/usb_test/usb_loader.c
similarity index 100%
rename from app/h8300/usb_test/usb_loader.c
rename to arch/h8300/generic/test/usb_test/usb_loader.c
diff --git a/app/h8300/usb_test/usb_loader.h b/arch/h8300/generic/test/usb_test/usb_loader.h
similarity index 100%
rename from app/h8300/usb_test/usb_loader.h
rename to arch/h8300/generic/test/usb_test/usb_loader.h
diff --git a/app/h8300/usb_test/usb_test.c b/arch/h8300/generic/test/usb_test/usb_test.c
similarity index 100%
rename from app/h8300/usb_test/usb_test.c
rename to arch/h8300/generic/test/usb_test/usb_test.c
diff --git a/app/h8300/tohit/cfsetspeed.c b/arch/h8300/generic/tools/tohit/cfsetspeed.c
similarity index 100%
rename from app/h8300/tohit/cfsetspeed.c
rename to arch/h8300/generic/tools/tohit/cfsetspeed.c
diff --git a/app/h8300/tohit/hiterm.c b/arch/h8300/generic/tools/tohit/hiterm.c
similarity index 100%
rename from app/h8300/tohit/hiterm.c
rename to arch/h8300/generic/tools/tohit/hiterm.c
diff --git a/app/h8300/tohit/rs232_lt.c b/arch/h8300/generic/tools/tohit/rs232_lt.c
similarity index 100%
rename from app/h8300/tohit/rs232_lt.c
rename to arch/h8300/generic/tools/tohit/rs232_lt.c
diff --git a/app/h8300/tohit/tohit.c b/arch/h8300/generic/tools/tohit/tohit.c
similarity index 100%
rename from app/h8300/tohit/tohit.c
rename to arch/h8300/generic/tools/tohit/tohit.c
diff --git a/app/h8300/tohit/tohit_fn.c b/arch/h8300/generic/tools/tohit/tohit_fn.c
similarity index 100%
rename from app/h8300/tohit/tohit_fn.c
rename to arch/h8300/generic/tools/tohit/tohit_fn.c
diff --git a/app/h8300/tohit/tohit_fn.h b/arch/h8300/generic/tools/tohit/tohit_fn.h
similarity index 100%
rename from app/h8300/tohit/tohit_fn.h
rename to arch/h8300/generic/tools/tohit/tohit_fn.h
diff --git a/app/arm/mbed_blink/main.c b/board/arm/lpc17cmsis-mbed/test/mbed_blink/main.c
similarity index 100%
rename from app/arm/mbed_blink/main.c
rename to board/arm/lpc17cmsis-mbed/test/mbed_blink/main.c
diff --git a/app/arm/minibee/MC1319x.c b/board/arm/lpceurobot/app/minibee/MC1319x.c
similarity index 100%
rename from app/arm/minibee/MC1319x.c
rename to board/arm/lpceurobot/app/minibee/MC1319x.c
diff --git a/app/arm/minibee/MC1319x.h b/board/arm/lpceurobot/app/minibee/MC1319x.h
similarity index 100%
rename from app/arm/minibee/MC1319x.h
rename to board/arm/lpceurobot/app/minibee/MC1319x.h
diff --git a/app/arm/minibee/MC1319xdef.h b/board/arm/lpceurobot/app/minibee/MC1319xdef.h
similarity index 100%
rename from app/arm/minibee/MC1319xdef.h
rename to board/arm/lpceurobot/app/minibee/MC1319xdef.h
diff --git a/app/arm/minibee/main.c b/board/arm/lpceurobot/app/minibee/main.c
similarity index 100%
rename from app/arm/minibee/main.c
rename to board/arm/lpceurobot/app/minibee/main.c
diff --git a/app/arm/minibee/spi.h b/board/arm/lpceurobot/app/minibee/spi.h
similarity index 100%
rename from app/arm/minibee/spi.h
rename to board/arm/lpceurobot/app/minibee/spi.h
diff --git a/app/arm/minibee/spi_LPC.c b/board/arm/lpceurobot/app/minibee/spi_LPC.c
similarity index 100%
rename from app/arm/minibee/spi_LPC.c
rename to board/arm/lpceurobot/app/minibee/spi_LPC.c
diff --git a/app/arm/minibee/spi_avr.c b/board/arm/lpceurobot/app/minibee/spi_avr.c
similarity index 100%
rename from app/arm/minibee/spi_avr.c
rename to board/arm/lpceurobot/app/minibee/spi_avr.c
diff --git a/app/arm/minibee/uart_minibee.c b/board/arm/lpceurobot/app/minibee/uart_minibee.c
similarity index 100%
rename from app/arm/minibee/uart_minibee.c
rename to board/arm/lpceurobot/app/minibee/uart_minibee.c
diff --git a/app/arm/minibee/uart_minibee.h b/board/arm/lpceurobot/app/minibee/uart_minibee.h
similarity index 100%
rename from app/arm/minibee/uart_minibee.h
rename to board/arm/lpceurobot/app/minibee/uart_minibee.h
diff --git a/app/arm/eb_ebb/adc.c b/board/arm/lpceurobot/libs/eb_ebb/adc.c
similarity index 100%
rename from app/arm/eb_ebb/adc.c
rename to board/arm/lpceurobot/libs/eb_ebb/adc.c
diff --git a/app/arm/eb_ebb/adc.h b/board/arm/lpceurobot/libs/eb_ebb/adc.h
similarity index 100%
rename from app/arm/eb_ebb/adc.h
rename to board/arm/lpceurobot/libs/eb_ebb/adc.h
diff --git a/app/arm/eb_ebb/adc_filtr.c b/board/arm/lpceurobot/libs/eb_ebb/adc_filtr.c
similarity index 100%
rename from app/arm/eb_ebb/adc_filtr.c
rename to board/arm/lpceurobot/libs/eb_ebb/adc_filtr.c
diff --git a/app/arm/eb_ebb/adc_filtr.h b/board/arm/lpceurobot/libs/eb_ebb/adc_filtr.h
similarity index 100%
rename from app/arm/eb_ebb/adc_filtr.h
rename to board/arm/lpceurobot/libs/eb_ebb/adc_filtr.h
diff --git a/app/arm/eb_ebb/engine.c b/board/arm/lpceurobot/libs/eb_ebb/engine.c
similarity index 100%
rename from app/arm/eb_ebb/engine.c
rename to board/arm/lpceurobot/libs/eb_ebb/engine.c
diff --git a/app/arm/eb_ebb/engine.h b/board/arm/lpceurobot/libs/eb_ebb/engine.h
similarity index 100%
rename from app/arm/eb_ebb/engine.h
rename to board/arm/lpceurobot/libs/eb_ebb/engine.h
diff --git a/app/arm/eb_ebb/main.c b/board/arm/lpceurobot/libs/eb_ebb/main.c
similarity index 100%
rename from app/arm/eb_ebb/main.c
rename to board/arm/lpceurobot/libs/eb_ebb/main.c
diff --git a/app/arm/eb_ebb/powswitch.c b/board/arm/lpceurobot/libs/eb_ebb/powswitch.c
similarity index 100%
rename from app/arm/eb_ebb/powswitch.c
rename to board/arm/lpceurobot/libs/eb_ebb/powswitch.c
diff --git a/app/arm/eb_ebb/powswitch.h b/board/arm/lpceurobot/libs/eb_ebb/powswitch.h
similarity index 100%
rename from app/arm/eb_ebb/powswitch.h
rename to board/arm/lpceurobot/libs/eb_ebb/powswitch.h
diff --git a/app/arm/eb_ebb/servo.c b/board/arm/lpceurobot/libs/eb_ebb/servo.c
similarity index 100%
rename from app/arm/eb_ebb/servo.c
rename to board/arm/lpceurobot/libs/eb_ebb/servo.c
diff --git a/app/arm/eb_ebb/servo.h b/board/arm/lpceurobot/libs/eb_ebb/servo.h
similarity index 100%
rename from app/arm/eb_ebb/servo.h
rename to board/arm/lpceurobot/libs/eb_ebb/servo.h
diff --git a/app/arm/eb_ebb/uart.c b/board/arm/lpceurobot/libs/eb_ebb/uart.c
similarity index 100%
rename from app/arm/eb_ebb/uart.c
rename to board/arm/lpceurobot/libs/eb_ebb/uart.c
diff --git a/app/arm/eb_ebb/uart.h b/board/arm/lpceurobot/libs/eb_ebb/uart.h
similarity index 100%
rename from app/arm/eb_ebb/uart.h
rename to board/arm/lpceurobot/libs/eb_ebb/uart.h
diff --git a/app/arm/eb_blink/main.c b/board/arm/lpceurobot/test/eb_blink/main.c
similarity index 100%
rename from app/arm/eb_blink/main.c
rename to board/arm/lpceurobot/test/eb_blink/main.c
diff --git a/app/arm/rama_dam/rama_dam.c b/board/arm/spejblarm/app/rama_dam/rama_dam.c
similarity index 100%
rename from app/arm/rama_dam/rama_dam.c
rename to board/arm/spejblarm/app/rama_dam/rama_dam.c
diff --git a/app/arm/shodiny/hodiny.c b/board/arm/spejblarm/app/shodiny/hodiny.c
similarity index 100%
rename from app/arm/shodiny/hodiny.c
rename to board/arm/spejblarm/app/shodiny/hodiny.c
diff --git a/app/arm/smotor/motor.c b/board/arm/spejblarm/app/smotor/motor.c
similarity index 100%
rename from app/arm/smotor/motor.c
rename to board/arm/spejblarm/app/smotor/motor.c
diff --git a/app/arm/smotor/pwm.c b/board/arm/spejblarm/app/smotor/pwm.c
similarity index 100%
rename from app/arm/smotor/pwm.c
rename to board/arm/spejblarm/app/smotor/pwm.c
diff --git a/app/arm/smotor/pwm.h b/board/arm/spejblarm/app/smotor/pwm.h
similarity index 100%
rename from app/arm/smotor/pwm.h
rename to board/arm/spejblarm/app/smotor/pwm.h
diff --git a/app/Makefile.omk b/app/Makefile.omk
index f4f9a5d..8b10679 100644
--- a/app/Makefile.omk
+++ b/app/Makefile.omk
@@ -1,3 +1 @@
 # -*- makefile -*-
-
-SUBDIRS := $(ARCH)
diff --git a/arch/arm/generic/Makefile.omk b/arch/arm/generic/Makefile.omk
index dba8475..da412ce 100644
--- a/arch/arm/generic/Makefile.omk
+++ b/arch/arm/generic/Makefile.omk
@@ -1,3 +1,3 @@
 # -*- makefile -*-
 
-SUBDIRS = defines libs
+SUBDIRS = defines libs app
diff --git a/app/arm/ahoy1311/Makefile b/arch/arm/generic/app/Makefile
similarity index 100%
copy from app/arm/ahoy1311/Makefile
copy to arch/arm/generic/app/Makefile
diff --git a/arch/arm/generic/app/Makefile.omk b/arch/arm/generic/app/Makefile.omk
new file mode 100644
index 0000000..ba8a06a
--- /dev/null
+++ b/arch/arm/generic/app/Makefile.omk
@@ -0,0 +1,3 @@
+# -*- makefile -*-
+
+SUBDIRS := usbhiddemo
diff --git a/app/arm/test_at91_timer/Makefile b/arch/arm/generic/app/usbhiddemo/Makefile
similarity index 100%
rename from app/arm/test_at91_timer/Makefile
rename to arch/arm/generic/app/usbhiddemo/Makefile
diff --git a/app/arm/usbhiddemo/Makefile.omk b/arch/arm/generic/app/usbhiddemo/Makefile.omk
similarity index 100%
rename from app/arm/usbhiddemo/Makefile.omk
rename to arch/arm/generic/app/usbhiddemo/Makefile.omk
diff --git a/arch/arm/mach-at91sam7/Makefile.omk b/arch/arm/mach-at91sam7/Makefile.omk
index 2ebd5c8..419c052 100644
--- a/arch/arm/mach-at91sam7/Makefile.omk
+++ b/arch/arm/mach-at91sam7/Makefile.omk
@@ -1 +1 @@
-SUBDIRS = defines libs
+SUBDIRS = defines libs test
diff --git a/app/arm/ahoy2364/Makefile b/arch/arm/mach-at91sam7/test/Makefile
similarity index 100%
rename from app/arm/ahoy2364/Makefile
rename to arch/arm/mach-at91sam7/test/Makefile
diff --git a/arch/arm/mach-at91sam7/test/Makefile.omk b/arch/arm/mach-at91sam7/test/Makefile.omk
new file mode 100644
index 0000000..66b4548
--- /dev/null
+++ b/arch/arm/mach-at91sam7/test/Makefile.omk
@@ -0,0 +1,3 @@
+# -*- makefile -*-
+
+SUBDIRS := ledflash test_at91_timer
diff --git a/app/arm/armtest_leds/Makefile b/arch/arm/mach-at91sam7/test/ledflash/Makefile
similarity index 100%
rename from app/arm/armtest_leds/Makefile
rename to arch/arm/mach-at91sam7/test/ledflash/Makefile
diff --git a/app/arm/ledflash/Makefile.omk b/arch/arm/mach-at91sam7/test/ledflash/Makefile.omk
similarity index 100%
rename from app/arm/ledflash/Makefile.omk
rename to arch/arm/mach-at91sam7/test/ledflash/Makefile.omk
diff --git a/app/arm/usbhiddemo/Makefile b/arch/arm/mach-at91sam7/test/test_at91_timer/Makefile
similarity index 100%
rename from app/arm/usbhiddemo/Makefile
rename to arch/arm/mach-at91sam7/test/test_at91_timer/Makefile
diff --git a/app/arm/test_at91_timer/Makefile.omk b/arch/arm/mach-at91sam7/test/test_at91_timer/Makefile.omk
similarity index 100%
rename from app/arm/test_at91_timer/Makefile.omk
rename to arch/arm/mach-at91sam7/test/test_at91_timer/Makefile.omk
diff --git a/arch/arm/mach-lpc13xx/Makefile.omk b/arch/arm/mach-lpc13xx/Makefile.omk
index 2ebd5c8..419c052 100644
--- a/arch/arm/mach-lpc13xx/Makefile.omk
+++ b/arch/arm/mach-lpc13xx/Makefile.omk
@@ -1 +1 @@
-SUBDIRS = defines libs
+SUBDIRS = defines libs test
diff --git a/app/arm/canldtg/Makefile b/arch/arm/mach-lpc13xx/test/Makefile
similarity index 100%
rename from app/arm/canldtg/Makefile
rename to arch/arm/mach-lpc13xx/test/Makefile
diff --git a/arch/arm/mach-lpc13xx/test/Makefile.omk b/arch/arm/mach-lpc13xx/test/Makefile.omk
new file mode 100644
index 0000000..83dc531
--- /dev/null
+++ b/arch/arm/mach-lpc13xx/test/Makefile.omk
@@ -0,0 +1,3 @@
+# -*- makefile -*-
+
+SUBDIRS := ahoy1311
diff --git a/app/arm/eb_blink/Makefile b/arch/arm/mach-lpc13xx/test/ahoy1311/Makefile
similarity index 100%
rename from app/arm/eb_blink/Makefile
rename to arch/arm/mach-lpc13xx/test/ahoy1311/Makefile
diff --git a/app/arm/ahoy1311/Makefile.omk b/arch/arm/mach-lpc13xx/test/ahoy1311/Makefile.omk
similarity index 100%
rename from app/arm/ahoy1311/Makefile.omk
rename to arch/arm/mach-lpc13xx/test/ahoy1311/Makefile.omk
diff --git a/arch/arm/mach-lpc21xx/Makefile.omk b/arch/arm/mach-lpc21xx/Makefile.omk
index f28e3d9..dfd30cc 100644
--- a/arch/arm/mach-lpc21xx/Makefile.omk
+++ b/arch/arm/mach-lpc21xx/Makefile.omk
@@ -1 +1 @@
-SUBDIRS = defines tools libs
+SUBDIRS = defines tools libs test
diff --git a/app/arm/eb_ebb/Makefile b/arch/arm/mach-lpc21xx/test/Makefile
similarity index 100%
rename from app/arm/eb_ebb/Makefile
rename to arch/arm/mach-lpc21xx/test/Makefile
diff --git a/arch/arm/mach-lpc21xx/test/Makefile.omk b/arch/arm/mach-lpc21xx/test/Makefile.omk
new file mode 100644
index 0000000..b3bebad
--- /dev/null
+++ b/arch/arm/mach-lpc21xx/test/Makefile.omk
@@ -0,0 +1,3 @@
+# -*- makefile -*-
+
+SUBDIRS := armtest_leds canldtg interrupt_t0_test test_ARMBoard_pwm test_uart
diff --git a/app/arm/interrupt_t0_test/Makefile b/arch/arm/mach-lpc21xx/test/armtest_leds/Makefile
similarity index 100%
rename from app/arm/interrupt_t0_test/Makefile
rename to arch/arm/mach-lpc21xx/test/armtest_leds/Makefile
diff --git a/app/arm/armtest_leds/Makefile.omk b/arch/arm/mach-lpc21xx/test/armtest_leds/Makefile.omk
similarity index 100%
rename from app/arm/armtest_leds/Makefile.omk
rename to arch/arm/mach-lpc21xx/test/armtest_leds/Makefile.omk
diff --git a/app/arm/ledflash/Makefile b/arch/arm/mach-lpc21xx/test/canldtg/Makefile
similarity index 100%
rename from app/arm/ledflash/Makefile
rename to arch/arm/mach-lpc21xx/test/canldtg/Makefile
diff --git a/app/arm/canldtg/Makefile.omk b/arch/arm/mach-lpc21xx/test/canldtg/Makefile.omk
similarity index 100%
rename from app/arm/canldtg/Makefile.omk
rename to arch/arm/mach-lpc21xx/test/canldtg/Makefile.omk
diff --git a/app/arm/mbed_blink/Makefile b/arch/arm/mach-lpc21xx/test/interrupt_t0_test/Makefile
similarity index 100%
rename from app/arm/mbed_blink/Makefile
rename to arch/arm/mach-lpc21xx/test/interrupt_t0_test/Makefile
diff --git a/app/arm/interrupt_t0_test/Makefile.omk b/arch/arm/mach-lpc21xx/test/interrupt_t0_test/Makefile.omk
similarity index 100%
rename from app/arm/interrupt_t0_test/Makefile.omk
rename to arch/arm/mach-lpc21xx/test/interrupt_t0_test/Makefile.omk
diff --git a/app/arm/minibee/Makefile b/arch/arm/mach-lpc21xx/test/test_ARMBoard_pwm/Makefile
similarity index 100%
rename from app/arm/minibee/Makefile
rename to arch/arm/mach-lpc21xx/test/test_ARMBoard_pwm/Makefile
diff --git a/app/arm/test_ARMBoard_pwm/Makefile.omk b/arch/arm/mach-lpc21xx/test/test_ARMBoard_pwm/Makefile.omk
similarity index 100%
rename from app/arm/test_ARMBoard_pwm/Makefile.omk
rename to arch/arm/mach-lpc21xx/test/test_ARMBoard_pwm/Makefile.omk
diff --git a/app/arm/rama_dam/Makefile b/arch/arm/mach-lpc21xx/test/test_uart/Makefile
similarity index 100%
rename from app/arm/rama_dam/Makefile
rename to arch/arm/mach-lpc21xx/test/test_uart/Makefile
diff --git a/app/arm/test_uart/Makefile.omk b/arch/arm/mach-lpc21xx/test/test_uart/Makefile.omk
similarity index 100%
rename from app/arm/test_uart/Makefile.omk
rename to arch/arm/mach-lpc21xx/test/test_uart/Makefile.omk
diff --git a/arch/arm/mach-lpc23xx/Makefile.omk b/arch/arm/mach-lpc23xx/Makefile.omk
index 3534d2e..0fba955 100644
--- a/arch/arm/mach-lpc23xx/Makefile.omk
+++ b/arch/arm/mach-lpc23xx/Makefile.omk
@@ -1 +1 @@
-SUBDIRS = defines libs tools
+SUBDIRS = defines libs tools test
diff --git a/app/arm/shodiny/Makefile b/arch/arm/mach-lpc23xx/test/Makefile
similarity index 100%
rename from app/arm/shodiny/Makefile
rename to arch/arm/mach-lpc23xx/test/Makefile
diff --git a/arch/arm/mach-lpc23xx/test/Makefile.omk b/arch/arm/mach-lpc23xx/test/Makefile.omk
new file mode 100644
index 0000000..fa13208
--- /dev/null
+++ b/arch/arm/mach-lpc23xx/test/Makefile.omk
@@ -0,0 +1,3 @@
+# -*- makefile -*-
+
+SUBDIRS := ahoy2364
diff --git a/app/arm/smotor/Makefile b/arch/arm/mach-lpc23xx/test/ahoy2364/Makefile
similarity index 100%
rename from app/arm/smotor/Makefile
rename to arch/arm/mach-lpc23xx/test/ahoy2364/Makefile
diff --git a/app/arm/ahoy2364/Makefile.omk b/arch/arm/mach-lpc23xx/test/ahoy2364/Makefile.omk
similarity index 100%
rename from app/arm/ahoy2364/Makefile.omk
rename to arch/arm/mach-lpc23xx/test/ahoy2364/Makefile.omk
diff --git a/arch/h8300/generic/Makefile.omk b/arch/h8300/generic/Makefile.omk
index 81bac75..f495108 100644
--- a/arch/h8300/generic/Makefile.omk
+++ b/arch/h8300/generic/Makefile.omk
@@ -1,3 +1,3 @@
 # -*- makefile -*-
 
-SUBDIRS = defines libs drivers
+SUBDIRS = defines libs drivers bloader tools test
diff --git a/app/arm/test_ARMBoard_pwm/Makefile b/arch/h8300/generic/bloader/Makefile
similarity index 100%
rename from app/arm/test_ARMBoard_pwm/Makefile
rename to arch/h8300/generic/bloader/Makefile
diff --git a/app/h8300/bloader/Makefile.omk b/arch/h8300/generic/bloader/Makefile.omk
similarity index 100%
rename from app/h8300/bloader/Makefile.omk
rename to arch/h8300/generic/bloader/Makefile.omk
diff --git a/app/h8300/bloader/Makefile.std b/arch/h8300/generic/bloader/Makefile.std
similarity index 100%
rename from app/h8300/bloader/Makefile.std
rename to arch/h8300/generic/bloader/Makefile.std
diff --git a/app/h8300/bloader/bootstrap b/arch/h8300/generic/bloader/bootstrap
similarity index 100%
rename from app/h8300/bloader/bootstrap
rename to arch/h8300/generic/bloader/bootstrap
diff --git a/app/h8300/bloader/depend b/arch/h8300/generic/bloader/depend
similarity index 100%
rename from app/h8300/bloader/depend
rename to arch/h8300/generic/bloader/depend
diff --git a/app/h8300/bloader/make_vysledek b/arch/h8300/generic/bloader/make_vysledek
similarity index 100%
rename from app/h8300/bloader/make_vysledek
rename to arch/h8300/generic/bloader/make_vysledek
diff --git a/app/h8300/bloader/poznamky b/arch/h8300/generic/bloader/poznamky
similarity index 100%
rename from app/h8300/bloader/poznamky
rename to arch/h8300/generic/bloader/poznamky
diff --git a/app/arm/test_uart/Makefile b/arch/h8300/generic/test/Makefile
similarity index 100%
rename from app/arm/test_uart/Makefile
rename to arch/h8300/generic/test/Makefile
diff --git a/arch/h8300/generic/test/Makefile.omk b/arch/h8300/generic/test/Makefile.omk
new file mode 100644
index 0000000..210d3ff
--- /dev/null
+++ b/arch/h8300/generic/test/Makefile.omk
@@ -0,0 +1,3 @@
+# -*- makefile -*-
+
+SUBDIRS := ledblink rs_test usb_test
diff --git a/app/h8300/Makefile b/arch/h8300/generic/test/ledblink/Makefile
similarity index 100%
rename from app/h8300/Makefile
rename to arch/h8300/generic/test/ledblink/Makefile
diff --git a/app/h8300/ledblink/Makefile.omk b/arch/h8300/generic/test/ledblink/Makefile.omk
similarity index 100%
rename from app/h8300/ledblink/Makefile.omk
rename to arch/h8300/generic/test/ledblink/Makefile.omk
diff --git a/app/h8300/bloader/Makefile b/arch/h8300/generic/test/rs_test/Makefile
similarity index 100%
rename from app/h8300/bloader/Makefile
rename to arch/h8300/generic/test/rs_test/Makefile
diff --git a/app/h8300/rs_test/Makefile.omk b/arch/h8300/generic/test/rs_test/Makefile.omk
similarity index 100%
rename from app/h8300/rs_test/Makefile.omk
rename to arch/h8300/generic/test/rs_test/Makefile.omk
diff --git a/app/h8300/ledblink/Makefile b/arch/h8300/generic/test/usb_test/Makefile
similarity index 100%
rename from app/h8300/ledblink/Makefile
rename to arch/h8300/generic/test/usb_test/Makefile
diff --git a/app/h8300/usb_test/Makefile.omk b/arch/h8300/generic/test/usb_test/Makefile.omk
similarity index 100%
rename from app/h8300/usb_test/Makefile.omk
rename to arch/h8300/generic/test/usb_test/Makefile.omk
diff --git a/app/h8300/rs_test/Makefile b/arch/h8300/generic/tools/Makefile
similarity index 100%
rename from app/h8300/rs_test/Makefile
rename to arch/h8300/generic/tools/Makefile
diff --git a/arch/h8300/generic/tools/Makefile.omk b/arch/h8300/generic/tools/Makefile.omk
new file mode 100644
index 0000000..1739569
--- /dev/null
+++ b/arch/h8300/generic/tools/Makefile.omk
@@ -0,0 +1,3 @@
+# -*- makefile -*-
+
+SUBDIRS := tohit
diff --git a/app/h8300/tohit/Makefile b/arch/h8300/generic/tools/tohit/Makefile
similarity index 100%
rename from app/h8300/tohit/Makefile
rename to arch/h8300/generic/tools/tohit/Makefile
diff --git a/app/h8300/tohit/Makefile.omk b/arch/h8300/generic/tools/tohit/Makefile.omk
similarity index 100%
rename from app/h8300/tohit/Makefile.omk
rename to arch/h8300/generic/tools/tohit/Makefile.omk
diff --git a/app/h8300/tohit/Makefile.std b/arch/h8300/generic/tools/tohit/Makefile.std
similarity index 100%
rename from app/h8300/tohit/Makefile.std
rename to arch/h8300/generic/tools/tohit/Makefile.std
diff --git a/app/h8300/tohit/README b/arch/h8300/generic/tools/tohit/README
similarity index 100%
rename from app/h8300/tohit/README
rename to arch/h8300/generic/tools/tohit/README
diff --git a/board/arm/lpc17cmsis-mbed/Makefile.omk b/board/arm/lpc17cmsis-mbed/Makefile.omk
index 99dc2a5..1866520 100644
--- a/board/arm/lpc17cmsis-mbed/Makefile.omk
+++ b/board/arm/lpc17cmsis-mbed/Makefile.omk
@@ -1,6 +1,6 @@
 # -*- makefile -*-
 
-SUBDIRS = 
+SUBDIRS = test
 
 lib_LDSCRIPTS = board.ld
 include_HEADERS = system_def.h
diff --git a/app/h8300/usb_test/Makefile b/board/arm/lpc17cmsis-mbed/test/Makefile
similarity index 100%
rename from app/h8300/usb_test/Makefile
rename to board/arm/lpc17cmsis-mbed/test/Makefile
diff --git a/board/arm/lpc17cmsis-mbed/test/Makefile.omk b/board/arm/lpc17cmsis-mbed/test/Makefile.omk
new file mode 100644
index 0000000..3eb5d0c
--- /dev/null
+++ b/board/arm/lpc17cmsis-mbed/test/Makefile.omk
@@ -0,0 +1,3 @@
+# -*- makefile -*-
+
+SUBDIRS := mbed_blink
diff --git a/app/arm/ahoy1311/Makefile b/board/arm/lpc17cmsis-mbed/test/mbed_blink/Makefile
similarity index 100%
copy from app/arm/ahoy1311/Makefile
copy to board/arm/lpc17cmsis-mbed/test/mbed_blink/Makefile
diff --git a/app/arm/mbed_blink/Makefile.omk b/board/arm/lpc17cmsis-mbed/test/mbed_blink/Makefile.omk
similarity index 100%
rename from app/arm/mbed_blink/Makefile.omk
rename to board/arm/lpc17cmsis-mbed/test/mbed_blink/Makefile.omk
diff --git a/board/arm/lpceurobot/Makefile.omk b/board/arm/lpceurobot/Makefile.omk
index dba8475..bdd7d21 100644
--- a/board/arm/lpceurobot/Makefile.omk
+++ b/board/arm/lpceurobot/Makefile.omk
@@ -1,3 +1,3 @@
 # -*- makefile -*-
 
-SUBDIRS = defines libs
+SUBDIRS = defines libs test app
diff --git a/app/arm/ahoy1311/Makefile b/board/arm/lpceurobot/app/Makefile
similarity index 100%
copy from app/arm/ahoy1311/Makefile
copy to board/arm/lpceurobot/app/Makefile
diff --git a/board/arm/lpceurobot/app/Makefile.omk b/board/arm/lpceurobot/app/Makefile.omk
new file mode 100644
index 0000000..1e7493c
--- /dev/null
+++ b/board/arm/lpceurobot/app/Makefile.omk
@@ -0,0 +1,3 @@
+# -*- makefile -*-
+
+SUBDIRS := minibee
diff --git a/app/arm/minibee/Doxyfile b/board/arm/lpceurobot/app/minibee/Doxyfile
similarity index 100%
rename from app/arm/minibee/Doxyfile
rename to board/arm/lpceurobot/app/minibee/Doxyfile
diff --git a/app/arm/ahoy1311/Makefile b/board/arm/lpceurobot/app/minibee/Makefile
similarity index 100%
copy from app/arm/ahoy1311/Makefile
copy to board/arm/lpceurobot/app/minibee/Makefile
diff --git a/app/arm/minibee/Makefile.omk b/board/arm/lpceurobot/app/minibee/Makefile.omk
similarity index 100%
rename from app/arm/minibee/Makefile.omk
rename to board/arm/lpceurobot/app/minibee/Makefile.omk
diff --git a/app/arm/minibee/minibee.kdevelop b/board/arm/lpceurobot/app/minibee/minibee.kdevelop
similarity index 100%
rename from app/arm/minibee/minibee.kdevelop
rename to board/arm/lpceurobot/app/minibee/minibee.kdevelop
diff --git a/app/arm/minibee/minibee.kdevelop.filelist b/board/arm/lpceurobot/app/minibee/minibee.kdevelop.filelist
similarity index 100%
rename from app/arm/minibee/minibee.kdevelop.filelist
rename to board/arm/lpceurobot/app/minibee/minibee.kdevelop.filelist
diff --git a/app/arm/minibee/minibee.kdevses b/board/arm/lpceurobot/app/minibee/minibee.kdevses
similarity index 100%
rename from app/arm/minibee/minibee.kdevses
rename to board/arm/lpceurobot/app/minibee/minibee.kdevses
diff --git a/app/arm/minibee/minibee.tag b/board/arm/lpceurobot/app/minibee/minibee.tag
similarity index 100%
rename from app/arm/minibee/minibee.tag
rename to board/arm/lpceurobot/app/minibee/minibee.tag
diff --git a/board/arm/lpceurobot/libs/Makefile.omk b/board/arm/lpceurobot/libs/Makefile.omk
index 63c5be3..c123ce6 100644
--- a/board/arm/lpceurobot/libs/Makefile.omk
+++ b/board/arm/lpceurobot/libs/Makefile.omk
@@ -2,4 +2,4 @@
 
 include_HEADERS = deb_led_board.h
 
-SUBDIRS = hwinit
+SUBDIRS = hwinit eb_ebb
diff --git a/app/arm/eb_ebb/Abstract.txt b/board/arm/lpceurobot/libs/eb_ebb/Abstract.txt
similarity index 100%
rename from app/arm/eb_ebb/Abstract.txt
rename to board/arm/lpceurobot/libs/eb_ebb/Abstract.txt
diff --git a/app/arm/eb_ebb/Doxyfile b/board/arm/lpceurobot/libs/eb_ebb/Doxyfile
similarity index 100%
rename from app/arm/eb_ebb/Doxyfile
rename to board/arm/lpceurobot/libs/eb_ebb/Doxyfile
diff --git a/app/arm/ahoy1311/Makefile b/board/arm/lpceurobot/libs/eb_ebb/Makefile
similarity index 100%
copy from app/arm/ahoy1311/Makefile
copy to board/arm/lpceurobot/libs/eb_ebb/Makefile
diff --git a/app/arm/eb_ebb/Makefile.omk b/board/arm/lpceurobot/libs/eb_ebb/Makefile.omk
similarity index 100%
rename from app/arm/eb_ebb/Makefile.omk
rename to board/arm/lpceurobot/libs/eb_ebb/Makefile.omk
diff --git a/app/arm/ahoy1311/Makefile b/board/arm/lpceurobot/test/Makefile
similarity index 100%
copy from app/arm/ahoy1311/Makefile
copy to board/arm/lpceurobot/test/Makefile
diff --git a/app/h8300/Makefile.omk b/board/arm/lpceurobot/test/Makefile.omk
similarity index 100%
rename from app/h8300/Makefile.omk
rename to board/arm/lpceurobot/test/Makefile.omk
diff --git a/app/arm/ahoy1311/Makefile b/board/arm/lpceurobot/test/eb_blink/Makefile
similarity index 100%
copy from app/arm/ahoy1311/Makefile
copy to board/arm/lpceurobot/test/eb_blink/Makefile
diff --git a/app/arm/eb_blink/Makefile.omk b/board/arm/lpceurobot/test/eb_blink/Makefile.omk
similarity index 100%
rename from app/arm/eb_blink/Makefile.omk
rename to board/arm/lpceurobot/test/eb_blink/Makefile.omk
diff --git a/app/arm/ahoy1311/Makefile b/board/arm/spejblarm/app/Makefile
similarity index 100%
copy from app/arm/ahoy1311/Makefile
copy to board/arm/spejblarm/app/Makefile
diff --git a/board/arm/spejblarm/app/Makefile.omk b/board/arm/spejblarm/app/Makefile.omk
new file mode 100644
index 0000000..cdeffa9
--- /dev/null
+++ b/board/arm/spejblarm/app/Makefile.omk
@@ -0,0 +1,3 @@
+# -*- makefile -*-
+
+SUBDIRS := rama_dam shodiny smotor
diff --git a/app/arm/ahoy1311/Makefile b/board/arm/spejblarm/app/rama_dam/Makefile
similarity index 100%
copy from app/arm/ahoy1311/Makefile
copy to board/arm/spejblarm/app/rama_dam/Makefile
diff --git a/app/arm/rama_dam/Makefile.omk b/board/arm/spejblarm/app/rama_dam/Makefile.omk
similarity index 100%
rename from app/arm/rama_dam/Makefile.omk
rename to board/arm/spejblarm/app/rama_dam/Makefile.omk
diff --git a/app/arm/ahoy1311/Makefile b/board/arm/spejblarm/app/shodiny/Makefile
similarity index 100%
copy from app/arm/ahoy1311/Makefile
copy to board/arm/spejblarm/app/shodiny/Makefile
diff --git a/app/arm/shodiny/Makefile.omk b/board/arm/spejblarm/app/shodiny/Makefile.omk
similarity index 100%
rename from app/arm/shodiny/Makefile.omk
rename to board/arm/spejblarm/app/shodiny/Makefile.omk
diff --git a/app/arm/ahoy1311/Makefile b/board/arm/spejblarm/app/smotor/Makefile
similarity index 100%
rename from app/arm/ahoy1311/Makefile
rename to board/arm/spejblarm/app/smotor/Makefile
diff --git a/app/arm/smotor/Makefile.omk b/board/arm/spejblarm/app/smotor/Makefile.omk
similarity index 100%
rename from app/arm/smotor/Makefile.omk
rename to board/arm/spejblarm/app/smotor/Makefile.omk
-- 
1.7.1.3.g75e44




More information about the Sysless mailing list