freewrt_1_0
freewrt_2_0
| Line | |
|---|
| 1 | # $FreeWRT$
|
|---|
| 2 |
|
|---|
| 3 | PKG_NAME:= u-boot
|
|---|
| 4 | PKG_VERSION:= 1.1.4
|
|---|
| 5 | PKG_MD5SUM:= 096cac66046326659b97eeded007ec73
|
|---|
| 6 | PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|---|
| 7 | PKG_SOURCE_URL:= ftp://ftp.denx.de/pub/u-boot
|
|---|
| 8 |
|
|---|
| 9 | include $(TOPDIR)/rules.mk
|
|---|
| 10 | include ../rules.mk
|
|---|
| 11 |
|
|---|
| 12 | $(WRKBUILD)/tools/mkimage: $(WRKBUILD)/.prepared
|
|---|
| 13 | (cd $(WRKBUILD)/tools ; \
|
|---|
| 14 | $(HOSTCC) -g -Wall -pedantic -idirafter ../include -DTEXT_BASE= -DUSE_HOSTCC -O -c mkimage.c )
|
|---|
| 15 | (cd $(WRKBUILD)/tools ; \
|
|---|
| 16 | $(HOSTCC) -g -Wall -pedantic -idirafter ../include -DTEXT_BASE= -DUSE_HOSTCC -O -c ../lib_generic/crc32.c )
|
|---|
| 17 | (cd $(WRKBUILD)/tools ; \
|
|---|
| 18 | $(HOSTCC) -Wall -pedantic -idirafter ../include -DTEXT_BASE= -DUSE_HOSTCC -O -o mkimage mkimage.o crc32.o )
|
|---|
| 19 |
|
|---|
| 20 | $(STAGING_DIR)/bin/mkimage: $(WRKBUILD)/tools/mkimage
|
|---|
| 21 | $(CP) $< $@
|
|---|
| 22 |
|
|---|
| 23 | source: $(DL_DIR)/$(PKG_SOURCE)
|
|---|
| 24 | prepare: $(WRKBUILD)/.prepared
|
|---|
| 25 | compile: $(WRKBUILD)/tools/mkimage $(STAGING_DIR)/bin/mkimage
|
|---|
| 26 | install: $(STAGING_DIR)/bin/mkimage
|
|---|
| 27 | clean:
|
|---|
| 28 | rm -rf $(WRKBUILD)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.