projects
/
openwrt
/
staging
/
wigyori.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail...
[openwrt/staging/wigyori.git]
/
target
/
linux
/
brcm63xx-2.6
/
image
/
Makefile
diff --git
a/target/linux/brcm63xx-2.6/image/Makefile
b/target/linux/brcm63xx-2.6/image/Makefile
index d930af850162267608aae2e4bdfc32fdcb81ac76..fa1ccf7659b839ca182e55cee6d73e2d5b2c2cd9 100644
(file)
--- a/
target/linux/brcm63xx-2.6/image/Makefile
+++ b/
target/linux/brcm63xx-2.6/image/Makefile
@@
-32,7
+32,7
@@
define Build/Clean
endef
define Image/Prepare
endef
define Image/Prepare
- cat $(KDIR)/vmlinux | $(STAGING_DIR)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux.lzma
+ cat $(KDIR)/vmlinux | $(STAGING_DIR
_HOST
)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux.lzma
rm -f $(KDIR)/loader.gz
$(MAKE) -C lzma-loader \
BUILD_DIR="$(KDIR)" \
rm -f $(KDIR)/loader.gz
$(MAKE) -C lzma-loader \
BUILD_DIR="$(KDIR)" \
@@
-42,7
+42,7
@@
define Image/Prepare
endef
define Image/Build
endef
define Image/Build
- $(STAGING_DIR)/bin/trx -o $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).trx -f $(KDIR)/loader.gz -f $(KDIR)/vmlinux.lzma $(call trxalign/$(1)) -f $(KDIR)/root.$(1)
+ $(STAGING_DIR
_HOST
)/bin/trx -o $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).trx -f $(KDIR)/loader.gz -f $(KDIR)/vmlinux.lzma $(call trxalign/$(1)) -f $(KDIR)/root.$(1)
endef
$(eval $(call BuildImage))
endef
$(eval $(call BuildImage))