fa809c86dc
* [platform]: Add a new supported platform, Delta-agc032 Switch Vendor: Delta Switch SKU: Delta-agc032 CPU: BROADWELL-DE ASIC Vendor: Broadcom Switch ASIC: Tomahawk3, BCM56980 Port Configuration: 32x400G + 2x10G - What I did Add a new Delta platform Delta-agc032. - How I did it Add files by following SONiC Porting Guide. - How to verify it 1. decode-syseeprom 2. sensors 3. psuutil 4. sfputil 5. show interface status 6. bcmcmd Signed-off-by: zoe-kuan <ZOE.KUAN@deltaww.com>
34 lines
807 B
Makefile
Executable File
34 lines
807 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
export INSTALL_MOD_DIR:=extra
|
|
|
|
KVERSION ?= $(shell uname -r)
|
|
KERNEL_SRC := /lib/modules/$(KVERSION)
|
|
MOD_SRC_DIR:= $(shell pwd)
|
|
MODULE_DIRS:= ag9032v1 ag9064 ag5648 et-6248brb ag9032v2a agc032
|
|
|
|
%:
|
|
dh $@ --with=systemd
|
|
|
|
override_dh_auto_build:
|
|
(for mod in $(MODULE_DIRS); do \
|
|
make -C $(KERNEL_SRC)/build M=$(MOD_SRC_DIR)/$${mod}/modules; \
|
|
done)
|
|
|
|
override_dh_auto_install:
|
|
(for mod in $(MODULE_DIRS); do \
|
|
dh_installdirs -pplatform-modules-$${mod} \
|
|
$(KERNEL_SRC)/$(INSTALL_MOD_DIR); \
|
|
cp $(MOD_SRC_DIR)/$${mod}/modules/*.ko \
|
|
debian/platform-modules-$${mod}/$(KERNEL_SRC)/$(INSTALL_MOD_DIR); \
|
|
done)
|
|
|
|
override_dh_usrlocal:
|
|
|
|
override_dh_clean:
|
|
dh_clean
|
|
(for mod in $(MODULE_DIRS); do \
|
|
make -C $(KERNEL_SRC)/build M=$(MOD_SRC_DIR)/$${mod}/modules clean; \
|
|
done)
|
|
|