projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86: enable CPU frequency scaling
[oweals/openwrt.git]
/
target
/
sdk
/
Makefile
diff --git
a/target/sdk/Makefile
b/target/sdk/Makefile
index 7f277f9affd8d4f6c55967c7d19219ddfe46ec30..4607535292c89d0f04ba766137abc662f05c4053 100644
(file)
--- a/
target/sdk/Makefile
+++ b/
target/sdk/Makefile
@@
-13,7
+13,7
@@
include $(INCLUDE_DIR)/version.mk
override MAKEFLAGS=
override MAKEFLAGS=
-SDK_NAME:=$(VERSION_DIST
)-SDK
-$(if $(CONFIG_VERSION_FILENAMES),$(VERSION_NUMBER)-)$(BOARD)$(if $(SUBTARGET),-$(SUBTARGET))$(if $(GCCV),_gcc-$(GCCV))$(DIR_SUFFIX).$(HOST_OS)-$(HOST_ARCH)
+SDK_NAME:=$(VERSION_DIST
_SANITIZED)-sdk
-$(if $(CONFIG_VERSION_FILENAMES),$(VERSION_NUMBER)-)$(BOARD)$(if $(SUBTARGET),-$(SUBTARGET))$(if $(GCCV),_gcc-$(GCCV))$(DIR_SUFFIX).$(HOST_OS)-$(HOST_ARCH)
SDK_BUILD_DIR:=$(BUILD_DIR)/$(SDK_NAME)
STAGING_SUBDIR_HOST := staging_dir/host
SDK_BUILD_DIR:=$(BUILD_DIR)/$(SDK_NAME)
STAGING_SUBDIR_HOST := staging_dir/host
@@
-70,6
+70,8
@@
$(BIN_DIR)/$(SDK_NAME).tar.bz2: clean
$(CP) $(INCLUDE_DIR) $(SCRIPT_DIR) $(TOPDIR)/docs $(SDK_BUILD_DIR)/
$(TAR) -cf - -C $(TOPDIR) \
`cd $(TOPDIR); find $(KDIR_BASE) -name \*.ko` \
$(CP) $(INCLUDE_DIR) $(SCRIPT_DIR) $(TOPDIR)/docs $(SDK_BUILD_DIR)/
$(TAR) -cf - -C $(TOPDIR) \
`cd $(TOPDIR); find $(KDIR_BASE) -name \*.ko` \
+ `cd $(TOPDIR); find $(KDIR_BASE)/firmware/ -newer $(KDIR_BASE)/firmware/Makefile \
+ -type f -name '*.bin' -or -name '*.cis' -or -name '*.csp' -or -name '*.dsp' -or -name '*.fw'` \
$(foreach exclude,$(EXCLUDE_DIRS),--exclude="$(exclude)") \
$(SDK_DIRS) $(KERNEL_FILES) | \
$(TAR) -xf - -C $(SDK_BUILD_DIR)
$(foreach exclude,$(EXCLUDE_DIRS),--exclude="$(exclude)") \
$(SDK_DIRS) $(KERNEL_FILES) | \
$(TAR) -xf - -C $(SDK_BUILD_DIR)
@@
-97,7
+99,6
@@
$(BIN_DIR)/$(SDK_NAME).tar.bz2: clean
$(CP) -L \
$(TOPDIR)/LICENSE \
$(TOPDIR)/rules.mk \
$(CP) -L \
$(TOPDIR)/LICENSE \
$(TOPDIR)/rules.mk \
- $(TOPDIR)/.config \
./files/Config.in \
./files/Makefile \
./files/include/prepare.mk \
./files/Config.in \
./files/Makefile \
./files/include/prepare.mk \
@@
-105,6
+106,8
@@
$(BIN_DIR)/$(SDK_NAME).tar.bz2: clean
$(SDK_BUILD_DIR)/
$(CP) \
$(TOPDIR)/package/Makefile \
$(SDK_BUILD_DIR)/
$(CP) \
$(TOPDIR)/package/Makefile \
+ $(TOPDIR)/package/libs/toolchain \
+ $(TOPDIR)/package/kernel/linux \
$(SDK_BUILD_DIR)/package/
-rm -f $(SDK_BUILD_DIR)/feeds.conf.default
$(SDK_BUILD_DIR)/package/
-rm -f $(SDK_BUILD_DIR)/feeds.conf.default