switch to KERNEL_MAKE
This commit is contained in:
parent
3d814d628c
commit
680b72918f
14
Makefile
14
Makefile
@ -28,20 +28,8 @@ define Package/r8168/description
|
|||||||
This package contains a driver for Realtek r8168 chipsets.
|
This package contains a driver for Realtek r8168 chipsets.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
R8168_MAKEOPTS= -C $(PKG_BUILD_DIR) \
|
|
||||||
PATH="$(TARGET_PATH)" \
|
|
||||||
ARCH="$(LINUX_KARCH)" \
|
|
||||||
CROSS_COMPILE="$(TARGET_CROSS)" \
|
|
||||||
TARGET="$(HAL_TARGET)" \
|
|
||||||
TOOLPREFIX="$(KERNEL_CROSS)" \
|
|
||||||
TOOLPATH="$(KERNEL_CROSS)" \
|
|
||||||
KERNELPATH="$(LINUX_DIR)" \
|
|
||||||
KERNELDIR="$(LINUX_DIR)" \
|
|
||||||
LDOPTS=" " \
|
|
||||||
DOMULTI=1
|
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) $(R8168_MAKEOPTS) modules
|
$(KERNEL_MAKE) M=$(PKG_BUILD_DIR) modules
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call KernelPackage,r8168))
|
$(eval $(call KernelPackage,r8168))
|
||||||
|
Loading…
Reference in New Issue
Block a user