Deleted Added
sdiff udiff text old ( 13675:afeab32b3655 ) new ( 13706:4c1d26d1766e )
full compact
1# -*- mode:python -*-
2
3# Copyright (c) 2018 ARM Limited
4#
5# The license below extends only to copyright in the software and shall
6# not be construed as granting a license to any other intellectual
7# property including but not limited to intellectual property relating
8# to a hardware implementation of the functionality of the software

--- 435 unchanged lines hidden (view full) ---

444 @classmethod
445 def declare_all(cls, env):
446 return list([ instance.declare(env) for instance in cls.all ])
447
448 def declare(self, env, objs=None):
449 if objs is None:
450 objs = self.srcs_to_objs(env, self.sources)
451
452 if env['STRIP_EXES']:
453 stripped = self.path(env)
454 unstripped = env.File(str(stripped) + '.unstripped')
455 if sys.platform == 'sunos5':
456 cmd = 'cp $SOURCE $TARGET; strip $TARGET'
457 else:
458 cmd = 'strip $SOURCE -o $TARGET'
459 env.Program(unstripped, objs)

--- 943 unchanged lines hidden ---