fix ImageBuilder (closes: #3863)
authorNicolas Thill <nico@openwrt.org>
Fri, 22 Aug 2008 13:45:54 +0000 (13:45 +0000)
committerNicolas Thill <nico@openwrt.org>
Fri, 22 Aug 2008 13:45:54 +0000 (13:45 +0000)
SVN-Revision: 12370

target/imagebuilder/Config.in
target/imagebuilder/Makefile
target/imagebuilder/files/Makefile

index 265ac76e37a3e6d0b32c79211ddd6fdddd1703f5..64fc4051c9132c2412f92bfb05c28d18342ab02e 100644 (file)
@@ -1,8 +1,9 @@
 config IB
        bool "Build the OpenWrt Image Builder"
        depends !TARGET_ROOTFS_INITRAMFS
+       depends !TARGET_uml
        depends !PROFILE_KCONFIG
-       depends !LINUX_2_6_UML
+       select ALL
        help
          This is essentially a stripped-down version of the buildroot
          with precompiled packages, kernel image and image building tools.
index 8a3ac7fed9c6c4b490490542b6ab8a0d52e79d7b..12e391ef90a885b9d4a662cae46548fdb24e318a 100644 (file)
@@ -25,12 +25,13 @@ $(BIN_DIR)/$(IB_NAME).tar.bz2: clean
        rm -rf $(PKG_BUILD_DIR)
        mkdir -p $(IB_KDIR) $(PKG_BUILD_DIR)/staging_dir/host $(PKG_BUILD_DIR)/target
        $(CP) \
-               $(INCLUDE_DIR) $(SCRIPT_DIR) $(PACKAGE_DIR) \
+               $(INCLUDE_DIR) $(SCRIPT_DIR) \
                $(TOPDIR)/rules.mk $(TOPDIR)/.config \
                ./files/Makefile \
                $(TMP_DIR)/.targetinfo \
                $(TMP_DIR)/.packageinfo \
                $(PKG_BUILD_DIR)/
+       $(CP) $(PACKAGE_DIR) $(PKG_BUILD_DIR)/packages
        $(CP) $(TOOLCHAIN_DIR)/bin $(PKG_BUILD_DIR)/staging_dir/host/
        $(CP) $(STAGING_DIR_HOST)/bin/* $(PKG_BUILD_DIR)/staging_dir/host/bin/
        $(CP) $(TOPDIR)/target/linux $(PKG_BUILD_DIR)/target/
index 27a6c94f9db24a380d866ba0d1b5f2937295789f..e8bd28f3184f620b7e4495176963b74f293ef6e8 100644 (file)
@@ -79,7 +79,7 @@ info: FORCE
 $(TOPDIR)/tmp/ipkg.conf: FORCE
        @mkdir -p $(TOPDIR)/tmp
        @echo 'dest root /' > $@
-       @echo 'src packages file:$(TOPDIR)/packages' >> $@
+       @echo 'src packages file:$(PACKAGE_DIR)' >> $@
 
 BUILD_PACKAGES:=$(sort $(DEFAULT_PACKAGES) $(PACKAGES) $($(PROFILE)_PACKAGES) kernel)
 ifeq ($(KERNEL),2.4)