LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Find Resources
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Openrisc > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: =?unknown-8bit?Q?Gy=F6rgy?= 'nog' Jeney<nog@s...>
    Date: Tue Jan 25 18:52:23 CET 2005
    Subject: [openrisc] [or1ksim #5] Fix out-of-tree builds
    Top
    Hi,

    Matjaz alerted me to fact that the execgen.c rule in the Makefile doesn't handle
    out-of-tree builds which prevents us from removeing the generated execgen.c from
    cvs. This fixes this problem.

    ChangeLog:
    * Fix out-of-tree builds.

    nog.
    -------------- next part --------------
    --- cpu/or32/Makefile.am 2002-03-06 16:53:23.000000000 +0100
    +++ ../or1ksim-ac/cpu/or32/Makefile.am 2005-01-25 18:34:10.000000000 +0100
    @@ -30,7 +30,11 @@
    generate_SOURCES = or32.c generate.c
    BUILT_SOURCES = execgen.c

    -execgen.c: generate insnset.c
    - ./generate insnset.c execgen.c
    -
    +execgen.c: generate $(srcdir)/insnset.c
    + ./generate $(srcdir)/insnset.c execgen.c
    +
    endif
    +
    +# If the simulator was first built without --enable-simple and then with it,
    +# then also remove these two files
    +CLEANFILES=execgen.c generate

    Follow upAuthor
    [openrisc] [or1ksim #5] Fix out-of-tree buildsGyörgy 'nog' Jeney

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.