From 39d26e3cdbc48462dc8db95de45970ee16bf2ddf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Sat, 12 Oct 2013 18:42:57 +0200 Subject: [PATCH] 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. --- build/jam/FileRules | 3 +++ build/jam/KernelRules | 2 ++ 2 files changed, 5 insertions(+) diff --git a/build/jam/FileRules b/build/jam/FileRules index 933ece1647..03410c7e61 100644 --- a/build/jam/FileRules +++ b/build/jam/FileRules @@ -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) diff --git a/build/jam/KernelRules b/build/jam/KernelRules index a055e6c7be..752db8d2ff 100644 --- a/build/jam/KernelRules +++ b/build/jam/KernelRules @@ -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) ;