1. 03 Apr, 2011 1 commit
    • Ben Avison's avatar
      Bugfix to CModule makefile from previous commit · aacc2b74
      Ben Avison authored
      Detail:
        A line in this makefile evaluates CFLAGS so that the default static data
        relocation and stack checking options can be inserted before any overrides
        from the top-level makefile. But this was being done before StdTools was
        included, so C_STKCHK had not yet been defined, so if the top-level makefile
        tried to use it, it had no effect.
      Admin:
        Tested using new FrontEnd makefile.
      
      Version 5.13. Tagged as 'BuildSys-5_13'
      aacc2b74
  2. 31 Mar, 2011 1 commit
    • Ben Avison's avatar
      Improvements to shared makefiles · 684d01e3
      Ben Avison authored
      Detail:
        * Some subtle bugs can be caused by including shared makefiles in the
          wrong order. To try to prevent further problems, and simplify main
          makefiles at the same time, CApp, CLibrary and CModule now include the
          makefiles they depend upon themselves, in the correct order: generally
          speaking, all macro (re)definitions should be before rule definitions.
        * Added sentry macro definitions to each makefile. These can be used to
          avoid repeated inclusion of makefiles - particularly important now that
          CApp, CLibrary and CModule do additional includes. This removes the
          majority of cases where amu produced warnings about multiple inclusion;
          a few components remain where this is still the case, but these
          warnings are harmless. If they bother you, simply remove the
          now-superfluous include statements from the relevant main makefile.
        * Created a CUtil shared makefile, for building transient utilities. The
          'C' in the name is more for consistency with CApp/CLibrary/CModule than
          anything to do with the 'C' language, since all of these makefiles work
          equally well for assembler and 'C' - the 'C' is for historic reasons.
        * Tweaked the debug rules in CApp to avoid harmless but annoying linker
          warnings about stubs being included twice.
        * Added several new default switches to ASFLAGS. These enable us to start
          making assembler source files work under a cross-assembler, because
          statements like
              GET  Hdr:Macros
              GET  Hdr:Machine.<Machine>
          are not portable, and tweaking the cross-assembler to understand these
          types of constructs would not be pretty. Instead, with the extra
          command line switches now introduced, you can use
              GET  Macros
              GET  Machine/$Machine
      Admin:
        Tested in a ROM build
      
      Version 5.12. Tagged as 'BuildSys-5_12'
      684d01e3
  3. 17 Jul, 2009 1 commit
    • Jeffrey Lee's avatar
      Update CModule makefile fragment to use a default RESFSDIR if required. Add... · b1ddd206
      Jeffrey Lee authored
      Update CModule makefile fragment to use a default RESFSDIR if required. Add IIC module to OMAP3 components file.
      
      Detail:
        Makefiles/CModule - makefile fragment now generates a default RESFSDIR value in an identical way to the AAsmModule fragment, easing migration of makefiles to the fragment system.
        Components/ROOL/OMAP3 - IIC module has been added to ROM image
      Admin:
        Tested on rev C2 beagleboard
      
      
      Version 4.80. Tagged as 'BuildSys-4_80'
      b1ddd206
  4. 26 Jun, 2009 1 commit
    • Ben Avison's avatar
      Added CTools disc build, and various supporting changes · 13d9ef8b
      Ben Avison authored
      Detail:
        * Updates to CModule makefile fragment to reduce the number of OS-specific
          rules in main Makefiles:
          + Added (RAM|ROM)(C|ASM)DEFINES variables. These allow the calling makefile
            to specify additional defines for RAM or ROM builds of C or assembler
            source files respectively. Traditionally this was done by having separate
            object files for RAM and ROM corresponding at least to whichever source
            file was responsible for interfacing with ResourceFS, but this requires
            messy additional rules. With this new approach, it is necessary to clean
            the component when switching between RAM and ROM builds, but I don't
            think this will affect many people's workflows.
          + Added CMHGDEPENDS. This should be used to specify which object files need
            a static dependency upon the h file autogenerated from the cmhg file.
            It should be specified in the usual form for object files passed to
            CModule - with neither an o. prefix nor a .o suffix.
        * Added TBOXINTLIB to ModuleLibs makefile fragment.
        * AsmUtils, HdrSrc, TCPIPheaders, ToolboxLib and UnicodeLib all upgraded in
          ModuleDB from EXP to ASM or C components, to permit them to be built in the
          install phase. As a result, those other Components files that didn't
          already do so now need to override this back to -type EXP.
        * BuildHost Components file edited to reflect the fact that binaof, binasm,
          modgen and ResGen now have separate install phases for executables and
          Docs files.
      Admin:
        The new Components file uses various components that are not publicly
        released, so it can only sensibly be used internally by ROOL. However, it's
        more convenient for us to keep it alongside the other Components files - and
        it also serves as an illustration of how to do a disc build.
      
      Version 4.77. Tagged as 'BuildSys-4_77'
      13d9ef8b
  5. 27 Jan, 2009 1 commit
    • Ben Avison's avatar
      Added initial support for OMAP-3 builds. · 801d0839
      Ben Avison authored
      Detail:
        * Added new components file
        * Added entry for new HAL in the ModuleDB
        * Minor tweak to Makefiles:CModule so HALs can use shared Makefiles:
          no longer assumes that all callers wil have a non-null CMHGFILE
      Admin:
        Used in a test build
      
      Version 4.68. Tagged as 'BuildSys-4_68'
      801d0839
  6. 14 Oct, 2008 1 commit