1.1 --- a/mk/idl.mk Thu Mar 23 00:32:22 2023 +0100
1.2 +++ b/mk/idl.mk Fri Apr 07 19:10:58 2023 +0200
1.3 @@ -1,6 +1,6 @@
1.4 # Common definitions and functions.
1.5 #
1.6 -# Copyright (C) 2020, 2022 Paul Boddie <paul@boddie.org.uk>
1.7 +# Copyright (C) 2020, 2022, 2023 Paul Boddie <paul@boddie.org.uk>
1.8 #
1.9 # This program is free software; you can redistribute it and/or
1.10 # modify it under the terms of the GNU General Public License as
1.11 @@ -19,6 +19,17 @@
1.12
1.13 IDL_PROG = $(L4DIR)/idl4re/idl
1.14
1.15 +# Alignment could be overridden by testing for a particular architecture.
1.16 +# For example:
1.17 +#
1.18 +# ifeq ($(ARCH),x86)
1.19 +# IDL_ARGS = -A 8
1.20 +# else
1.21 +# ...
1.22 +# endif
1.23 +
1.24 +IDL_ARGS =
1.25 +
1.26 # Functions to generate filenames for individual interfaces.
1.27
1.28 export_includes = $(patsubst %,$(IDL_EXPORT_DIR)/%,$(1))