ODROID-C5: debian: change build rule

Change-Id: I44b0fcb6a753cab1f8bafbadb21d0f2a5602a30b
This commit is contained in:
2025-07-02 10:45:02 +09:00
parent d94e8ba0bc
commit 65a96db75b

6
debian/rules vendored
View File

@@ -2,8 +2,10 @@
define firmware define firmware
make distclean make distclean
echo CONFIG_MACH_LINUX=y | tr -d '[[:space:]]' \ echo CONFIG_MACH_LINUX=y \
> $(shell pwd)/.config && make olddefconfig > $(shell pwd)/.config
echo CONFIG_MACH_LINUX_ODROIDC5=y | tr -d '[[:space:]]' \
>> $(shell pwd)/.config && make olddefconfig
TOPDIR=$(shell pwd) make TOPDIR=$(shell pwd) make
mkdir -p $(shell pwd)/firmware/LINUX mkdir -p $(shell pwd)/firmware/LINUX
cp out/klipper.elf $(shell pwd)/firmware/LINUX/klipper_mcu cp out/klipper.elf $(shell pwd)/firmware/LINUX/klipper_mcu