Compare commits

...

4 Commits

Author SHA1 Message Date
Oussama Ghorbel
2c44f86f19 questd: set PKG_SOURCE_VERSION to qualcomm branch 2019-11-18 17:00:37 +01:00
Oussama Ghorbel
6119a2092d easy-soc-libs: add build support for QCA 2019-11-18 15:55:49 +01:00
Oussama Ghorbel
6f5c36b856 questd: add build support for QCA 2019-11-18 15:55:49 +01:00
Oussama Ghorbel
c227d19c8b add support for qualcomm ipq 2019-10-30 15:05:21 +01:00
3 changed files with 22 additions and 2 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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