sim: moxie: fix datadir handling
authorMike Frysinger <vapier@gentoo.org>
Sun, 28 Nov 2021 05:56:03 +0000 (00:56 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sun, 28 Nov 2021 05:56:44 +0000 (00:56 -0500)
Expand the value at `make` time rather than configure generation time
so that we handle $(datarootdir) setting properly.

sim/moxie/Makefile.in

index c33b3b63e2c8a188a2cb5180add708d65bf528bc..6671389c2939a944f1662a780e5ca8a197dcdd9d 100644 (file)
@@ -17,7 +17,7 @@
 
 ## COMMON_PRE_CONFIG_FRAG
 
-dtbdir = @datadir@/gdb/dtb
+dtbdir = $(datadir)/gdb/dtb
 
 SIM_OBJS = \
        $(SIM_NEW_COMMON_OBJS) \