X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=tools%2Fsstrip%2FMakefile;h=681e533be436bd2b7b8f8fa93603830b6ffee0b3;hb=b10ad5f4e073c01e80d4fadf4fcc757feb44b2f9;hp=38362a5f7c003be62e53ee8e72f0129bafb0054e;hpb=12c49b6a6adbbcb0c7a19119c8a8c94b5f025f79;p=openwrt.git diff --git a/tools/sstrip/Makefile b/tools/sstrip/Makefile index 38362a5f7c..681e533be4 100644 --- a/tools/sstrip/Makefile +++ b/tools/sstrip/Makefile @@ -10,15 +10,15 @@ PKG_NAME:=sstrip include $(INCLUDE_DIR)/host-build.mk -define Build/Compile - $(CC) $(HOST_CFLAGS) -include endian.h -o $(PKG_BUILD_DIR)/sstrip src/sstrip.c +define Host/Compile + $(HOSTCC) $(HOST_CFLAGS) -I./include -include endian.h -o $(HOST_BUILD_DIR)/sstrip src/sstrip.c endef -define Build/Install - $(CP) $(PKG_BUILD_DIR)/sstrip $(STAGING_DIR_HOST)/bin/ +define Host/Install + $(CP) $(HOST_BUILD_DIR)/sstrip $(STAGING_DIR_HOST)/bin/ endef -define Build/Clean +define Host/Clean rm -f $(STAGING_DIR_HOST)/bin/sstrip endef