FAQ Database Discussion Community


OpenWRT make is failing because kernel is asking for config options interactively

linux-kernel,openwrt
I am on the chaos calmer repo and I have a custom kernel configuration that I need used. The kernel configuration file is located at /opt/OpenWRT/target/linux/x86/config-3.18 I've tried running make kernel_oldconfig, but that does not solve the issue. I've tried running make kernel_menuconfig and that fails to rectify the problem...

OpenWrt in Microsoft Azure or Hyper-V Virtual Machine

azure,hyper-v,openwrt,nic
Goal: I would like to run OpenWrt in a Microsoft Azure Virtual Machine. Problem: From researching it appears that Azure and Hyper-V have the same issue where the Virtual NIC are not detected. Supposed Solution: Supposedly the solution is to patch OpenWrt Source with Tulip. (Open Wrt Forum on subject:...

What does semicolon-termination inside a Makefile's define directive do?

makefile,make,openwrt
I'm wondering what the semicolons in the following makefile snippet do: define Package/xxsim/CopyLocalFiles $(call cp, files/Adapter20Sim.h, $(PKG_BUILD_DIR)/xxsim); $(call cp, files/Adapter20Sim.cpp, $(PKG_BUILD_DIR)); endef Hooks/Prepare/Post+=Package/xxsim/CopyLocalFiles In case it matters, the makefile is for a custom component (xxsim) in the OpenWRT buildsystem. I would expect that the semicolons are unnecessary, per, e.g., this...

How to cross compile a .c file for Openwrt?

linux,arm,cross-compiling,beagleboneblack,openwrt
I am trying to cross compile a .c file for Openwrt. I downloaded Openwrt and added my file in package directory and created Makefile for it but while compiling it is skipping. I don't know what is wrong This the Makefile : * include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=gav PKG_VERSION:=1 PKG_RELEASE:=1...

Is it possible to install timeout in OpenWRT

timeout,openwrt
I need to execute a command with a timeout in OpenWRT, but it seems that the command timeout is not installed by default neither can be installed using opkg. I know that I can do a work around (using command &; sleep $DELAY; kill $!), but I wish to do...