grub2: bring back build of aros-side grub2 tools
[AROS.git] / rom / aros / mmakefile.src
blobee64ea1cf2f470af48c11cd006a3f9a5f9e353dd
1 #   $Id$
3 #   Generate aros.library
5 include $(SRCDIR)/config/aros.cfg
7 #MM- kernel-aros : linklibs kernel-aros-create-abi-file
8 #MM- kernel-aros-kobj : linklibs kernel-aros-create-abi-file
10 #MM- kernel-aros-includes : \
11 #MM      kernel-exec-includes \
12 #MM      kernel-utility-includes \
13 #MM      includes-copy
14 #MM- core-linklibs: linklibs-aros
16 USER_CFLAGS := -DAROS_ARCHITECTURE="\"$(AROS_TARGET_PLATFORM)\""
18 %build_module mmake=kernel-aros \
19   modname=aros modtype=library \
20   files="aros_init arosinquirea"
22 #MM
23 kernel-aros-create-abi-file :
24         $(MKDIR) $(AROS_PREFS)/Env-Archive
25         $(SED) -n 's/#define AROS_ABI_VERSION_MAJOR// p' < $(SRCDIR)/$(CURDIR)/arosinquirea.c | $(SED) -n 's/^ *//;s/[ */*].*//p' > $(AROS_PREFS)/Env-Archive/ABI