projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add cross-compilation patch to have LINUX defined, especially when build system is...
[openwrt/svn-archive/archive.git]
/
openwrt
/
target
/
Makefile
diff --git
a/openwrt/target/Makefile
b/openwrt/target/Makefile
index ec3b659724cad9a216f15ff445efaff541579546..24c34036de3334405aa15ef93d0712c80fd58bb1 100644
(file)
--- a/
openwrt/target/Makefile
+++ b/
openwrt/target/Makefile
@@
-16,6
+16,9
@@
clean: linux-clean utils-clean lzma-clean image_clean
image_clean:
rm -f $(BIN_DIR)/openwrt-*
image_clean:
rm -f $(BIN_DIR)/openwrt-*
+linux/package/%:
+ $(MAKE) -C $(TOPDIR)/target/linux $(patsubst linux/%,%,$@)
+
%-clean:
@$(TRACE) target/$(patsubst %-clean,%,$@)-clean
$(MAKE) -C $(patsubst %-clean,%,$@) clean
%-clean:
@$(TRACE) target/$(patsubst %-clean,%,$@)-clean
$(MAKE) -C $(patsubst %-clean,%,$@) clean
@@
-35,3
+38,4
@@
linux-imagebuilder:
@$(TRACE) target/linux/imagebuilder
$(MAKE) -C linux imagebuilder
@$(TRACE) target/linux/imagebuilder
$(MAKE) -C linux imagebuilder
+