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:
@@ -341,6 +341,9 @@ rule CopySetHaikuRevision target : source
|
|||||||
|
|
||||||
PropagateContainerUpdateTargetFlags $(target) : $(source) ;
|
PropagateContainerUpdateTargetFlags $(target) : $(source) ;
|
||||||
|
|
||||||
|
HAIKU_TARGET_IS_EXECUTABLE on $(target) = [ on $(source)
|
||||||
|
return $(HAIKU_TARGET_IS_EXECUTABLE) ] ;
|
||||||
|
|
||||||
local revisionFile = [ DetermineHaikuRevision ] ;
|
local revisionFile = [ DetermineHaikuRevision ] ;
|
||||||
|
|
||||||
Depends $(target)
|
Depends $(target)
|
||||||
|
|||||||
@@ -53,6 +53,8 @@ rule KernelLd
|
|||||||
}
|
}
|
||||||
LINKLIBS on $(1) = $(libs) $(TARGET_KERNEL_LIBGCC) ;
|
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
|
# TODO: Do we really want to invoke SetupKernel here? The objects should
|
||||||
# have been compiled with KernelObjects anyway, so we're doing that twice.
|
# have been compiled with KernelObjects anyway, so we're doing that twice.
|
||||||
SetupKernel $(2) ;
|
SetupKernel $(2) ;
|
||||||
|
|||||||
Reference in New Issue
Block a user