[platform/barefoot] fix bullseye build system (#9779)

* use py3 for dh build
* use pybuild for python packages
This commit is contained in:
novikauanton 2022-01-22 20:33:34 +02:00 committed by GitHub
parent 5bac340969
commit 66b6dcb5bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ BUILD_DIR := $(shell pwd)/build
WHEEL_BUILD_DIR := $(BUILD_DIR)/wheel
%:
dh $@ --with python3
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_build:
set -e

View File

@ -13,7 +13,7 @@ WHEEL_BUILD_DIR := $(BUILD_DIR)/wheel
MODULE_NAMES := as9516 as9516bf
%:
dh $@ --with python3
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_build:
make -C $(KERNEL_SRC)/build M=$(MODULE_SRC)

View File

@ -8,7 +8,7 @@ BUILD_DIR := $(shell pwd)/build
WHEEL_BUILD_DIR := $(BUILD_DIR)/wheel
%:
dh $@ --with python3
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_build:
set -e