Set HAIKU_TARGET_IS_EXECUTABLE in KernelLd as well

The kernel also needs to be stripped for m68k.

Propagate it to the revisioned binary as well.
This commit is contained in:
François Revol 2013-10-12 18:42:57 +02:00
parent e29f08c37c
commit 39d26e3cdb
2 changed files with 5 additions and 0 deletions

View File

@ -341,6 +341,9 @@ rule CopySetHaikuRevision target : source
PropagateContainerUpdateTargetFlags $(target) : $(source) ;
HAIKU_TARGET_IS_EXECUTABLE on $(target) = [ on $(source)
return $(HAIKU_TARGET_IS_EXECUTABLE) ] ;
local revisionFile = [ DetermineHaikuRevision ] ;
Depends $(target)

View File

@ -53,6 +53,8 @@ rule KernelLd
}
LINKLIBS on $(1) = $(libs) $(TARGET_KERNEL_LIBGCC) ;
HAIKU_TARGET_IS_EXECUTABLE on $(1) = 1 ;
# TODO: Do we really want to invoke SetupKernel here? The objects should
# have been compiled with KernelObjects anyway, so we're doing that twice.
SetupKernel $(2) ;