mrd6: fix compilation under macOS
authorRosen Penev <rosenp@gmail.com>
Sat, 23 Oct 2021 20:21:53 +0000 (13:21 -0700)
committerNick Hainke <vincent@systemli.org>
Mon, 13 Dec 2021 10:10:44 +0000 (11:10 +0100)
uname variable needs to be overriden.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
mrd6/Makefile

index 27a80afa2162c4fdaa76f5a672f6cbfcd8256af5..87fdb3c169c090f5ab047d0961035f7047b89e28 100644 (file)
@@ -52,7 +52,8 @@ MRD6_MAKEFLAGS:= \
        LDFLAGS="$(TARGET_LDFLAGS) -ldl -lm" \
        MODULE_CXX="\$$$$(CC) -shared \$$$$(CXXFLAGS) \$$$$(LDFLAGS)" \
        DESTDIR="$(PKG_INSTALL_DIR)" \
-       PREFIX="/usr"
+       PREFIX="/usr" \
+       KERNEL=Linux
 
 define Build/Compile
        +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/src $(MRD6_MAKEFLAGS) all