<commit_before>#
# Makefile for debugging and testing
#

device ?= bft
host ?= ambertec.local

all : clean .build .deploy

clean : .clean-$(device)

.clean-bft :
	bitbake ambertec-bft-api ambertec-bft-web -c cleanall -f

.clean-core :

build: .build

.build :
	bitbake ambertec-$(device)-image

deploy: .deploy

.deploy :	
	scp images/ambertec-$(device).fw root@$(host):firmware.fw
	ssh root@$(host) -C "/usr/sbin/firmware_install firmware.fw && /sbin/reboot"

<commit_msg>Updated Makefile<commit_after>#
# Makefile for debugging and testing
#

DEVICE ?= bft
HOST ?= ambertec.local

all : update clean .build .deploy

clean : .clean-$(DEVICE)

.clean-bft :
	bitbake ambertec-bft-api ambertec-bft-web -c cleanall -f

.clean-core :

build: .build

.build :
	bitbake ambertec-$(DEVICE)-image

deploy: .deploy

.deploy :	
	scp images/ambertec-$(DEVICE).fw root@$(HOST):/tmp/firmware.fw
	ssh root@$(HOST) -C "/usr/sbin/firmware_install /tmp/firmware.fw && /sbin/reboot"

update: .update

.update :
	./oebb.sh update

config: .config

.config : 
	./oebb.sh config beaglebone
{'fraction_non_alphanumeric': 0.15168539325842698, 'fraction_numerical': 0.0, 'mean_word_length': 3.587982832618026, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '27129', 'n_tokens_mistral': 455, 'n_tokens_neox': 425, 'n_words': 95}