1 include $(TOPDIR
)/rules.mk
3 KDIR
:=$(BUILD_DIR
)/linux-
$(KERNEL
)-$(BOARD
)
5 ifeq ($(BR2_TARGET_ROOTFS_JFFS2
),y
)
9 ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS_LZMA
),y
)
13 ifeq ($(BR2_TARGET_ROOTFS_TGZ
),y
)
22 @
$(TRACE
) target
/linux
/image
/$(BOARD
)/prepare
23 $(MAKE
) -C
$(BOARD
) prepare
24 @
$(TRACE
) target
/linux
/image
/$(BOARD
)/compile
25 $(MAKE
) -C
$(BOARD
) compile
28 @
$(TRACE
) target
/linux
/image
/$(BOARD
)/install-ib
29 -$(MAKE
) -C
$(BOARD
) IB_DIR
="$(IB_DIR)" install-ib
30 mkdir
-p
$(IB_DIR
)/build_
$(ARCH
)/linux-
$(KERNEL
)-$(BOARD
)
31 cp
$(BUILD_DIR
)/linux-
$(KERNEL
)-$(BOARD
)/kernel
[-_
]*.ipk
$(IB_DIR
)/build_
$(ARCH
)/linux-
$(KERNEL
)-$(BOARD
)/
34 find
$(KDIR
)/root
-type f
-not
-perm
+0100 | xargs chmod
0644
35 find
$(KDIR
)/root
-type f
-perm
+0100 | xargs chmod
0755
36 find
$(KDIR
)/root
-type d | xargs chmod
0755
37 chmod
0777 $(KDIR
)/root
/tmp
39 rebuild
: clean prepare compile
install