X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/5ae47a7df76437a78e027d4714504fcb260ea579..f0ac938fd3f5b2bf2763e59e53ef17839a1ed161:/openwrt/rules.mk diff --git a/openwrt/rules.mk b/openwrt/rules.mk index ba027d457..b8ed526a0 100644 --- a/openwrt/rules.mk +++ b/openwrt/rules.mk @@ -1,6 +1,6 @@ include $(TOPDIR)/.config MAKE1=make -MAKE=make -j$(BR2_JLEVEL) +MAKEFLAGS=-j$(BR2_JLEVEL) # Strip off the annoying quoting ARCH:=$(strip $(subst ",, $(BR2_ARCH))) @@ -73,6 +73,7 @@ LINUX_VERSION=2.4.29 LINUX_DIR:=$(BUILD_DIR)/linux LINUX_HEADERS_DIR:=$(TOOL_BUILD_DIR)/linux LINUX_KERNEL:=$(BUILD_DIR)/buildroot-kernel +LINUX_IMAGE:=$(BUILD_DIR)/buildroot-kernel-image MODULES_SUBDIR := lib/modules/$(LINUX_VERSION) MODULES_DIR := $(BUILD_DIR)/modules/$(MODULES_SUBDIR) @@ -112,7 +113,7 @@ endif # invoke ipkg with configuration in $(STAGING_DIR)/etc/ipkg.conf -IPKG := IPKG_CONF_DIR=$(STAGING_DIR)/etc $(TARGET_DIR)/bin/ipkg -force-defaults -force-depends +IPKG := IPKG_INSTROOT=$(TARGET_DIR) IPKG_CONF_DIR=$(STAGING_DIR)/etc $(TARGET_DIR)/bin/ipkg -force-defaults -force-depends IPKG_STATE_DIR := $(TARGET_DIR)/usr/lib/ipkg # invoke ipkg-build with some default options