52b349442d
Signed-off-by: Petro Bratash <petrox.bratash@intel.com>
26 lines
765 B
Makefile
Executable File
26 lines
765 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
PACKAGE_NAME := sonic-platform-modules-bfn-montara
|
|
SCRIPT_SRC := $(shell pwd)/scripts
|
|
CONFIGS_SRC := $(shell pwd)/configs
|
|
PLUGINS_DIR := $(shell pwd)/plugins
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_install:
|
|
dh_installdirs -p$(PACKAGE_NAME) usr/local/bin
|
|
cp -r $(SCRIPT_SRC)/* debian/$(PACKAGE_NAME)/usr/local/bin
|
|
dh_installdirs -p$(PACKAGE_NAME) etc/network/interfaces.d/
|
|
cp -r $(CONFIGS_SRC)/network/interfaces.d/* debian/$(PACKAGE_NAME)/etc/network/interfaces.d/
|
|
dh_installdirs -p$(PACKAGE_NAME) usr/share/sonic/device/x86_64-accton_wedge100bf_32x-r0/plugins
|
|
cp -r $(PLUGINS_DIR)/* debian/$(PACKAGE_NAME)/usr/share/sonic/device/x86_64-accton_wedge100bf_32x-r0/plugins/
|
|
|
|
override_dh_usrlocal:
|
|
|
|
override_dh_pysupport:
|
|
|
|
override_dh_clean:
|
|
dh_clean
|
|
|