This patch changes the romfs.post in more places to be a :: target
rather than a : target so that it can be used even in vendors/config/.
The Blackfin arch runs a bunch of commands based on the toolchain for
all products so putting it into config/bfin/config.arch makes sense.
Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]>
---
Index: Makefile
===================================================================
RCS file: /usr/local/src/uClinux/local-cvs/,v/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile 10 Jul 2007 05:47:07 -0000 1.1.1.1
+++ Makefile 12 Jul 2007 08:15:28 -0000
@@ -216,7 +216,7 @@ romfs.subdirs:
for dir in vendors $(DIRS) ; do [ ! -d $$dir ] || $(MAKEARCH) -C $$dir
romfs || exit 1 ; done
.PHONY: romfs.post
-romfs.post:
+romfs.post::
$(MAKEARCH) -C vendors romfs.post
-find $(ROMFSDIR)/. -name CVS | xargs -r rm -rf
Index: vendors/Makefile
===================================================================
RCS file: /usr/local/src/uClinux/local-cvs/,v/vendors/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- vendors/Makefile 10 Jul 2007 05:51:57 -0000 1.1.1.1
+++ vendors/Makefile 12 Jul 2007 08:15:59 -0000
@@ -25,8 +25,11 @@ dir_v := $(VEND)/$(CONFIG_VENDOR)/$(CONF
# Note: the all and clean targets are not normally used,
# since user/Makefile jumps directory to the product directory
-all image clean romfs romfs.post vendor_%:
- $(MAKE) -C $(dir_v) dir_v=$(dir_v) -f $(VEND)/vendors-common.mak $@
+DESCEND = $(MAKE) -C $(dir_v) dir_v=$(dir_v) -f $(VEND)/vendors-common.mak $@
+all image clean romfs vendor_%:
+ $(DESCEND)
+romfs.post::
+ $(DESCEND)
prune:
@for i in `ls -d */ | grep -v -e '$(CONFIG_VENDOR)' -e 'config' -e
'Generic'`; do \
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev