diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-02-27 14:41:59 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-02-27 17:09:44 +0100 |
commit | 8b8cd431c5c3ee03974299337ecdd25e0593210a (patch) | |
tree | 4216b6f96bf9f646365f280a14a4087def4c5a42 /sal | |
parent | 8281578b89c3df3fe3452a594f6b21483683638a (diff) |
move generation of sal/typesizes.h to configure
Change-Id: I22d28044bde624b7cfd8537c5c1e2906cb5303fc
Diffstat (limited to 'sal')
-rw-r--r-- | sal/CustomTarget_generated.mk | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/sal/CustomTarget_generated.mk b/sal/CustomTarget_generated.mk index f5c07c3da59e..1828b63e7ef6 100644 --- a/sal/CustomTarget_generated.mk +++ b/sal/CustomTarget_generated.mk @@ -35,22 +35,7 @@ $(call gb_CustomTarget_get_target,sal/generated) : \ $(sal_DIR)/sal/typesizes.h :| $(sal_DIR)/sal/.dir $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),ECH,1) - echo '/* This file is autogenerated from configure script data */' > $@ - echo >> $@ - echo "#define SAL_TYPES_ALIGNMENT2 $(ALIGNOF_SHORT)" >> $@ - echo "#define SAL_TYPES_ALIGNMENT4 $(ALIGNOF_INT)" >> $@ -ifeq ($(SIZEOF_LONG),8) - echo "#define SAL_TYPES_ALIGNMENT8 $(ALIGNOF_LONG)" >> $@ -else ifeq ($(SIZEOF_DOUBLE),8) - echo "#define SAL_TYPES_ALIGNMENT8 $(ALIGNOF_DOUBLE)" >> $@ -else - echo "#error alignment of some 8-byte type unknown" >> $@ -endif - echo "#define SAL_TYPES_SIZEOFSHORT $(SIZEOF_SHORT)" >> $@ - echo "#define SAL_TYPES_SIZEOFINT $(SIZEOF_INT)" >> $@ - echo "#define SAL_TYPES_SIZEOFLONG $(SIZEOF_LONG)" >> $@ - echo "#define SAL_TYPES_SIZEOFLONGLONG $(SIZEOF_LONGLONG)" >> $@ - echo "#define SAL_TYPES_SIZEOFPOINTER $(SIZEOF_POINTER)" >> $@ + cp $(SRCDIR)/config_host/config_typesizes.h $@ include $(SRCDIR)/solenv/inc/udkversion.mk |