add chdkptp and lua-intf