mirror of https://github.com/hak5/openwrt-owl.git
parent
a37c85d5fe
commit
726e929a95
|
@ -37,7 +37,6 @@ UCLIBC_TARGET_ARCH:=$(shell echo $(ARCH) | sed -e s'/-.*//' \
|
||||||
|
|
||||||
define Build/Prepare
|
define Build/Prepare
|
||||||
$(call Build/Prepare/Default)
|
$(call Build/Prepare/Default)
|
||||||
$(SED) 's,^CROSS=.*,CROSS=$(TARGET_CROSS),g' $(PKG_BUILD_DIR)/Rules.mak
|
|
||||||
if [ -e config/$(ARCH).$(BOARD) ]; then \
|
if [ -e config/$(ARCH).$(BOARD) ]; then \
|
||||||
$(CP) config/$(ARCH).$(BOARD) $(PKG_BUILD_DIR)/.config; \
|
$(CP) config/$(ARCH).$(BOARD) $(PKG_BUILD_DIR)/.config; \
|
||||||
else \
|
else \
|
||||||
|
@ -73,6 +72,7 @@ define Build/Configure
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
|
$(SED) 's,^CROSS=.*,CROSS=$(TARGET_CROSS),g' $(PKG_BUILD_DIR)/Rules.mak
|
||||||
PATH=$(TARGET_PATH) $(MAKE) -j $(CONFIG_JLEVEL) -C $(PKG_BUILD_DIR) \
|
PATH=$(TARGET_PATH) $(MAKE) -j $(CONFIG_JLEVEL) -C $(PKG_BUILD_DIR) \
|
||||||
PREFIX= \
|
PREFIX= \
|
||||||
DEVEL_PREFIX=/ \
|
DEVEL_PREFIX=/ \
|
||||||
|
|
Loading…
Reference in New Issue