mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-20 01:20:35 +08:00
Compare commits
4 Commits
sysmngr_co
...
qcom
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2c44f86f19 | ||
|
|
6119a2092d | ||
|
|
6f5c36b856 | ||
|
|
c227d19c8b |
@@ -60,6 +60,9 @@ else ifeq ($(CONFIG_TARGET_iopsys_linksys),y)
|
||||
else ifeq ($(CONFIG_TARGET_intel_mips),y)
|
||||
TARGET_PLATFORM=INTEL
|
||||
TARGET_CFLAGS +=-DIOPSYS_INTEL
|
||||
else ifeq ($(CONFIG_TARGET_ipq),y)
|
||||
TARGET_PLATFORM=QCA
|
||||
TARGET_CFLAGS +=-DIOPSYS_QCA
|
||||
else
|
||||
$(info Unexpected CONFIG_TARGET)
|
||||
endif
|
||||
|
||||
@@ -18,6 +18,7 @@ function genconfig {
|
||||
brcm63xx_arm="target/linux/iopsys-brcm63xx-arm"
|
||||
ramips="target/linux/iopsys-ramips"
|
||||
intel_mips="target/linux/intel_mips"
|
||||
qca_ipq="target/linux/ipq"
|
||||
|
||||
Red='\033[0;31m' # Red
|
||||
Color_Off='\033[0m' # Text Reset
|
||||
@@ -90,9 +91,11 @@ function genconfig {
|
||||
iopsys_ramips=$(cd $ramips; ./genconfig)
|
||||
[ -e $intel_mips/genconfig ] &&
|
||||
iopsys_intel_mips=$(cd $intel_mips; ./genconfig)
|
||||
[ -e $qca_ipq/genconfig ] &&
|
||||
iopsys_qca_ipq=$(cd $qca_ipq; ./genconfig)
|
||||
|
||||
if [ "$profile" == "LIST" ]; then
|
||||
for list in iopsys_brcm63xx_mips iopsys_brcm63xx_arm iopsys_ramips iopsys_intel_mips; do
|
||||
for list in iopsys_brcm63xx_mips iopsys_brcm63xx_arm iopsys_ramips iopsys_intel_mips iopsys_qca_ipq; do
|
||||
echo "$list based boards:"
|
||||
for b in ${!list}; do
|
||||
echo -e "\t$b"
|
||||
@@ -133,6 +136,14 @@ function genconfig {
|
||||
fi
|
||||
done
|
||||
|
||||
for p in $iopsys_qca_ipq; do
|
||||
if [ $p == $profile ]; then
|
||||
target="ipq"
|
||||
config_path="$qca_ipq/config"
|
||||
return
|
||||
fi
|
||||
done
|
||||
|
||||
}
|
||||
|
||||
git remote -v | grep -q http || {
|
||||
@@ -307,6 +318,8 @@ function genconfig {
|
||||
echo "CONFIG_TARGET_PER_DEVICE_ROOTFS=y" >> .config
|
||||
device=$(echo $BOARDTYPE | tr a-z A-Z)
|
||||
echo "CONFIG_TARGET_DEVICE_${target}_${subtarget}_DEVICE_${device}=y" >> .config
|
||||
elif [ "$target" = "ipq" ]; then
|
||||
:
|
||||
else
|
||||
echo "CONFIG_TARGET_${target}=y" >> .config
|
||||
echo "CONFIG_TARGET_${target}_${BOARDTYPE}=y" >> .config
|
||||
|
||||
@@ -8,7 +8,9 @@ include $(INCLUDE_DIR)/kernel.mk
|
||||
PKG_NAME:=questd
|
||||
PKG_VERSION:=4.1.1
|
||||
|
||||
PKG_SOURCE_VERSION:=04eb78c28d96801951b204bc434f84d43d4a0d03
|
||||
#PKG_SOURCE_VERSION:=04eb78c28d96801951b204bc434f84d43d4a0d03
|
||||
# FIXME
|
||||
PKG_SOURCE_VERSION:=qcom
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/questd
|
||||
|
||||
@@ -36,6 +38,8 @@ QUESTD_TARGET:=-DIOPSYS_MEDIATEK
|
||||
QUESTD_CFLAGS:=\
|
||||
-I$(STAGING_DIR)/usr/include \
|
||||
-I$(STAGING_DIR)/usr/include/libnl-tiny
|
||||
else ifeq ($(CONFIG_TARGET_ipq),y)
|
||||
QUESTD_TARGET:=-DIOPSYS_QCA
|
||||
else
|
||||
$(info (UNEXPECTED CONFIG TARGET))
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user