1PKGDIR	?= ..
2L4DIR	?= $(PKGDIR)/../../..
3
4TARGET         = libgcc-l4.a libgcc-l4.so
5SRC_C_arm-l4f  = ARCH-arm/l4-atomic.c ARCH-arm/l4-atomic-64bit.c
6DEFINES        += -DIS_L4
7LIBGCC_DO_SHARED = y
8LIBGCC_LIB_DIR = $(SRC_DIR)
9
10PC_FILENAMES      = libgcc libgcc-l4
11PC_LIBS_libgcc    = -lgcc
12PC_LIBS_libgcc-l4 = -lgcc-l4
13INSTALL_TARGET   += libgcc-l4.a
14
15include $(PKGDIR)/lib/Makefile.libgcc
16