asuswrt-merlin.ng/release/src-rt-5.02axhnd/router-sysdep.rt-ax88u/mdkshell/Makefile

40 lines
617 B
Makefile

#GLOBAL_RELEASE_SCRIPT_NOTOUCH
ifneq ($(wildcard Makefile.fullsrc),)
include Makefile.fullsrc
else
EXE = mdkshell
dynamic: generic_exe_install
clean:
rm -f $(EXE)
ifneq ($(PREBUILT_BCMBIN),1)
$(EXE):
cp $(EXE)_$(PROFILE).save $(EXE)
else
$(EXE):
cp -f $(TOP_PLATFORM)/$(shell pwd | sed 's/\(.*router-sysdep\/\)//')/$(PRBM_DIR)/$@ ./
endif
#
# 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
endif