diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-05-14 10:25:35 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-05-14 10:28:41 +0300 |
commit | f5ea2b5fa85660844daf092e84db45a759bf126d (patch) | |
tree | fe65518961ba9b8c2fc448a58df2b3d730ba7443 /sal | |
parent | 6afc233cd44a959f25ceaff4eb8bd5bf07731341 (diff) |
Generate a proper (?) rtlbootstrap.mk for a MSC build, too
Change-Id: I35a1a270f5eab2250ed0ef50c6bf6c9dbec4f42e
Diffstat (limited to 'sal')
-rw-r--r-- | sal/CustomTarget_generated.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sal/CustomTarget_generated.mk b/sal/CustomTarget_generated.mk index 175780f9657b..5b119277f30d 100644 --- a/sal/CustomTarget_generated.mk +++ b/sal/CustomTarget_generated.mk @@ -33,10 +33,14 @@ $(call gb_CustomTarget_get_target,sal/generated) : \ $(sal_DIR)/rtlbootstrap.mk $(sal_DIR)/sal/udkversion.h \ $(if $(filter-out $(COM),MSC),$(sal_DIR)/sal/typesizes.h) -# FIXME: rtlbootstrap.mk is empty on cygwin ifeq ($(COM),MSC) $(sal_DIR)/rtlbootstrap.mk :| $(sal_DIR)/.dir - touch $@ + echo RTL_OS:=Windows > $@ +ifeq ($(CPUNAME),INTEL) + echo RTL_ARCH:=x86 >> $@ +else + echo RTL_ARCH:=X86_64 >> $@ +endif else $(sal_DIR)/rtlbootstrap.mk : $(sal_DIR)/sal/typesizes.h | $(sal_DIR)/.dir $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),CXX,1) |