fix default lan_ifnames for wrt54g v1.x
[openwrt.git] / openwrt / target / linux / image / Makefile
index 74c778a..1e3e22f 100644 (file)
@@ -25,6 +25,12 @@ install-ib:
        mkdir -p $(IB_DIR)/build_$(ARCH)/linux-$(KERNEL)-$(BOARD)
        cp $(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)/kernel[-_]*.ipk $(IB_DIR)/build_$(ARCH)/linux-$(KERNEL)-$(BOARD)/      
 
+install-prepare:
+       find $(KDIR)/root -type f -not -perm +0100 | xargs chmod 0644
+       find $(KDIR)/root -type f -perm +0100 | xargs chmod 0755
+       find $(KDIR)/root -type d | xargs chmod 0755
+       chmod 0777 $(KDIR)/root/tmp
+
 rebuild: clean prepare compile install
 clean:
 
This page took 0.02296 seconds and 4 git commands to generate.