9 LINUX_BUILD_DIR
:=$(BUILD_DIR
)/linux-
$(KERNEL
)-$(BOARD
)
10 IPKG_KERNEL
:=IPKG_TMP
=$(BUILD_DIR
)/tmp IPKG_INSTROOT
=$(LINUX_BUILD_DIR
)/root IPKG_CONF_DIR
=$(LINUX_BUILD_DIR
) $(SCRIPT_DIR
)/ipkg
-force-defaults
-force-depends
17 @for listfile in .
/lists
/*.
$(1)-$(2); do \
18 $(MAKE
) -s
`echo $$$$listfile | sed 's,.*lists/\(.*\).$(1)-$(2),BOARD=$(1) KERNEL=$(2) LIST=\1,'` build
; \
25 @
rm -rf
$(LINUX_BUILD_DIR
)/root
*
31 echo
'### BUILDING IMAGE FROM lists/$(LIST).$(BOARD)-$(KERNEL)'
33 rm -rf
$(LINUX_BUILD_DIR
)/root
*
34 mkdir
-p
$(BIN_DIR
)/$(LIST
)
35 mkdir
-p
$(LINUX_BUILD_DIR
)/tmp
36 mkdir
-p
$(LINUX_BUILD_DIR
)/root
37 echo
-e
'dest root /\noption offline_root $(LINUX_BUILD_DIR)/root' > $(LINUX_BUILD_DIR
)/ipkg.conf
38 $(IPKG_KERNEL
) install $(BUILD_DIR
)/linux-
$(KERNEL
)-$(BOARD
)/kernel
[-_
]*.ipk
39 for package in
`cat lists/$(LIST).$(BOARD)-$(KERNEL)`; do \
40 $(IPKG_KERNEL
) install `ls packages/$${package}_*`; \
42 if
[ -d .
/files
]; then \
43 cp
-a
--remove-destination .
/files
/* $(LINUX_BUILD_DIR
)/root
; \
45 if
[ -d .
/files.
$(LIST
) ]; then \
46 cp
-a
--remove-destination .
/files.
$(LIST
)/* $(LINUX_BUILD_DIR
)/root
; \
48 $(MAKE
) -S
-C image KERNEL
="$(KERNEL)" BOARD
="$(BOARD)" BIN_DIR
="$(BIN_DIR)/$(LIST)" install
This page took 0.042908 seconds and 5 git commands to generate.