I am not a developer.
I am trying to compile the program for openwrt but I am just use to copy paste from guides.
for example in that makefile you have :include $(INCLUDE_DIR)/package.mk which I dont know refers to what. where is the include_dir? and so on.
at best I have to find a simple makefile from openwrt and change that.
but the issue is I dont know what these are also
$(INSTALL_BIN) $(PKG_BUILD_DIR)/rrredir $(1)/usr/bin/
are they standard?
the program I am trying to compile is not really complicated to compile. but it also has a library that need to compile before it.
can you do that or help me do it?
it is this which I think it very good to have on openwrt (specially for people like me that have censorship on their internet)
https://github.com/Intika-Linux-Proxy/SNI-SSL-Proxy.git cd SNI-SSL-Proxy
btw do I need the build enviroment from git master (or 19.07 or 18) or just sdk is enough for me?
what advantage the compiling from source provides that sdk doesn't for the end developer ,not someone that is debuging the openwrt itself?
I think the difference between imagebuilder (gets pre-built binary packages and combines them for a image) and sdk ( a pre-built build enviroment that can be used to create binaries packages, i think) and the from scratch build enviroment that can be hacked to change the defaults and debug the openwrt project ,this is mostly for openwrt developers that are creating the openwrt itself and not for someone like me that is trying to just compile one single package that has standard c make file and so on.
did I get this correctly? so I dont realy need this anymore
and just need to have pre-build sdk from downloads section?