#3387: Add subdir-objects to automake flags
-------------------------+--------------------------
 Reporter:  Chris Johns  |       Owner:  Chris Johns
     Type:  defect       |      Status:  closed
 Priority:  normal       |   Milestone:  5.1
Component:  build        |     Version:  5
 Severity:  normal       |  Resolution:  fixed
 Keywords:               |  Blocked By:
 Blocking:               |
-------------------------+--------------------------

Comment (by Sebastian Huber):

 I am not sure, but I think this breaks the BSP build. We have now for
 example:
 {{{
 pwd
 sparc-rtems5/c/erc32/lib/libbsp/sparc/erc32
 make clean
 test -z "" || rm -f
 test -z "librtemsbsp.a" || rm -f librtemsbsp.a
 rm -f *.o
 rm -f ../../../../../../bsps/shared/*.o
 rm -f ../../../../../../bsps/shared/cache/*.o
 rm -f ../../../../../../bsps/shared/dev/display/*.o
 rm -f ../../../../../../bsps/shared/dev/flash/*.o
 rm -f ../../../../../../bsps/shared/dev/i2c/*.o
 rm -f ../../../../../../bsps/shared/dev/ide/*.o
 rm -f ../../../../../../bsps/shared/dev/rtc/*.o
 rm -f ../../../../../../bsps/shared/dev/serial/*.o
 rm -f ../../../../../../bsps/shared/irq/*.o
 rm -f ../../../../../../bsps/shared/net/*.o
 rm -f ../../../../../../bsps/shared/shmdr/*.o
 rm -f ../../../../../../bsps/shared/start/*.o
 rm -f ../../shared/*.o
 rm -f ../shared/*.o
 rm -f ../shared/irq/*.o
 rm -f ../shared/startup/*.o
 rm -f clock/*.o
 rm -f console/*.o
 rm -f erc32sonic/*.o
 rm -f gnatsupp/*.o
 rm -f startup/*.o
 rm -f timer/*.o
 }}}
 This assumes that the build and source tree have the same layout. However,
 this is not the case. For example:
 {{{
 pwd
 sparc-rtems5/c/erc32/lib/libbsp/sparc/erc32
 ls ../../../../../..
 at697f  bsps  c  erc32  gr712rc  gr740  leon2  leon3  ut699  ut700
 }}}
 The critical issues is that the bsps directory is not BSP-specific.

--
Ticket URL: <http://devel.rtems.org/ticket/3387#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to