Revert "Jamfiles: Repace TARGET_PACKAGING_ARCH with TARGET_KERNEL_ARCH in a few places."

This reverts commit 6683314327.
This commit is contained in:
Augustin Cavalier 2021-09-30 18:47:40 -04:00
parent e87395438a
commit 30e3418589
4 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@
SubDirHdrs $(HAIKU_TOP) src add-ons kernel file_systems bfs ;
}
if $(TARGET_KERNEL_ARCH) = x86_gcc2 {
if $(TARGET_PACKAGING_ARCH) = x86_gcc2 {
# GCC2 doesn't compile BFS correctly with -O2 or more
OPTIM = -O1 ;
}

View File

@ -13,7 +13,7 @@ oldOPTIM = $(OPTIM) ;
defines += COMPILE_FOR_R5 ;
}
if $(TARGET_KERNEL_ARCH) = x86_gcc2 {
if $(TARGET_PACKAGING_ARCH) = x86_gcc2 {
# the gcc on BeOS doesn't compile BFS correctly with -O2 or more
OPTIM = -O1 ;
}

View File

@ -1,7 +1,7 @@
SubDir HAIKU_TOP src system kernel lib arch x86 ;
# find the generated asm_offsets.h
SubDirHdrs [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR_$(TARGET_KERNEL_ARCH))
SubDirHdrs [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR_$(TARGET_PACKAGING_ARCH))
system kernel arch $(TARGET_ARCH) ] ;
SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ;

View File

@ -1,7 +1,7 @@
SubDir HAIKU_TOP src system kernel lib arch x86_64 ;
# find the generated asm_offsets.h
SubDirHdrs [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR_$(TARGET_KERNEL_ARCH))
SubDirHdrs [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR_$(TARGET_PACKAGING_ARCH))
system kernel arch $(TARGET_KERNEL_ARCH) ] ;
SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ;