Makefile.arch 569 B

1234567891011121314151617181920212223
  1. # Makefile for uClibc
  2. #
  3. # Copyright (c) 2013 Imagination Technologies Ltd.
  4. #
  5. # Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball.
  6. #
  7. ifeq ($(UCLIBC_HAS_FENV),y)
  8. ifeq ($(CONFIG_META_2_1),y)
  9. libm_ARCH_SRC:=$(wildcard $(libm_ARCH_DIR)/*.c)
  10. libm_ARCH_OBJ:=$(patsubst $(libm_ARCH_DIR)/%.c,$(libm_ARCH_OUT)/%.o,$(libm_ARCH_SRC))
  11. CFLAGS-y-libm/metag := -Wa,-mfpu=metac21
  12. endif
  13. endif
  14. libm_ARCH_OBJS:=$(libm_ARCH_OBJ)
  15. ifeq ($(DOPIC),y)
  16. libm-a-y+=$(libm_ARCH_OBJS:.o=.os)
  17. else
  18. libm-a-y+=$(libm_ARCH_OBJS)
  19. endif
  20. libm-so-y+=$(libm_ARCH_OBJS:.o=.os)