mirror of
https://github.com/gnuton/asuswrt-merlin.ng.git
synced 2025-05-18 23:41:30 +02:00
44 lines
746 B
Makefile
Executable file
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
|
|
|