|
@@ -21,14 +21,13 @@ else ifeq ($(BR2_i386),y)
|
|
|
WF111_SOURCE = wf111-linux-driver_5.2.2-r1_x86.tar.gz
|
|
|
endif
|
|
|
|
|
|
-define WF111_BUILD_CMDS
|
|
|
+# Due to the stupidity of the package Makefile, we can't invoke
|
|
|
+# separately the build step and the install step and get a correct
|
|
|
+# behavior. So we do everything in the install step.
|
|
|
+define WF111_INSTALL_TARGET_CMDS
|
|
|
$(MAKE) -C $(@D) PWD=$(@D) \
|
|
|
$(LINUX_MAKE_FLAGS) KDIR=$(LINUX_DIR) \
|
|
|
- install_static
|
|
|
-endef
|
|
|
-
|
|
|
-define WF111_INSTALL_TARGET_CMDS
|
|
|
- cp -dpfr $(@D)/output/* $(TARGET_DIR)
|
|
|
+ OUTPUT=$(TARGET_DIR) install_static
|
|
|
endef
|
|
|
|
|
|
$(eval $(generic-package))
|