Skip to content

Crosscompile for Openwrt 19.07 ramips/mt7620 processor #75

Answered by Drus566
Drus566 asked this question in Q&A
Discussion options

You must be logged in to vote

In general, I made this makefile, and fixed a couple of errors that are googled during the compilation process, and got my build)

include $(TOPDIR)/rules.mk
 
PKG_NAME:=ocppclient
PKG_VERSION:=06.10.2022
PKG_RELEASE=1
 
PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=
 
PKG_MAINTAINER:=drus <[email protected]>
 
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk #If usingcmake, You must add this line
 
define Package/ocppclient
	SECTION:=net
	CATEGORY:=ocppclient
	DEPENDS:=+kmod-tun +libpthread +librt +libubox +libuci +libstdcpp +libsqlite3 #Add the required dependency library, if you don’t add it, it will compile and report an error
	TITLE:=OCPPClient
endef

define Package/o…

Replies: 3 comments 12 replies

Comment options

You must be logged in to vote
8 replies
@Drus566
Comment options

@c-jimenez
Comment options

@Drus566
Comment options

@c-jimenez
Comment options

@Drus566
Comment options

Comment options

You must be logged in to vote
4 replies
@c-jimenez
Comment options

@Drus566
Comment options

@Drus566
Comment options

@c-jimenez
Comment options

Answer selected by Drus566
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants