2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
8 include $(INCLUDE_DIR
)/host-build.mk
11 PKG_BUILD_DIR
:=$(TOOL_BUILD_DIR
)/sstrip
14 ifeq ($(HOST_OS
),Darwin
)
17 CFLAGS
+= -I
$(TOPDIR
)/tools
/include -include endian.h
20 $(CC
) $(CFLAGS
) -o
$(PKG_BUILD_DIR
)/sstrip src
/sstrip.c
24 mkdir
-p
$(STAGING_DIR
)/bin
25 $(CP
) $(PKG_BUILD_DIR
)/sstrip
$(STAGING_DIR
)/bin
/
29 rm -f
$(STAGING_DIR
)/bin
/sstrip
32 $(eval
$(call HostBuild
))
This page took 0.043512 seconds and 5 git commands to generate.