use the locations specified in the bcm2708_boot header
[AROS.git] / rom / battclock / mmakefile.src
blob7801584b4cdaaa47637e3ae9b757b3695c6175a5
1 # $Id$
2 include $(TOP)/config/make.cfg
4 # Do not remove this! It allows to override battclock_intern.h in arch-specific
5 # directory (currently used by Windows-hosted port and m68k-amiga)
6 # Note that overrideable files must be included using #include <name>, not #include "name"
7 # for this to work
8 USER_INCLUDES := -I$(SRCDIR)/arch/$(CPU)-$(ARCH)/battclock \
9                  -I$(SRCDIR)/arch/all-$(ARCH)/battclock
10 ifneq ($(FAMILY),)
11     USER_INCLUDES += -I$(SRCDIR)/arch/all-$(FAMILY)/battclock
12 endif
13 USER_INCLUDES += -I$(SRCDIR)/rom/battclock
14 # uselibs parameter from %build_module is not fit (yet) for optional libs
15 # use good old USER_LDFLAGS instead for the moment
16 ifeq ($(ARCH),pc)
17     USER_LDFLAGS := -lacpica
18 endif
20 #MM kernel-battclock : includes kernel-battclock-$(ARCH)-$(CPU)
21 #MM kernel-battclock-linklib : includes kernel-battclock-$(ARCH)-$(CPU)
23 FUNCTIONS := readbattclock resetbattclock writebattclock
25 %build_module mmake=kernel-battclock \
26     modname=battclock modtype=resource version=$(AROS_TARGET_PLATFORM) \
27     files="$(FUNCTIONS)" archspecific=yes
29 %common