mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-11 03:28:36 +01:00
Added new way to generate config that takes into account package dependencies
This commit is contained in:
parent
874190e469
commit
da34037a92
2 changed files with 35 additions and 0 deletions
|
|
@ -27,12 +27,42 @@ define Package/inteno-configs/config
|
|||
default PACKAGE_inteno-vox25
|
||||
config PACKAGE_inteno-vox25
|
||||
select TARGET_ROOTFS_UBIFS
|
||||
select BCM_I2C
|
||||
bool "VOX25"
|
||||
config PACKAGE_inteno-cg300
|
||||
bool "CG300"
|
||||
select BCM_I2C
|
||||
config PACKAGE_inteno-cg301
|
||||
bool "CG301"
|
||||
endchoice
|
||||
if PACKAGE_inteno-vox25
|
||||
config TARGET_MODEL_NAME
|
||||
string
|
||||
default "VOX25-WU7P2U"
|
||||
prompt "Model Name"
|
||||
config TARGET_VERSION
|
||||
string
|
||||
default "3.5.0RC1"
|
||||
prompt "Target Version"
|
||||
config TARGET_IBOARDID
|
||||
string
|
||||
default "VOX25"
|
||||
prompt "Target Board ID"
|
||||
endif
|
||||
if PACKAGE_inteno-cg300
|
||||
config TARGET_MODEL_NAME
|
||||
string
|
||||
default "CG300-WU21U"
|
||||
prompt "Model Name"
|
||||
config TARGET_VERSION
|
||||
string
|
||||
default "3.5.0RC1"
|
||||
prompt "Target Version"
|
||||
config TARGET_IBOARDID
|
||||
string
|
||||
default "CG300"
|
||||
prompt "Target Board ID"
|
||||
endif
|
||||
endef
|
||||
|
||||
define Package/inteno-configs/description
|
||||
|
|
|
|||
|
|
@ -37,6 +37,11 @@ define Package/inteno-vox25/install
|
|||
#$(1)/sbin/juci-update $(1)/www/ RELEASE
|
||||
endef
|
||||
|
||||
|
||||
define Image/PreBuild
|
||||
CONFIG_TARGET_MARTINTEST:="MARTINTEST is SET"
|
||||
endef
|
||||
|
||||
define Package/inteno-vox25/postinst
|
||||
#!/bin/sh
|
||||
/sbin/juci-update /www/ RELEASE
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue