m68k: simplify a Jamfile.

I'm copypasting a lot from this, so I may as well clean it up while I'm
at it.

Change-Id: I9288c087abbf95475f980b5539f2fd19fad7f775
Reviewed-on: https://review.haiku-os.org/c/1136
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
PulkoMandy
2019-03-03 20:56:20 +00:00
committed by waddlesplash
parent d7b8d76a78
commit 5f49c55851
+13 -18
View File
@@ -1,25 +1,20 @@
SubDir HAIKU_TOP src system libroot posix arch m68k ;
local architectureObject ;
for architectureObject in [ MultiArchSubDirSetup m68k ] {
on $(architectureObject) {
local architecture = $(TARGET_PACKAGING_ARCH) ;
local architecture = $(TARGET_ARCH) ;
UsePrivateSystemHeaders ;
UsePrivateSystemHeaders ;
local genericSources =
setjmp_save_sigs.c
longjmp_return.c
;
local genericSources =
setjmp_save_sigs.c
longjmp_return.c
;
MergeObject <$(architecture)>posix_arch_$(TARGET_ARCH).o :
sigsetjmp.S
siglongjmp.S
MergeObject <$(TARGET_ARCH)>posix_arch_$(TARGET_ARCH).o :
sigsetjmp.S
siglongjmp.S
$(genericSources)
;
$(genericSources)
;
SEARCH on [ FGristFiles $(genericSources) ]
= [ FDirName $(SUBDIR) $(DOTDOT) generic ] ;
}
}
SEARCH on [ FGristFiles $(genericSources) ]
= [ FDirName $(SUBDIR) $(DOTDOT) generic ] ;