X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=blobdiff_plain;f=tools%2Felftosb%2Fmakefile;h=f4e77bd05a67c16425042474e7d1c517126f6b1f;hp=a98e71b4a250232999240a69318fae7833205650;hb=a177608da04b386f0d686e1774795b6f229b2f5c;hpb=c2e398d17bc691a0db4bda95b8e8ece275619592 diff --git a/tools/elftosb/makefile b/tools/elftosb/makefile index a98e71b4a2..f4e77bd05a 100644 --- a/tools/elftosb/makefile +++ b/tools/elftosb/makefile @@ -12,13 +12,13 @@ UNAMES = $(shell uname -s) ifeq ("${UNAMES}", "Linux") SRC_DIR = $(shell pwd) -BUILD_DIR = bld/linux +BUILD_DIR = $(KBUILD_OUTPUT)/tools/elftosb/bld/linux else ifeq ("${UNAMES}", "CYGWIN_NT-5.1") SRC_DIR = $(shell pwd) -BUILD_DIR = bld/cygwin +BUILD_DIR = $(KBUILD_OUTPUT)/tools/elftosb/bld/cygwin endif endif @@ -28,5 +28,5 @@ endif # Targets all clean elftosb sbtool keygen: - @mkdir -p ${BUILD_DIR}; - make -C ${BUILD_DIR} -f ${SRC_DIR}/makefile.rules SRC_DIR=${SRC_DIR} $@; + @mkdir -p $(BUILD_DIR); + make -C $(BUILD_DIR) -f $(SRC_DIR)/makefile.rules SRC_DIR=$(SRC_DIR) $@;