Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / devs / networks / atheros5000 / hal / mmakefile.src
blob15b6371b3ba9d52904be69d4ad9e79ad1e3e12d1
1 # Makefile to build the Atheros HAL.
2 # $Id$
4 include $(SRCDIR)/config/aros.cfg
6 ifeq ($(CPU),ppc)
7 CPU=powerpc-be
8 endif
10 HALTARGET=$(CPU)-elf
12 include $(SRCDIR)/$(CURDIR)/amigaos/makefile.inc
14 oldCC:=$(CC)
15 include $(SRCDIR)/$(CURDIR)/public/$(CPU)-elf.inc
16 CC:=$(oldCC)
18 NOWARN_FLAGS := $(NOWARN_SHIFT_OVERFLOW)
19 USER_CFLAGS += $(NOWARN_FLAGS) -I$(SRCDIR)/$(CURDIR)
21 %build_linklib mmake=workbench-devs-networks-atheros5000-hal libname="athhal" \
22  files="$(basename $(HAL_SRCS))"