jool: compile common module first
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>
This commit is contained in:
parent
288fcd89b1
commit
a1a8f74368
1 changed files with 8 additions and 8 deletions
|
@ -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)
|
||||
|
@ -26,6 +26,13 @@ PKG_BUILD_DEPENDS:=!USE_GLIBC:argp-standalone
|
|||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Build/Compile
|
||||
$(MAKE) -C "$(LINUX_DIR)" \
|
||||
KERNEL_DIR="$(LINUX_DIR)" \
|
||||
ARCH="$(LINUX_KARCH)" \
|
||||
CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||
SUBDIRS="$(PKG_BUILD_DIR)/src/mod/common" \
|
||||
V="$(V)" \
|
||||
modules
|
||||
$(MAKE) -C "$(LINUX_DIR)" \
|
||||
KERNEL_DIR="$(LINUX_DIR)" \
|
||||
ARCH="$(LINUX_KARCH)" \
|
||||
|
@ -40,13 +47,6 @@ define Build/Compile
|
|||
SUBDIRS="$(PKG_BUILD_DIR)/src/mod/siit" \
|
||||
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" \
|
||||
V="$(V)" \
|
||||
modules
|
||||
$(call Build/Compile/Default)
|
||||
endef
|
||||
|
||||
|
|
Loading…
Reference in a new issue