cjson: bump to version 1.4.3
[buildroot-gz.git] / package / wf111 / wf111.mk
blobad9d89149d91ede9e1f7cac67f33c70a78b10c87
1 ################################################################################
3 # wf111
5 ################################################################################
7 WF111_VERSION = 5.2.2-r2
8 WF111_SITE_METHOD = file
9 WF111_SITE = $(call qstrip,$(BR2_PACKAGE_WF111_TARBALL_PATH))
10 WF111_DEPENDENCIES = linux
12 ifeq ($(BR2_PACKAGE_WF111)$(call qstrip,$(BR2_PACKAGE_WF111_TARBALL_PATH)),y)
13 $(error No tarball location specified, check BR2_PACKAGE_WF111_TARBALL_PATH)
14 endif
16 ifeq ($(BR2_ARM_CPU_ARMV7A),y)
17 WF111_SOURCE = wf111-linux-driver_$(WF111_VERSION)_armv7-a.tar.gz
18 else ifeq ($(BR2_ARM_CPU_ARMV5),y)
19 WF111_SOURCE = wf111-linux-driver_$(WF111_VERSION)_armv5t.tar.gz
20 else ifeq ($(BR2_i386),y)
21 WF111_SOURCE = wf111-linux-driver_$(WF111_VERSION)_x86.tar.gz
22 endif
24 # Due to the stupidity of the package Makefile, we can't invoke
25 # separately the build step and the install step and get a correct
26 # behavior. So we do everything in the install step.
27 define WF111_INSTALL_TARGET_CMDS
28 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PWD=$(@D) \
29 $(LINUX_MAKE_FLAGS) KDIR=$(LINUX_DIR) \
30 OUTPUT=$(TARGET_DIR) install_static
31 endef
33 $(eval $(generic-package))