asuswrt-merlin.ng/release/src-rt-5.02axhnd/router-sysdep.rt-ax92u/ethswctl/Makefile
2022-11-20 08:57:40 +01:00

44 lines
746 B
Makefile
Executable file

#GLOBAL_RELEASE_SCRIPT_NOTOUCH
ifneq ($(wildcard Makefile.fullsrc),)
include Makefile.fullsrc
else
EXE = ethswctl
dynamic: generic_exe_install
clean:
rm -f $(EXE)
ethswctl:
cp $(EXE)_$(PROFILE).save $(EXE)
#
# Set our CommEngine directory (by splitting the pwd into two words
# at /userspace and taking the first word only).
# Then include the common defines under CommEngine.
#
CURR_DIR := $(shell pwd)
BUILD_DIR:=$(HND_SRC)
include $(BUILD_DIR)/make.common
# add by Andrew
include $(BUILD_DIR)/router/.config
endif
#add by Andrew
ifeq ($(RTCONFIG_EXT_BCM53134), y)
CFLAGS += -DRTCONFIG_EXT_BCM53134
endif
ifeq ($(findstring _$(strip $(BRCM_CHIP))_,_63138_4908_63158_),_$(strip $(BRCM_CHIP))_)
CFLAGS += -DACB_ALGORITHM2
endif