2 # Copyright (C) 2006-2008 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
9 PKG_NAME
:= firmware-utils
11 include $(INCLUDE_DIR
)/host-build.mk
13 include $(INCLUDE_DIR
)/kernel.mk
16 $(CC
) $(HOST_CFLAGS
) -include endian.h
-o
$(HOST_BUILD_DIR
)/bin
/$(1) src
/$(1).c
$(2)
20 $(CC
) $(HOST_CFLAGS
) -include endian.h
-o
$(HOST_BUILD_DIR
)/bin
/$(firstword $(1)) $(foreach src
,$(1),src
/$(src
).c
) $(2)
24 $(CC
) $(HOST_CFLAGS
) -I
$(CURDIR
)/..
/..
/target
/linux
/brcm63xx
/files
/include/asm-mips
/mach-bcm63xx
-include endian.h
-o
$(HOST_BUILD_DIR
)/bin
/$(1) src
/$(1).c
$(2)
29 mkdir
-p
$(HOST_BUILD_DIR
)/bin
32 $(call
cc,motorola-bin
)
41 $(call
cc,lzma2eva
,-lz
)
43 $(call
cc,mkfwimage
,-lz
)
44 $(call
cc,mkfwimage2
,-lz
)
47 $(call
cc,makeamitbin
)
50 $(call cc2
,mkplanexfw sha1
)
51 $(call cc2
,mktplinkfw md5
)
53 $(call
cc,osbridge-crc
)
54 $(call cc2
,wrt400n cyg_crc32
)
58 $(INSTALL_BIN
) $(HOST_BUILD_DIR
)/bin
/* $(STAGING_DIR_HOST
)/bin
/
61 $(eval
$(call HostBuild
))
This page took 0.041789 seconds and 5 git commands to generate.