mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 05:12:29 +02:00
[package] allow ar7-atm annex a and b co-existence by symlinking firmwares
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16071 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
315fb2270e
commit
bfd02d5ef0
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2006-2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -54,12 +54,14 @@ endef
|
|||||||
|
|
||||||
define KernelPackage/sangam-atm-annex-a/install
|
define KernelPackage/sangam-atm-annex-a/install
|
||||||
mkdir -p $(1)/lib/firmware
|
mkdir -p $(1)/lib/firmware
|
||||||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/ar0700mp.bin $(1)/lib/firmware/ar0700xx.bin
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/ar0700mp.bin $(1)/lib/firmware/
|
||||||
|
ln -sf ar0700mp.bin $(1)/lib/firmware/ar0700xx.bin
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/sangam-atm-annex-b/install
|
define KernelPackage/sangam-atm-annex-b/install
|
||||||
mkdir -p $(1)/lib/firmware
|
mkdir -p $(1)/lib/firmware
|
||||||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/ar0700db.bin $(1)/lib/firmware/ar0700xx.bin
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/ar0700db.bin $(1)/lib/firmware/
|
||||||
|
ln -sf ar0700db.bin $(1)/lib/firmware/ar0700xx.bin
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call KernelPackage,sangam-atm-annex-a))
|
$(eval $(call KernelPackage,sangam-atm-annex-a))
|
||||||
|
Loading…
Reference in New Issue
Block a user