X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/12c49b6a6adbbcb0c7a19119c8a8c94b5f025f79..df5bf72a25709238532b53431d551b12769981ef:/tools/patch-cmdline/Makefile?ds=inline diff --git a/tools/patch-cmdline/Makefile b/tools/patch-cmdline/Makefile index cc6b9d381..9a3f971ef 100644 --- a/tools/patch-cmdline/Makefile +++ b/tools/patch-cmdline/Makefile @@ -10,15 +10,15 @@ PKG_NAME:=patch-cmdline include $(INCLUDE_DIR)/host-build.mk -define Build/Compile - $(HOSTCC) $(HOST_CFLAGS) -include endian.h -o $(PKG_BUILD_DIR)/$(PKG_NAME) src/$(PKG_NAME).c +define Host/Compile + $(HOSTCC) $(HOST_CFLAGS) -include endian.h -o $(HOST_BUILD_DIR)/$(PKG_NAME) src/$(PKG_NAME).c endef -define Build/Install - $(CP) $(PKG_BUILD_DIR)/patch-cmdline $(STAGING_DIR_HOST)/bin/ +define Host/Install + $(CP) $(HOST_BUILD_DIR)/patch-cmdline $(STAGING_DIR_HOST)/bin/ endef -define Build/Clean +define Host/Clean rm -f $(STAGING_DIR_HOST)/bin/patch-cmdline endef