mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 21:08:26 +02:00
introduce a generic PKG_CONFIG_DEPENDS for packages that need to be reconfigured when certain CONFIG options changed, rename PKG_BUILD_DEPEND to PKG_BUILD_DEPENDS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15451 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
41ac629695
commit
db6a8626c2
@ -16,8 +16,8 @@ include $(INCLUDE_DIR)/host.mk
|
|||||||
include $(INCLUDE_DIR)/unpack.mk
|
include $(INCLUDE_DIR)/unpack.mk
|
||||||
include $(INCLUDE_DIR)/depends.mk
|
include $(INCLUDE_DIR)/depends.mk
|
||||||
|
|
||||||
STAMP_PREPARED=$(PKG_BUILD_DIR)/.prepared$(if $(QUILT)$(DUMP),,_$(shell $(call find_md5,${CURDIR} $(PKG_FILE_DEPEND),)))
|
STAMP_PREPARED=$(PKG_BUILD_DIR)/.prepared$(if $(QUILT)$(DUMP),,_$(shell $(call find_md5,${CURDIR} $(PKG_FILE_DEPENDS),)))
|
||||||
STAMP_CONFIGURED:=$(PKG_BUILD_DIR)/.configured
|
STAMP_CONFIGURED:=$(PKG_BUILD_DIR)/.configured$(if $(QUILT)$(DUMP),,_$(call confvar,$(PKG_CONFIG_DEPENDS)))
|
||||||
STAMP_BUILT:=$(PKG_BUILD_DIR)/.built
|
STAMP_BUILT:=$(PKG_BUILD_DIR)/.built
|
||||||
STAMP_INSTALLED:=$(STAGING_DIR)/stamp/.$(PKG_NAME)_installed
|
STAMP_INSTALLED:=$(STAGING_DIR)/stamp/.$(PKG_NAME)_installed
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk
|
|||||||
PKG_NAME:=base-files
|
PKG_NAME:=base-files
|
||||||
PKG_RELEASE:=18
|
PKG_RELEASE:=18
|
||||||
|
|
||||||
PKG_FILE_DEPEND:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
@ -16,18 +16,20 @@ PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/
|
|||||||
PKG_SOURCE_SUBDIR:=hostapd-$(PKG_VERSION)
|
PKG_SOURCE_SUBDIR:=hostapd-$(PKG_VERSION)
|
||||||
PKG_SOURCE_VERSION:=$(PKG_REV)
|
PKG_SOURCE_VERSION:=$(PKG_REV)
|
||||||
PKG_MD5SUM:=83630d11fa66ade9091f1b304fccd74c
|
PKG_MD5SUM:=83630d11fa66ade9091f1b304fccd74c
|
||||||
PKG_BUILD_DEPENDS:=PACKAGE_kmod-madwifi:madwifi PACKAGE_kmod-mac80211:mac80211 PACKAGE_kmod-mac80211:libnl
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
PKG_BUILD_DEPENDS:= \
|
||||||
|
PACKAGE_kmod-madwifi:madwifi \
|
||||||
|
PACKAGE_kmod-mac80211:mac80211 \
|
||||||
|
PACKAGE_kmod-mac80211:libnl \
|
||||||
|
|
||||||
PKG_CONFDEPS := \
|
PKG_CONFIG_DEPENDS:= \
|
||||||
CONFIG_PACKAGE_kmod-ath9k \
|
CONFIG_PACKAGE_kmod-ath9k \
|
||||||
CONFIG_PACKAGE_kmod-mac80211 \
|
CONFIG_PACKAGE_kmod-mac80211 \
|
||||||
CONFIG_PACKAGE_kmod-madwifi \
|
CONFIG_PACKAGE_kmod-madwifi \
|
||||||
CONFIG_PACKAGE_hostapd \
|
CONFIG_PACKAGE_hostapd \
|
||||||
CONFIG_PACKAGE_hostapd-mini
|
CONFIG_PACKAGE_hostapd-mini \
|
||||||
|
|
||||||
STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(call confvar,$(PKG_CONFDEPS))
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
DRIVER_MAKEOPTS= \
|
DRIVER_MAKEOPTS= \
|
||||||
CONFIG_DRIVER_NL80211=$(CONFIG_PACKAGE_kmod-mac80211) \
|
CONFIG_DRIVER_NL80211=$(CONFIG_PACKAGE_kmod-mac80211) \
|
||||||
|
@ -28,8 +28,10 @@ endif
|
|||||||
PKG_SOURCE:=compat-wireless-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=compat-wireless-$(PKG_VERSION).tar.bz2
|
||||||
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/compat-wireless-$(PKG_VERSION)
|
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/compat-wireless-$(PKG_VERSION)
|
||||||
|
|
||||||
|
PKG_CONFIG_DEPENDS:= \
|
||||||
|
CONFIG_PACKAGE_kmod-mac80211 \
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(call confvar,CONFIG_PACKAGE_kmod-mac80211)
|
|
||||||
|
|
||||||
WMENU:=Wireless Drivers
|
WMENU:=Wireless Drivers
|
||||||
|
|
||||||
|
@ -15,10 +15,14 @@ PKG_MD5SUM:=0efb8fcedf0a8acf6f423dfdb0658fdd
|
|||||||
PKG_SOURCE_URL:=http://hostap.epitest.fi/releases
|
PKG_SOURCE_URL:=http://hostap.epitest.fi/releases
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
|
|
||||||
PKG_BUILD_DEPENDS:=PACKAGE_kmod-madwifi:madwifi
|
PKG_BUILD_DEPENDS:= \
|
||||||
|
PACKAGE_kmod-madwifi:madwifi \
|
||||||
|
|
||||||
|
PKG_CONFIG_DEPENDS:= \
|
||||||
|
CONFIG_PACKAGE_kmod-madwifi \
|
||||||
|
CONFIG_WPA_SUPPLICANT_NO_TIMESTAMP_CHECK \
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(call confvar,CONFIG_PACKAGE_kmod-madwifi CONFIG_WPA_SUPPLICANT_NO_TIMESTAMP_CHECK)
|
|
||||||
|
|
||||||
define Package/wpa-supplicant
|
define Package/wpa-supplicant
|
||||||
SECTION:=net
|
SECTION:=net
|
||||||
|
@ -12,13 +12,11 @@ PKG_VERSION:=1
|
|||||||
|
|
||||||
PKG_BUILD_DEPENDS:=libnl PACKAGE_wprobe-export:libipfix
|
PKG_BUILD_DEPENDS:=libnl PACKAGE_wprobe-export:libipfix
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
PKG_CONFIG_DEPENDS = \
|
||||||
|
|
||||||
PKG_CONFDEPS = \
|
|
||||||
CONFIG_PACKAGE_kmod-wprobe \
|
CONFIG_PACKAGE_kmod-wprobe \
|
||||||
CONFIG_PACKAGE_wprobe-export
|
CONFIG_PACKAGE_wprobe-export \
|
||||||
|
|
||||||
STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(call confvar,$(PKG_CONFDEPS))
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define KernelPackage/wprobe
|
define KernelPackage/wprobe
|
||||||
SUBMENU:=Network Support
|
SUBMENU:=Network Support
|
||||||
|
Loading…
Reference in New Issue
Block a user