I have a couple different boards that I switch between, and they have different, board specific files in their "files" directory. Is there is a good way to create a menuconfig package for each of these sets files?
I guess further to my own question, is is as easy as setting the "Install directory" in the makefile?
define Package/acl/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
endef
If they're different boards, I got the idea from the "env" scripts and now manage them with git
Assuming you've saved what you want, so as not to overwrite
cd path/to/openwrt
git init env
ln -sf env/files files
ln -sf env/.config .config
You can then pick a branch for each board, and use git -C env <some command>
from the root level of the OpenWrt build tree (or pushd env
).