« Previous | Next » 

Revision 30fd45ad

ID30fd45adb2e54c7369505ac840907dc33a1078fa

Added by Peter Maydell almost 12 years ago

Makefile.hw: avoid overly large 'make clean' rm command

Avoid 'make clean' producing an 'rm' command which has a lot
of duplicate 'hw//*.o' arguments, by using $(sort $(dir ..))
rather than $(dir $(sort ..)) so Make's sort function will
remove the duplicates for us. We can also remove the double
'//' safely because $(dir ..) is guaranteed to return a string
ending in '/'.

Signed-off-by: Peter Maydell <>
Signed-off-by: Stefan Hajnoczi <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences