jool: compile common module first
authorDavid Bauer <mail@david-bauer.net>
Tue, 18 Feb 2020 23:53:55 +0000 (00:53 +0100)
committerDavid Bauer <mail@david-bauer.net>
Tue, 18 Feb 2020 23:57:02 +0000 (00:57 +0100)
Compile the common module first, as otherwise the dependency on the
jool-common module is not detected.

Signed-off-by: David Bauer <mail@david-bauer.net>
net/jool/Makefile

index 61998de4a65740a1e3fe8e9e7ad6e16e34ffe023..40f453fe738b6e0d2223075ad389d5e44a2f6b99 100644 (file)
@@ -9,7 +9,7 @@ include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=jool
 PKG_VERSION:=4.0.6
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://github.com/NICMx/Jool/releases/download/v$(PKG_VERSION)
@@ -30,21 +30,21 @@ define Build/Compile
                KERNEL_DIR="$(LINUX_DIR)" \
                ARCH="$(LINUX_KARCH)" \
                CROSS_COMPILE="$(TARGET_CROSS)" \
-               SUBDIRS="$(PKG_BUILD_DIR)/src/mod/nat64" \
+               SUBDIRS="$(PKG_BUILD_DIR)/src/mod/common" \
                V="$(V)" \
                modules
        $(MAKE) -C "$(LINUX_DIR)" \
                KERNEL_DIR="$(LINUX_DIR)" \
                ARCH="$(LINUX_KARCH)" \
                CROSS_COMPILE="$(TARGET_CROSS)" \
-               SUBDIRS="$(PKG_BUILD_DIR)/src/mod/siit" \
+               SUBDIRS="$(PKG_BUILD_DIR)/src/mod/nat64" \
                V="$(V)" \
                modules
        $(MAKE) -C "$(LINUX_DIR)" \
                KERNEL_DIR="$(LINUX_DIR)" \
                ARCH="$(LINUX_KARCH)" \
                CROSS_COMPILE="$(TARGET_CROSS)" \
-               SUBDIRS="$(PKG_BUILD_DIR)/src/mod/common" \
+               SUBDIRS="$(PKG_BUILD_DIR)/src/mod/siit" \
                V="$(V)" \
                modules
        $(call Build/Compile/Default)