Closed xmapst closed 3 years ago
Please try
make CONFIG_PLATFORM_ARM_AARCH64=y CONFIG_PLATFORM_I386_PC=n
Please try
make CONFIG_PLATFORM_ARM_AARCH64=y CONFIG_PLATFORM_I386_PC=n
Thank you. I'll try
-> # grep CONFIG_PLATFORM_I386_PC package/rtl8192eu/rtl8192eu-linux-driver/Makefile
CONFIG_PLATFORM_I386_PC = n
ifeq ($(CONFIG_PLATFORM_I386_PC), y)
ifeq ($(CONFIG_PLATFORM_I386_PC), y)
-> # grep ONFIG_PLATFORM_ARM_AARCH64 package/rtl8192eu/rtl8192eu-linux-driver/Makefile
CONFIG_PLATFORM_ARM_AARCH64 = y
ifeq ($(CONFIG_PLATFORM_ARM_AARCH64), y)
Still fail @CGarces
make -C /home/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mvebu_cortexa53/8192eu-2019-3-12 ARCH="arm64" CROSS_COMPILE="aarch64-openwrt-linux-musl-" KSRC="/home/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mvebu_cortexa53/linux-5.4.80" KVER="5.4.80" M="/home/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mvebu_cortexa53/8192eu-2019-3-12" MODULE_NAME="8192eu" USER_EXTRA_CFLAGS="-DBACKPORT -DCONFIG_MINIMAL_MEMORY_USAGE -DCONFIG_RTW_IOCTL_SET_COUNTRY -DCONFIG_CONCURRENT_MODE -DDBG_MEM_ALLOC -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT -DCONFIG_PLATFORM_ARM_RPI -DCONFIG_MP_INCLUDED -DCONFIG_WEXT_PRIV -DCONFIG_WIRELESS_EXT" NOSTDINC_FLAGS="-I/home/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/mac80211 -I/home/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/mac80211/uapi -I/home/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/mac80211-backport -include backport/backport.h "
@xmapst Can you give me a hint about how reproduce the error. I have never used the openwrt build enviroment.
Can you give me a hint about how reproduce the error. I have never used the openwrt build enviroment. @CGarces There is a reproduction environment GL-MV1000W-Openwrt
I'm not familiar with OpenWRT. I see 3 .sh files in the repository. How can I reproduce the error?
$ chmod +x offical-openwrt.sh
$ ./offical-openwrt.sh
Or there is any faster way without fetch all the dependencies?
I'm not familiar with OpenWRT. I see 3 .sh files in the repository. How can I reproduce the error?
$ chmod +x offical-openwrt.sh $ ./offical-openwrt.sh
Or there is any faster way without fetch all the dependencies?
sudo -E apt-get -qq updat && sudo -E apt-get -qq install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler gperf antlr3 wget swig rsync tree
on ubuntu18.04git clone https://github.com/xmapst/GLMV1000W-OpenWrt && cd GLMV1000W-OpenWrt
git clone https://github.com/openwrt/openwrt && cd openwrt
./scripts/feeds update -a && ./scripts/feeds install -a
chmod +x ../*.sh && cp ../gl-mv1000w.config .config && make defconfig && ../offical-openwrt.sh && make -j 1 V=s
The offical-openwrt.sh script will clone https://github.com/Mange/rtl8192eu-linux-driver to package/rtl8192eu/rtl8192eu-linux-driver, and modify CONFIG_PLATFORM_ARM_AARCH64 = y and CONFIG_PLATFORM_I386_PC = n in the Makefile
Thanks @xmapst Please continue he discussion at https://github.com/xmapst/GLMV1000W-OpenWrt/issues/1
Not related to the current source code.